Closed alena1108 closed 4 years ago
Verified using version v1.1.0-rc1
Do an rke up with always_pull_images: true
set in cluster.yml
file.
On docker inspect kube-apiserver
, AlwaysPullImages
argument is set.
"Args": [
...
"--enable-admission plugins=NamespaceLifecycle,LimitRanger,ServiceAccount,DefaultStorageClass,DefaultTolerationSeconds,MutatingAdmissionWebhook,ValidatingAdmissionWebhook,ResourceQuota,NodeRestriction,Priority,TaintNodesByCondition,PersistentVolumeClaimResize,AlwaysPullImages",
...
On docker logs kube-apiserver
- AlwaysPullImages
is being set.
+.........--enable-admission-plugins=NamespaceLifecycle,LimitRanger,ServiceAccount,DefaultStorageClass,DefaultTolerationSeconds,MutatingAdmissionWebhook,ValidatingAdmissionWebhook,ResourceQuota,NodeRestriction,Priority,TaintNodesByCondition,PersistentVolumeClaimResize,AlwaysPullImages
Forwardport https://github.com/rancher/rke/issues/1690