mirror of
https://github.com/kubesphere/kubekey.git
synced 2025-12-26 01:22:51 +00:00
Merge pull request #1896 from littleBlackHouse/default-ipp
fix: Modify the imagePullPolicy to make it more practical for offline…
This commit is contained in:
commit
d5d2b81d0b
|
|
@ -42,7 +42,7 @@ spec:
|
|||
containers:
|
||||
- name: haproxy
|
||||
image: {{ .HaproxyImage }}
|
||||
imagePullPolicy: Always
|
||||
imagePullPolicy: IfNotPresent
|
||||
resources:
|
||||
requests:
|
||||
cpu: 25m
|
||||
|
|
|
|||
|
|
@ -130,7 +130,7 @@ spec:
|
|||
- name: prometheus_server
|
||||
value: :2112
|
||||
image: {{ .KubevipImage }}
|
||||
imagePullPolicy: Always
|
||||
imagePullPolicy: IfNotPresent
|
||||
name: kube-vip
|
||||
resources: {}
|
||||
securityContext:
|
||||
|
|
@ -254,7 +254,7 @@ spec:
|
|||
- name: prometheus_server
|
||||
value: :2112
|
||||
image: {{ .KubevipImage }}
|
||||
imagePullPolicy: Always
|
||||
imagePullPolicy: IfNotPresent
|
||||
name: kube-vip
|
||||
resources: {}
|
||||
securityContext:
|
||||
|
|
|
|||
|
|
@ -74,7 +74,7 @@ spec:
|
|||
- name: prometheus_server
|
||||
value: :2112
|
||||
image: {{ .KubevipImage }}
|
||||
imagePullPolicy: Always
|
||||
imagePullPolicy: IfNotPresent
|
||||
name: kube-vip
|
||||
resources: {}
|
||||
securityContext:
|
||||
|
|
@ -138,7 +138,7 @@ spec:
|
|||
- name: address
|
||||
value: {{ .KubeVip }}
|
||||
image: {{ .KubevipImage }}
|
||||
imagePullPolicy: Always
|
||||
imagePullPolicy: IfNotPresent
|
||||
name: kube-vip
|
||||
resources: {}
|
||||
securityContext:
|
||||
|
|
|
|||
|
|
@ -81,7 +81,7 @@ spec:
|
|||
containers:
|
||||
- name: kube-kata
|
||||
image: {{ .KataDeployImage }}
|
||||
imagePullPolicy: Always
|
||||
imagePullPolicy: IfNotPresent
|
||||
lifecycle:
|
||||
preStop:
|
||||
exec:
|
||||
|
|
|
|||
|
|
@ -125,7 +125,7 @@ spec:
|
|||
serviceAccountName: openebs-maya-operator
|
||||
containers:
|
||||
- name: openebs-provisioner-hostpath
|
||||
imagePullPolicy: Always
|
||||
imagePullPolicy: IfNotPresent
|
||||
image: {{ .ProvisionerLocalPVImage }}
|
||||
env:
|
||||
# OPENEBS_IO_K8S_MASTER enables openebs provisioner to connect to K8s
|
||||
|
|
|
|||
|
|
@ -315,7 +315,7 @@ spec:
|
|||
containers:
|
||||
- name: installer
|
||||
image: {{ .Repo }}/ks-installer:{{ .Tag }}
|
||||
imagePullPolicy: Always
|
||||
imagePullPolicy: IfNotPresent
|
||||
volumeMounts:
|
||||
- mountPath: /etc/localtime
|
||||
name: host-time
|
||||
|
|
|
|||
Loading…
Reference in New Issue