Update Cilium to 1.8.3 (#6629)

This commit is contained in:
Florian Ruynat 2020-09-07 11:11:49 +02:00 committed by GitHub
parent 5a437add01
commit 050578da94
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 35 additions and 2 deletions

View file

@ -125,7 +125,7 @@ Note: Upstart/SysV init based OS types are not supported.
- [cni-plugins](https://github.com/containernetworking/plugins) v0.8.6 - [cni-plugins](https://github.com/containernetworking/plugins) v0.8.6
- [calico](https://github.com/projectcalico/calico) v3.15.2 - [calico](https://github.com/projectcalico/calico) v3.15.2
- [canal](https://github.com/projectcalico/canal) (given calico/flannel versions) - [canal](https://github.com/projectcalico/canal) (given calico/flannel versions)
- [cilium](https://github.com/cilium/cilium) v1.8.2 - [cilium](https://github.com/cilium/cilium) v1.8.3
- [contiv](https://github.com/contiv/install) v1.2.1 - [contiv](https://github.com/contiv/install) v1.2.1
- [flanneld](https://github.com/coreos/flannel) v0.12.0 - [flanneld](https://github.com/coreos/flannel) v0.12.0
- [kube-ovn](https://github.com/alauda/kube-ovn) v1.3.0 - [kube-ovn](https://github.com/alauda/kube-ovn) v1.3.0

View file

@ -79,7 +79,7 @@ cni_version: "v0.8.7"
weave_version: 2.7.0 weave_version: 2.7.0
pod_infra_version: "3.2" pod_infra_version: "3.2"
contiv_version: 1.2.1 contiv_version: 1.2.1
cilium_version: "v1.8.2" cilium_version: "v1.8.3"
kube_ovn_version: "v1.3.0" kube_ovn_version: "v1.3.0"
kube_router_version: "v1.0.1" kube_router_version: "v1.0.1"
multus_version: "v3.6" multus_version: "v3.6"

View file

@ -29,6 +29,18 @@ spec:
io.cilium/app: operator io.cilium/app: operator
name: cilium-operator name: cilium-operator
spec: spec:
# In HA mode, cilium-operator pods must not be scheduled on the same
# node as they will clash with each other.
affinity:
podAntiAffinity:
requiredDuringSchedulingIgnoredDuringExecution:
- labelSelector:
matchExpressions:
- key: io.cilium/app
operator: In
values:
- operator
topologyKey: "kubernetes.io/hostname"
containers: containers:
- args: - args:
- --debug=$(CILIUM_DEBUG) - --debug=$(CILIUM_DEBUG)
@ -47,6 +59,11 @@ spec:
fieldRef: fieldRef:
apiVersion: v1 apiVersion: v1
fieldPath: spec.nodeName fieldPath: spec.nodeName
- name: CILIUM_K8S_NAMESPACE
valueFrom:
fieldRef:
apiVersion: v1
fieldPath: metadata.namespace
- name: CILIUM_DEBUG - name: CILIUM_DEBUG
valueFrom: valueFrom:
configMapKeyRef: configMapKeyRef:
@ -131,6 +148,8 @@ spec:
serviceAccount: cilium-operator serviceAccount: cilium-operator
serviceAccountName: cilium-operator serviceAccountName: cilium-operator
hostNetwork: true hostNetwork: true
tolerations:
- operator: Exists
volumes: volumes:
# To read the etcd config stored in config maps # To read the etcd config stored in config maps
- configMap: - configMap:

View file

@ -20,6 +20,16 @@ spec:
labels: labels:
k8s-app: cilium k8s-app: cilium
spec: spec:
affinity:
podAntiAffinity:
requiredDuringSchedulingIgnoredDuringExecution:
- labelSelector:
matchExpressions:
- key: k8s-app
operator: In
values:
- cilium
topologyKey: kubernetes.io/hostname
containers: containers:
- args: - args:
- --kvstore=etcd - --kvstore=etcd
@ -194,6 +204,10 @@ spec:
name: bpf-maps name: bpf-maps
- mountPath: /var/run/cilium - mountPath: /var/run/cilium
name: cilium-run name: cilium-run
resources:
requests:
cpu: 100m
memory: 100Mi
priorityClassName: system-node-critical priorityClassName: system-node-critical
restartPolicy: Always restartPolicy: Always
serviceAccount: cilium serviceAccount: cilium