updated cns version and created cni installer for swift (#794)
no change in code,..so skipping build and test
This commit is contained in:
Родитель
073ec24fca
Коммит
658684092b
|
@ -93,7 +93,7 @@ spec:
|
|||
effect: NoSchedule
|
||||
containers:
|
||||
- name: cns-container
|
||||
image: mcr.microsoft.com/containernetworking/azure-cns:v1.2.3
|
||||
image: mcr.microsoft.com/containernetworking/azure-cns:v1.2.4
|
||||
imagePullPolicy: IfNotPresent
|
||||
args: [ "-c", "tcp://$(CNSIpAddress):$(CNSPort)", "-t", "$(CNSLogTarget)"]
|
||||
volumeMounts:
|
||||
|
|
|
@ -0,0 +1,55 @@
|
|||
apiVersion: apps/v1
|
||||
kind: DaemonSet
|
||||
metadata:
|
||||
name: azure-cni-manager
|
||||
namespace: kube-system
|
||||
spec:
|
||||
selector:
|
||||
matchLabels:
|
||||
acn: azure-cni-manager
|
||||
template:
|
||||
metadata:
|
||||
labels:
|
||||
acn: azure-cni-manager
|
||||
spec:
|
||||
tolerations:
|
||||
- effect: NoSchedule
|
||||
key: node-role.kubernetes.io/master
|
||||
operator: Exists
|
||||
hostNetwork: true
|
||||
containers:
|
||||
- name: azure-cni-installer
|
||||
image: mcr.microsoft.com/containernetworking/azure-cni-manager:v1.2.3
|
||||
imagePullPolicy: Always
|
||||
env:
|
||||
- name: AZURE_CNI_OS
|
||||
value: linux
|
||||
- name: AZURE_CNI_TENANCY
|
||||
value: singletenancy
|
||||
- name: AZURE_CNI_MODE
|
||||
value: transparent
|
||||
- name: AZURE_CNI_IPAM
|
||||
value: azure-cns
|
||||
- name: AZURE_CNI_EXEMPT
|
||||
value: azure-vnet-telemetry,azure-vnet-telemetry.config
|
||||
volumeMounts:
|
||||
- name: cni-bin
|
||||
mountPath: /opt/cni/bin
|
||||
- name: cni-conflist
|
||||
mountPath: /etc/cni/net.d
|
||||
- name: cni-datapath-log
|
||||
mountPath: /var/log/azure-vnet.log
|
||||
restartPolicy: Always
|
||||
volumes:
|
||||
- name: cni-bin
|
||||
hostPath:
|
||||
path: /opt/cni/bin
|
||||
type: Directory
|
||||
- name: cni-datapath-log
|
||||
hostPath:
|
||||
path: /var/log/azure-vnet.log
|
||||
type: File
|
||||
- name: cni-conflist
|
||||
hostPath:
|
||||
path: /etc/cni/net.d
|
||||
type: Directory
|
Загрузка…
Ссылка в новой задаче