Unify warnings about unmovable pods (#389)

* Unify warnings about unmovable pods

* Log conditions that prevent master pod migration
This commit is contained in:
zerg-junior
2018-12-21 16:44:31 +01:00
committed by GitHub
parent d6e6b00770
commit 4fa09e0dcb
2 changed files with 42 additions and 28 deletions
+1 -1
View File
@@ -121,7 +121,7 @@ function deploy_self_built_image() {
# update the tag in the postgres operator conf
# since the image with this tag already exists on the machine,
# docker should not attempt to fetch it from the registry due to imagePullPolicy
sed --expression "s/\(image\:.*\:\).*$/\1$TAG/" manifests/postgres-operator.yaml > "$PATH_TO_LOCAL_OPERATOR_MANIFEST"
sed --expression "s/\(image\:.*\:\).*$/\1$TAG/; s/smoke-tested-//" manifests/postgres-operator.yaml > "$PATH_TO_LOCAL_OPERATOR_MANIFEST"
retry "kubectl create -f \"$PATH_TO_LOCAL_OPERATOR_MANIFEST\"" "attempt to create $PATH_TO_LOCAL_OPERATOR_MANIFEST resource"
}