docker image load -i prov-service-hf2781728.tar
docker tag provisioning-service:patch-id provisioning-service_private:latest
Restart provisioning-service pods with the new image
Get provisioning-service pod ids
kubectl -n prelude get pods | grep provisioning-service
Restart each pod
kubectl -n prelude delete pod provisioning-service-app-pod-id
Persist the changes so they can survive restarts and redeployments with deploy.sh
On each node, run
/opt/scripts/backup_docker_images.sh
Additional Information
Steps to rollback the patch
SSH into each vRA node and do the following
View the provisioning-service docker images
docker images|grep provisioning-service
Sample output: provisioning-service patch-id 0862920c1caa 4 days ago 587MB provisioning-service_private latest 0862920c1caa 4 days ago 587MB provisioning-service 4b0a304 ab7c981f989a 9 months ago 586MB
Tag the original image, provisioning-service:4b0a304 in this case, as the latest
docker tag provisioning-service:4b0a304 provisioning-service_private:latest
Restart provisioning-service pods to use the original image
Get provisioning-service pod ids
kubectl -n prelude get pods | grep provisioning-service
Restart each pod
kubectl -n prelude delete pod provisioning-service-app-pod-id
Persist the changes so they can survive restarts and re-deployments with deploy.sh