Skip to content

Instantly share code, notes, and snippets.

@yankcrime
Last active March 1, 2021 10:31
Show Gist options
  • Save yankcrime/9c04da6520abfdff99cd5ca7ac977e18 to your computer and use it in GitHub Desktop.
Save yankcrime/9c04da6520abfdff99cd5ca7ac977e18 to your computer and use it in GitHub Desktop.
Three-node RKE cluster with Cilium 1.9

Tested with openSUSE Leap 15.2 and Docker CE 19.03.

Example RKE cluster.yml:

cluster_name: cilium
ssh_agent_auth: true
ignore_docker_version: true

kubernetes_version: "v1.19.7-rancher1-1"

nodes:
    - address: 192.168.1.9
      user: nick
      role:
        - controlplane
        - etcd
        - worker
    - address: 192.168.1.26
      user: nick
      role:
        - controlplane
        - etcd
        - worker
    - address: 192.168.1.54
      user: nick
      role:
        - controlplane
        - etcd
        - worker

network:
    plugin: none

addons_include:
  - https://raw.githubusercontent.com/cilium/cilium/v1.9/install/kubernetes/quick-install.yaml
  - https://raw.githubusercontent.com/cilium/cilium/v1.9/install/kubernetes/quick-hubble-install.yaml

Generate connectivity tests and observe traffic:

kubectl create ns cilium-test
kubectl apply -n cilium-test -f https://raw.githubusercontent.com/cilium/cilium/v1.9/examples/kubernetes/connectivity-check/connectivity-check.yaml

Connect to Hubble UI via http://localhost:12000:

kubectl port-forward -n kube-system svc/hubble-ui --address 0.0.0.0 --address :: 12000:80

References: https://docs.cilium.io/en/v1.9/gettingstarted/k8s-install-default/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment