Skip to content

portworx/portworx-stop-bosh-release

Repository files navigation

Bosh release for stopping Portworx in PKS

What is this?

This is a simple bosh release to stop the Portworx systemd service on bosh worker nodes in a PKS environment.

Why is this required?

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.

How to build

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

How to use it

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

References

About

Bosh release for stopping Portworx in PKS

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages