38 lines
948 B
Markdown
38 lines
948 B
Markdown
# Cilium
|
|
|
|
<oci://quay.io/cilium/charts/cilium>
|
|
<https://docs.cilium.io/en/stable/helm-reference/#helm-reference>
|
|
<https://docs.cilium.io/en/stable/installation/k8s-install-helm/>
|
|
|
|
## setup and deploy
|
|
|
|
Using flux for reconciliation.
|
|
|
|
**Restart:**
|
|
|
|
Occasionally, Cilium's eBPF maps for L2 announcements can get "stale" after a configuration change (like switching from Local to Cluster). Perform a rolling restart of the Cilium pods to clear the state:
|
|
|
|
```bash
|
|
```
|
|
|
|
``` bash
|
|
POD_NAME=$(kubectl get pod -l 'app.kubernetes.io/name'=cilium-agent -n cilium -o jsonpath='{.items[0].metadata.name}')
|
|
kubectl exec -n cilium ${POD_NAME} -c cilium-agent -- cilium-dbg status
|
|
```
|
|
|
|
**list load balancers ip pools:**
|
|
*Required after changes*
|
|
|
|
```bash
|
|
kubectl get CiliumLoadBalancerIPPool -A
|
|
```
|
|
|
|
**Force helm:**
|
|
|
|
```bash
|
|
helm upgrade --install cilium oci://quay.io/cilium/cilium \
|
|
--version 1.19.5 \
|
|
-f ./deploy/app/helm-values.yaml \
|
|
--namespace cilium
|
|
```
|