Last active
March 10, 2021 01:40
-
-
Save anfernee/625a749dcb9544b9cbb55416194e0e21 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
CILIUM_OPTS=--kvstore consul --kvstore-opt consul.address=127.0.0.1:8500 | |
CILIUM_OPERATOR_OPTS=--kvstore consul --kvstore-opt consul.address=127.0.0.1:8500 --k8s-kubeconfig-path=/home/vagrant/.kube/config | |
HOME=/home/vagrant | |
## Path: System/Management | |
## Description: init system cilium is running on | |
## Type: string | |
## Default: "" | |
## ServiceRestart: cilium | |
INITSYSTEM=SYSTEMD | |
K8S_NODE_NAME=k8s1 | |
GODEBUG="madvdontneed=1" | |
CILIUM_OPTS=" --debug --pprof --enable-hubble --hubble-listen-address :4244 --enable-k8s-event-handover --k8s-require-ipv4-pod-cidr --auto-direct-node-routes --enable-ipv6-ndp --ipv6-mcast-device enp0s8 --disable-network-policy-crd=true --k8s-kubeconfig-path /var/lib/cilium/cilium.kubeconfig --kvstore etcd --kvstore-opt etcd.config=/var/lib/cilium/etcd-config.yml -t vxlan" | |
CILIUM_OPERATOR_OPTS=" --debug --disable-network-policy-crd=true --k8s-kubeconfig-path /var/lib/cilium/cilium.kubeconfig --kvstore etcd --kvstore-opt etcd.config=/var/lib/cilium/etcd-config.yml --cluster-pool-ipv4-cidr=10.11.0.0/16 --cluster-pool-ipv6-cidr=fd00::/104" | |
PATH=/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/sbin:/sbin:/bin |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
These work: | |
``` | |
CILIUM_OPTS=" --debug --pprof --enable-hubble --hubble-listen-address :4244 --enable-k8s-event-handover --k8s-require-ipv4-pod-cidr --auto-direct-node-routes --enable-ipv6-ndp --ipv6-mcast-device enp0s8 --disable-envoy-version-check --k8s-kubeconfig-path /var/lib/cilium/cilium.kubeconfig --kvstore etcd --kvstore-opt etcd.config=/var/lib/cilium/etcd-config.yml -t vxlan --kube-proxy-replacement=strict --auto-direct-node-routes=false --enable-egress-gateway --enable-bpf-masquerade" | |
``` | |
``` | |
# Not working because external interface doesn't have ebpf prog (--kube-proxy-replacement=disabled) | |
CILIUM_OPTS=" --debug --pprof --enable-hubble --hubble-listen-address :4244 --enable-k8s-event-handover --k8s-require-ipv4-pod-cidr --auto-direct-node-routes --enable-ipv6-ndp --ipv6-mcast-device enp0s8 --disable-envoy-version-check --k8s-kubeconfig-path /var/lib/cilium/cilium.kubeconfig --kvstore etcd --kvstore-opt etcd.config=/var/lib/cilium/etcd-config.yml -t vxlan --kube-proxy-replacement=disabled --auto-direct-node-routes=false --enable-egress-gateway --enable-bpf-masquerade" | |
``` |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment