You can do this with MiniKube for development and testing, or Google Cloud's GKE for the real thing.
# Make sure you have MiniKube installed and it's the latest
version: 2 | |
jobs: | |
build: | |
machine: true | |
steps: | |
- checkout | |
- run: | |
name: Install KinD | |
command: | | |
curl -Lo kind https://github.com/kubernetes-sigs/kind/releases/download/0.0.1/kind-linux-amd64 |
We 1. tell Cilium not to drop it's own config via the CILIUM_CNI_CONF
env, and 2. Update the postStart
lifecycle hook where Cilium does a /cni-install.sh
already, to include the writing of a CNI config enabling portmap.
kubectl edit ds cilium -n kube-system
Add this under the container env
# We drop our own CNI config with portmap enabled, so this tells
# Cilium not to write one.
Based on this blogpost.
To sign Git commits, you need a gpg key. GPG stands for GNU Privacy Guard and is the de facto implementation of the OpenPGP message format. PGP stands for ‘Pretty Good Privacy’ and is a standard to sign and encrypt messages.
Install with Homebrew:
$ brew install gpg