From 784fecfa022ea5aebb471d603f97a8e7b53bd0bb Mon Sep 17 00:00:00 2001 From: Tomofumi Hayashi Date: Sat, 13 Mar 2021 05:05:17 +0900 Subject: [PATCH] Change image url to ghcr.io --- images/multus-daemonset-crio.yml | 216 +-------------------------- images/multus-daemonset-gke-1.16.yml | 74 +-------- images/multus-daemonset.yml | 208 +------------------------- 3 files changed, 6 insertions(+), 492 deletions(-) diff --git a/images/multus-daemonset-crio.yml b/images/multus-daemonset-crio.yml index 2adeda76b..b7d3c7086 100644 --- a/images/multus-daemonset-crio.yml +++ b/images/multus-daemonset-crio.yml @@ -143,7 +143,7 @@ data: apiVersion: apps/v1 kind: DaemonSet metadata: - name: kube-multus-ds-amd64 + name: kube-multus-ds namespace: kube-system labels: tier: node @@ -163,8 +163,6 @@ spec: name: multus spec: hostNetwork: true - nodeSelector: - kubernetes.io/arch: amd64 tolerations: - operator: Exists effect: NoSchedule @@ -172,7 +170,7 @@ spec: containers: - name: kube-multus # crio support requires multus:latest for now. support 3.3 or later. - image: docker.io/nfvpe/multus:stable + image: ghcr.io/k8snetworkplumbingwg/multus-cni:stable command: ["/entrypoint.sh"] args: - "--cni-version=0.3.1" @@ -216,213 +214,3 @@ spec: items: - key: cni-conf.json path: 70-multus.conf ---- -apiVersion: apps/v1 -kind: DaemonSet -metadata: - name: kube-multus-ds-ppc64le - namespace: kube-system - labels: - tier: node - app: multus - name: multus -spec: - selector: - matchLabels: - name: multus - updateStrategy: - type: RollingUpdate - template: - metadata: - labels: - tier: node - app: multus - name: multus - spec: - hostNetwork: true - nodeSelector: - kubernetes.io/arch: ppc64le - tolerations: - - operator: Exists - effect: NoSchedule - serviceAccountName: multus - containers: - - name: kube-multus - # crio support requires multus:latest for now. support 3.3 or later. - image: docker.io/nfvpe/multus:stable-ppc64le - command: ["/entrypoint.sh"] - args: - - "--cni-version=0.3.1" - - "--cni-bin-dir=/host/usr/libexec/cni" - - "--multus-conf-file=auto" - - "--restart-crio=true" - resources: - requests: - cpu: "100m" - memory: "90Mi" - limits: - cpu: "100m" - memory: "90Mi" - securityContext: - privileged: true - volumeMounts: - - name: cni - mountPath: /host/etc/cni/net.d - - name: cnibin - mountPath: /host/usr/libexec/cni - - name: multus-cfg - mountPath: /tmp/multus-conf - terminationGracePeriodSeconds: 10 - volumes: - - name: cni - hostPath: - path: /etc/cni/net.d - - name: cnibin - hostPath: - path: /usr/libexec/cni - - name: multus-cfg - configMap: - name: multus-cni-config - items: - - key: cni-conf.json - path: 70-multus.conf ---- -apiVersion: apps/v1 -kind: DaemonSet -metadata: - name: kube-multus-ds-arm64v8 - namespace: kube-system - labels: - tier: node - app: multus - name: multus -spec: - selector: - matchLabels: - name: multus - updateStrategy: - type: RollingUpdate - template: - metadata: - labels: - tier: node - app: multus - name: multus - spec: - hostNetwork: true - nodeSelector: - kubernetes.io/arch: arm64 - tolerations: - - operator: Exists - effect: NoSchedule - serviceAccountName: multus - containers: - - name: kube-multus - # crio support requires multus:latest for now. support 3.3 or later. - image: docker.io/nfvpe/multus:stable-arm64v8 - command: ["/entrypoint.sh"] - args: - - "--cni-version=0.3.1" - - "--cni-bin-dir=/host/usr/libexec/cni" - - "--multus-conf-file=auto" - - "--restart-crio=true" - resources: - requests: - cpu: "100m" - memory: "90Mi" - limits: - cpu: "100m" - memory: "90Mi" - securityContext: - privileged: true - volumeMounts: - - name: cni - mountPath: /host/etc/cni/net.d - - name: cnibin - mountPath: /host/usr/libexec/cni - - name: multus-cfg - mountPath: /tmp/multus-conf - terminationGracePeriodSeconds: 10 - volumes: - - name: cni - hostPath: - path: /etc/cni/net.d - - name: cnibin - hostPath: - path: /usr/libexec/cni - - name: multus-cfg - configMap: - name: multus-cni-config - items: - - key: cni-conf.json - path: 70-multus.conf ---- -apiVersion: apps/v1 -kind: DaemonSet -metadata: - name: kube-multus-ds-s390x - namespace: kube-system - labels: - tier: node - app: multus - name: multus -spec: - selector: - matchLabels: - name: multus - updateStrategy: - type: RollingUpdate - template: - metadata: - labels: - tier: node - app: multus - name: multus - spec: - hostNetwork: true - nodeSelector: - kubernetes.io/arch: s390x - tolerations: - - operator: Exists - effect: NoSchedule - serviceAccountName: multus - containers: - - name: kube-multus - # crio support requires multus:latest for now. support 3.3 or later. - image: docker.io/nfvpe/multus:stable-s390x - command: ["/entrypoint.sh"] - args: - - "--cni-version=0.3.1" - - "--cni-bin-dir=/host/usr/libexec/cni" - - "--multus-conf-file=auto" - - "--restart-crio=true" - resources: - requests: - cpu: "100m" - memory: "90Mi" - limits: - cpu: "100m" - memory: "90Mi" - securityContext: - privileged: true - volumeMounts: - - name: cni - mountPath: /host/etc/cni/net.d - - name: cnibin - mountPath: /host/usr/libexec/cni - - name: multus-cfg - mountPath: /tmp/multus-conf - terminationGracePeriodSeconds: 10 - volumes: - - name: cni - hostPath: - path: /etc/cni/net.d - - name: cnibin - hostPath: - path: /usr/libexec/cni - - name: multus-cfg - configMap: - name: multus-cni-config - items: - - key: cni-conf.json - path: 70-multus.conf diff --git a/images/multus-daemonset-gke-1.16.yml b/images/multus-daemonset-gke-1.16.yml index e7a31359e..a66933cf4 100644 --- a/images/multus-daemonset-gke-1.16.yml +++ b/images/multus-daemonset-gke-1.16.yml @@ -116,7 +116,7 @@ data: apiVersion: apps/v1 kind: DaemonSet metadata: - name: kube-multus-ds-amd64 + name: kube-multus-ds namespace: kube-system labels: tier: node @@ -136,15 +136,13 @@ spec: name: multus spec: hostNetwork: true - nodeSelector: - kubernetes.io/arch: amd64 tolerations: - operator: Exists effect: NoSchedule serviceAccountName: multus containers: - name: kube-multus - image: docker.io/nfvpe/multus:stable + image: ghcr.io/k8snetworkplumbingwg/multus-cni:stable command: ["/entrypoint.sh"] args: - "--multus-conf-file=auto" @@ -179,71 +177,3 @@ spec: items: - key: cni-conf.json path: 70-multus.conf ---- -apiVersion: apps/v1 -kind: DaemonSet -metadata: - name: kube-multus-ds-ppc64le - namespace: kube-system - labels: - tier: node - app: multus - name: multus -spec: - selector: - matchLabels: - name: multus - updateStrategy: - type: RollingUpdate - template: - metadata: - labels: - tier: node - app: multus - name: multus - spec: - hostNetwork: true - nodeSelector: - kubernetes.io/arch: ppc64le - tolerations: - - operator: Exists - effect: NoSchedule - serviceAccountName: multus - containers: - - name: kube-multus - # ppc64le support requires multus:latest for now. support 3.3 or later. - image: docker.io/nfvpe/multus:stable-ppc64le - command: ["/entrypoint.sh"] - args: - - "--multus-conf-file=auto" - - "--cni-version=0.3.1" - - "--cni-bin-dir=/host/home/kubernetes/bin" - resources: - requests: - cpu: "100m" - memory: "90Mi" - limits: - cpu: "100m" - memory: "90Mi" - securityContext: - privileged: true - volumeMounts: - - name: cni - mountPath: /host/etc/cni/net.d - - name: cnibin - mountPath: /host/home/kubernetes/bin - - name: multus-cfg - mountPath: /tmp/multus-conf - volumes: - - name: cni - hostPath: - path: /etc/cni/net.d - - name: cnibin - hostPath: - path: /home/kubernetes/bin - - name: multus-cfg - configMap: - name: multus-cni-config - items: - - key: cni-conf.json - path: 70-multus.conf diff --git a/images/multus-daemonset.yml b/images/multus-daemonset.yml index ce470952a..4b6b950d8 100644 --- a/images/multus-daemonset.yml +++ b/images/multus-daemonset.yml @@ -143,7 +143,7 @@ data: apiVersion: apps/v1 kind: DaemonSet metadata: - name: kube-multus-ds-amd64 + name: kube-multus-ds namespace: kube-system labels: tier: node @@ -163,15 +163,13 @@ spec: name: multus spec: hostNetwork: true - nodeSelector: - kubernetes.io/arch: amd64 tolerations: - operator: Exists effect: NoSchedule serviceAccountName: multus containers: - name: kube-multus - image: docker.io/nfvpe/multus:stable + image: ghcr.io/k8snetworkplumbingwg/multus-cni:stable command: ["/entrypoint.sh"] args: - "--multus-conf-file=auto" @@ -206,205 +204,3 @@ spec: items: - key: cni-conf.json path: 70-multus.conf ---- -apiVersion: apps/v1 -kind: DaemonSet -metadata: - name: kube-multus-ds-ppc64le - namespace: kube-system - labels: - tier: node - app: multus - name: multus -spec: - selector: - matchLabels: - name: multus - updateStrategy: - type: RollingUpdate - template: - metadata: - labels: - tier: node - app: multus - name: multus - spec: - hostNetwork: true - nodeSelector: - kubernetes.io/arch: ppc64le - tolerations: - - operator: Exists - effect: NoSchedule - serviceAccountName: multus - containers: - - name: kube-multus - # ppc64le support requires multus:latest for now. support 3.3 or later. - image: docker.io/nfvpe/multus:stable-ppc64le - command: ["/entrypoint.sh"] - args: - - "--multus-conf-file=auto" - - "--cni-version=0.3.1" - resources: - requests: - cpu: "100m" - memory: "90Mi" - limits: - cpu: "100m" - memory: "90Mi" - securityContext: - privileged: true - volumeMounts: - - name: cni - mountPath: /host/etc/cni/net.d - - name: cnibin - mountPath: /host/opt/cni/bin - - name: multus-cfg - mountPath: /tmp/multus-conf - terminationGracePeriodSeconds: 10 - volumes: - - name: cni - hostPath: - path: /etc/cni/net.d - - name: cnibin - hostPath: - path: /opt/cni/bin - - name: multus-cfg - configMap: - name: multus-cni-config - items: - - key: cni-conf.json - path: 70-multus.conf ---- -apiVersion: apps/v1 -kind: DaemonSet -metadata: - name: kube-multus-ds-arm64v8 - namespace: kube-system - labels: - tier: node - app: multus - name: multus -spec: - selector: - matchLabels: - name: multus - updateStrategy: - type: RollingUpdate - template: - metadata: - labels: - tier: node - app: multus - name: multus - spec: - hostNetwork: true - nodeSelector: - kubernetes.io/arch: arm64 - tolerations: - - operator: Exists - effect: NoSchedule - serviceAccountName: multus - containers: - - name: kube-multus - image: docker.io/nfvpe/multus:stable-arm64v8 - command: ["/entrypoint.sh"] - args: - - "--multus-conf-file=auto" - - "--cni-version=0.3.1" - resources: - requests: - cpu: "100m" - memory: "90Mi" - limits: - cpu: "100m" - memory: "90Mi" - securityContext: - privileged: true - volumeMounts: - - name: cni - mountPath: /host/etc/cni/net.d - - name: cnibin - mountPath: /host/opt/cni/bin - - name: multus-cfg - mountPath: /tmp/multus-conf - terminationGracePeriodSeconds: 10 - volumes: - - name: cni - hostPath: - path: /etc/cni/net.d - - name: cnibin - hostPath: - path: /opt/cni/bin - - name: multus-cfg - configMap: - name: multus-cni-config - items: - - key: cni-conf.json - path: 70-multus.conf ---- -apiVersion: apps/v1 -kind: DaemonSet -metadata: - name: kube-multus-ds-s390x - namespace: kube-system - labels: - tier: node - app: multus - name: multus -spec: - selector: - matchLabels: - name: multus - updateStrategy: - type: RollingUpdate - template: - metadata: - labels: - tier: node - app: multus - name: multus - spec: - hostNetwork: true - nodeSelector: - kubernetes.io/arch: s390x - tolerations: - - operator: Exists - effect: NoSchedule - serviceAccountName: multus - containers: - - name: kube-multus - image: docker.io/nfvpe/multus:stable-s390x - command: ["/entrypoint.sh"] - args: - - "--multus-conf-file=auto" - - "--cni-version=0.3.1" - resources: - requests: - cpu: "100m" - memory: "90Mi" - limits: - cpu: "100m" - memory: "90Mi" - securityContext: - privileged: true - volumeMounts: - - name: cni - mountPath: /host/etc/cni/net.d - - name: cnibin - mountPath: /host/opt/cni/bin - - name: multus-cfg - mountPath: /tmp/multus-conf - terminationGracePeriodSeconds: 10 - volumes: - - name: cni - hostPath: - path: /etc/cni/net.d - - name: cnibin - hostPath: - path: /opt/cni/bin - - name: multus-cfg - configMap: - name: multus-cni-config - items: - - key: cni-conf.json - path: 70-multus.conf