Bosh release for stopping Portworx in PKS
This is a simple bosh release to stop the Portworx systemd service on bosh worker nodes in a PKS environment.
This is required since when stopping and upgrade instances bosh attempts to unmount /var/vcap/store
. Portworx has it's rootfs for the runc container mounted on /var/vcap/store/opt/pwx/oci
and the runc container is running using it. So one needs to stop Portworx and unmount /var/vcap/store/opt/pwx/oci
in order to allow bosh to proceed with stopping the instances.
For dev releases,
bosh create-release --force
For final releases,
bosh create-release --final --version=1.0.0
Upload the created release to the bosh director.
bosh -e <your-director-env> upload-release
This release is intended to run as a bosh director runtime config addon job.
You can find a sample runtime config here
To view your current director runtime config: bosh -e my-env runtime-config
To update a director runtime config: bosh update-runtime-config runtime-configs/director-runtime.config.yaml