modified: services/cilium/deploy/README.md
modified: services/cilium/deploy/policies/traefik-l2.yaml
This commit is contained in:
@@ -8,13 +8,6 @@
|
|||||||
|
|
||||||
Using flux for reconciliation.
|
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
|
``` bash
|
||||||
POD_NAME=$(kubectl get pod -l 'app.kubernetes.io/name'=cilium-agent -n cilium -o jsonpath='{.items[0].metadata.name}')
|
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
|
kubectl exec -n cilium ${POD_NAME} -c cilium-agent -- cilium-dbg status
|
||||||
@@ -26,13 +19,3 @@ kubectl exec -n cilium ${POD_NAME} -c cilium-agent -- cilium-dbg status
|
|||||||
```bash
|
```bash
|
||||||
kubectl get CiliumLoadBalancerIPPool -A
|
kubectl get CiliumLoadBalancerIPPool -A
|
||||||
```
|
```
|
||||||
|
|
||||||
**Force helm:**
|
|
||||||
|
|
||||||
```bash
|
|
||||||
helm repo add cilium https://helm.cilium.io/
|
|
||||||
helm upgrade cilium cilium/cilium \
|
|
||||||
--version 1.19.5 \
|
|
||||||
-f ./deploy/app/helm-values.yaml \
|
|
||||||
--namespace cilium
|
|
||||||
```
|
|
||||||
|
|||||||
@@ -3,9 +3,6 @@ kind: CiliumL2AnnouncementPolicy
|
|||||||
metadata:
|
metadata:
|
||||||
name: casa-l2
|
name: casa-l2
|
||||||
spec:
|
spec:
|
||||||
# nodeSelector:
|
|
||||||
# matchLabels:
|
|
||||||
# casa-lan: "true"
|
|
||||||
serviceSelector:
|
serviceSelector:
|
||||||
matchLabels:
|
matchLabels:
|
||||||
casa-lan-l2-expose: "true"
|
casa-lan-l2-expose: "true"
|
||||||
|
|||||||
Reference in New Issue
Block a user