chore: migrate from disallowed registries (#2455)
Signed-off-by: GitHub <noreply@github.com>
This commit is contained in:
Родитель
1a9c936b76
Коммит
ad10662314
|
@ -41,7 +41,7 @@ spec:
|
|||
effect: NoSchedule
|
||||
containers:
|
||||
- name: busybox
|
||||
image: docker.io/busybox:latest
|
||||
image: mcr.microsoft.com/cbl-mariner/busybox:2.0
|
||||
command: ["sleep","3600"]
|
||||
imagePullPolicy: Always
|
||||
volumeMounts:
|
||||
|
|
|
@ -41,7 +41,7 @@ spec:
|
|||
effect: NoSchedule
|
||||
containers:
|
||||
- name: busybox
|
||||
image: docker.io/busybox:latest
|
||||
image: mcr.microsoft.com/cbl-mariner/busybox:2.0
|
||||
command: ["sleep","3600"]
|
||||
imagePullPolicy: Always
|
||||
volumeMounts:
|
||||
|
|
|
@ -59,7 +59,7 @@ spec:
|
|||
mountPath: /etc/cni/net.d
|
||||
containers:
|
||||
- name: pause
|
||||
image: registry.k8s.io/pause:2.0
|
||||
image: mcr.microsoft.com/oss/kubernetes/pause:3.6
|
||||
hostNetwork: true
|
||||
volumes:
|
||||
- name: cni-conflist
|
||||
|
|
|
@ -25,5 +25,5 @@ spec:
|
|||
topologyKey: "kubernetes.io/hostname"
|
||||
containers:
|
||||
- name: anti-affinity
|
||||
image: registry.k8s.io/pause:2.0
|
||||
image: mcr.microsoft.com/oss/kubernetes/pause:3.6
|
||||
hostNetwork: true
|
||||
|
|
|
@ -36,7 +36,7 @@ spec:
|
|||
containerPort: 10091
|
||||
- name: http
|
||||
containerPort: 10092
|
||||
image: azure-npm:v1.4.1
|
||||
image: mcr.microsoft.com/containernetworking/azure-npm:v1.4.1
|
||||
command: ["azure-npm"]
|
||||
args: ["controlplane"]
|
||||
resources:
|
||||
|
|
|
@ -34,7 +34,7 @@ spec:
|
|||
ports:
|
||||
- name: metrics
|
||||
containerPort: 10091
|
||||
image: azure-npm:v1.4.1
|
||||
image: mcr.microsoft.com/containernetworking/azure-npm:v1.4.1
|
||||
command: ["azure-npm"]
|
||||
args: ["daemon"]
|
||||
resources:
|
||||
|
|
|
@ -149,7 +149,7 @@ spec:
|
|||
fieldPath: spec.nodeName
|
||||
- name: NPM_CONFIG
|
||||
value: /etc/azure-npm/azure-npm.json
|
||||
image: azure-npm:v1.4.1
|
||||
image: mcr.microsoft.com/containernetworking/azure-npm:v1.4.1
|
||||
name: azure-npm
|
||||
resources:
|
||||
limits:
|
||||
|
|
|
@ -135,7 +135,7 @@ spec:
|
|||
valueFrom:
|
||||
fieldRef:
|
||||
fieldPath: spec.nodeName
|
||||
image: azure-npm:v1.4.1
|
||||
image: mcr.microsoft.com/containernetworking/azure-npm:v1.4.1
|
||||
name: azure-npm
|
||||
ports:
|
||||
- name: metrics
|
||||
|
|
|
@ -41,7 +41,7 @@ spec:
|
|||
fieldPath: status.podIP
|
||||
- name: HOSTS_TO_RESOLVE
|
||||
value: "2001:4860:4860::8888 www.bing.com"
|
||||
image: "docker.io/bloomberg/goldpinger:v3.7.0"
|
||||
image: "mcr.microsoft.com/aks/e2e/bloomberg-goldpinger:v3.7.0"
|
||||
tolerations:
|
||||
- key: node-role.kubernetes.io/master
|
||||
effect: NoSchedule
|
||||
|
@ -85,4 +85,4 @@ spec:
|
|||
initialDelaySeconds: 5
|
||||
periodSeconds: 5
|
||||
nodeSelector:
|
||||
kubernetes.io/os: linux
|
||||
kubernetes.io/os: linux
|
||||
|
|
|
@ -39,7 +39,7 @@ spec:
|
|||
fieldPath: status.podIP
|
||||
- name: HOSTS_TO_RESOLVE
|
||||
value: "1.1.1.1 8.8.8.8 www.bing.com"
|
||||
image: "docker.io/bloomberg/goldpinger:v3.7.0"
|
||||
image: "mcr.microsoft.com/aks/e2e/bloomberg-goldpinger:v3.7.0"
|
||||
tolerations:
|
||||
- key: node-role.kubernetes.io/master
|
||||
effect: NoSchedule
|
||||
|
@ -83,4 +83,4 @@ spec:
|
|||
initialDelaySeconds: 5
|
||||
periodSeconds: 5
|
||||
nodeSelector:
|
||||
kubernetes.io/os: linux
|
||||
kubernetes.io/os: linux
|
||||
|
|
|
@ -61,7 +61,7 @@ spec:
|
|||
fieldPath: status.podIP
|
||||
- name: HOSTS_TO_RESOLVE
|
||||
value: "2001:4860:4860::8888 www.bing.com"
|
||||
image: "docker.io/bloomberg/goldpinger:v3.7.0"
|
||||
image: "mcr.microsoft.com/aks/e2e/bloomberg-goldpinger:v3.7.0"
|
||||
securityContext:
|
||||
allowPrivilegeEscalation: false
|
||||
readOnlyRootFilesystem: true
|
||||
|
@ -79,4 +79,4 @@ spec:
|
|||
path: /healthz
|
||||
port: 8080
|
||||
initialDelaySeconds: 5
|
||||
periodSeconds: 5
|
||||
periodSeconds: 5
|
||||
|
|
|
@ -59,7 +59,7 @@ spec:
|
|||
fieldPath: status.podIP
|
||||
# - name: HOSTS_TO_RESOLVE
|
||||
# value: "1.1.1.1 8.8.8.8 www.bing.com"
|
||||
image: "docker.io/bloomberg/goldpinger:v3.7.0"
|
||||
image: "mcr.microsoft.com/aks/e2e/bloomberg-goldpinger:v3.7.0"
|
||||
securityContext:
|
||||
allowPrivilegeEscalation: false
|
||||
readOnlyRootFilesystem: true
|
||||
|
@ -77,4 +77,4 @@ spec:
|
|||
path: /healthz
|
||||
port: 8080
|
||||
initialDelaySeconds: 5
|
||||
periodSeconds: 5
|
||||
periodSeconds: 5
|
||||
|
|
|
@ -57,7 +57,7 @@ spec:
|
|||
fieldPath: status.podIP
|
||||
- name: HOSTS_TO_RESOLVE
|
||||
value: "1.1.1.1 8.8.8.8 www.bing.com"
|
||||
image: "docker.io/bloomberg/goldpinger:v3.7.0"
|
||||
image: "mcr.microsoft.com/aks/e2e/bloomberg-goldpinger:v3.7.0"
|
||||
securityContext:
|
||||
allowPrivilegeEscalation: false
|
||||
readOnlyRootFilesystem: true
|
||||
|
|
|
@ -16,7 +16,7 @@ spec:
|
|||
spec:
|
||||
initContainers:
|
||||
- name: init-inotify-limit
|
||||
image: busybox:1.32
|
||||
image: mcr.microsoft.com/cbl-mariner/busybox:2.0
|
||||
command: ['sysctl', '-w', 'fs.inotify.max_user_instances=1000']
|
||||
securityContext:
|
||||
privileged: true
|
||||
|
|
Загрузка…
Ссылка в новой задаче