updated cns version and created cni installer for swift (#794)

no change in code,..so skipping build and test
This commit is contained in:
tamilmani1989 2021-02-19 18:13:40 -08:00 коммит произвёл GitHub
Родитель 073ec24fca
Коммит 658684092b
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
2 изменённых файлов: 56 добавлений и 1 удалений

Просмотреть файл

@ -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