mirror of https://github.com/easzlab/kubeasz.git
修改部分镜像拉取策略
parent
07ce9c6422
commit
465b79ca50
|
@ -64,7 +64,8 @@ spec:
|
|||
serviceAccountName: traefik-ingress-controller
|
||||
terminationGracePeriodSeconds: 60
|
||||
containers:
|
||||
- image: traefik
|
||||
- image: traefik:v1.6
|
||||
imagePullPolicy: IfNotPresent
|
||||
name: traefik-ingress-lb
|
||||
args:
|
||||
- --web
|
||||
|
|
|
@ -27,7 +27,7 @@ spec:
|
|||
- name: metrics-server
|
||||
#image: gcr.io/google_containers/metrics-server-amd64:v0.2.1
|
||||
image: mirrorgooglecontainers/metrics-server-amd64:v0.2.1
|
||||
imagePullPolicy: Always
|
||||
imagePullPolicy: IfNotPresent
|
||||
command:
|
||||
- /metrics-server
|
||||
- --source=kubernetes.summary_api:''
|
||||
|
|
|
@ -60,6 +60,7 @@ spec:
|
|||
- name: nfs-client-provisioner
|
||||
#image: quay.io/external_storage/nfs-client-provisioner:latest
|
||||
image: jmgao1983/nfs-client-provisioner:latest
|
||||
imagePullPolicy: IfNotPresent
|
||||
volumeMounts:
|
||||
- name: nfs-client-root
|
||||
mountPath: /persistentvolumes
|
||||
|
|
|
@ -6,6 +6,7 @@ spec:
|
|||
containers:
|
||||
- name: test-pod
|
||||
image: busybox
|
||||
imagePullPolicy: IfNotPresent
|
||||
command:
|
||||
- "/bin/sh"
|
||||
args:
|
||||
|
|
|
@ -19,6 +19,7 @@ spec:
|
|||
containers:
|
||||
- name: test
|
||||
image: busybox
|
||||
imagePullPolicy: IfNotPresent
|
||||
command:
|
||||
- "/bin/sh"
|
||||
args:
|
||||
|
|
|
@ -9,3 +9,7 @@ FIREWALL_ENABLE: "true"
|
|||
# service-proxy 支持开关
|
||||
# 在/etc/ansible/hosts文件的变量'SERVICE_PROXY'定义
|
||||
|
||||
# kube-router 镜像版本
|
||||
IMAGE: "cloudnativelabs/kube-router"
|
||||
PullPolicy: "IfNotPresent"
|
||||
|
||||
|
|
|
@ -58,8 +58,8 @@ spec:
|
|||
serviceAccountName: kube-router
|
||||
containers:
|
||||
- name: kube-router
|
||||
image: cloudnativelabs/kube-router
|
||||
imagePullPolicy: Always
|
||||
image: {{ IMAGE }}
|
||||
imagePullPolicy: {{ PullPolicy }}
|
||||
args:
|
||||
- "--run-router=true"
|
||||
- "--run-firewall={{ FIREWALL_ENABLE }}"
|
||||
|
@ -94,7 +94,7 @@ spec:
|
|||
initContainers:
|
||||
- name: install-cni
|
||||
image: busybox
|
||||
imagePullPolicy: Always
|
||||
imagePullPolicy: {{ PullPolicy }}
|
||||
command:
|
||||
- /bin/sh
|
||||
- -c
|
||||
|
|
|
@ -39,8 +39,8 @@ spec:
|
|||
serviceAccountName: kube-router
|
||||
containers:
|
||||
- name: kube-router
|
||||
image: cloudnativelabs/kube-router
|
||||
imagePullPolicy: Always
|
||||
image: {{ IMAGE }}
|
||||
imagePullPolicy: {{ PullPolicy }}
|
||||
args:
|
||||
- "--run-router=true"
|
||||
- "--run-firewall={{ FIREWALL_ENABLE }}"
|
||||
|
@ -71,7 +71,7 @@ spec:
|
|||
initContainers:
|
||||
- name: install-cni
|
||||
image: busybox
|
||||
imagePullPolicy: Always
|
||||
imagePullPolicy: {{ PullPolicy }}
|
||||
command:
|
||||
- /bin/sh
|
||||
- -c
|
||||
|
|
Loading…
Reference in New Issue