You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The "-job-ensure-packs-volumes-are-writable" is key to allow starting the st2 application properly, but is assuming the volumes should be mounted as volumeMounts+mountPath.
When using certain storage providers and set the 'block' type volumes (and set ReadWriteMany accessMode), these needs to be mounted as volumeDevices+devicePath or we will get a Unable to attach or mount volumes: unmounted volumes=[st2-pack-configs-vol st2-packs-vol st2-virtualenvs-vol], unattached volumes=[st2-pack-configs-vol k8tz kube-api-access-rxb2c st2-packs-vol st2-virtualenvs-vol]: volume st2-pack-configs-vol has volumeMode Block, but is specified in volumeMounts; volume st2-packs-vol has volumeMode Block, but is specified in volumeMounts; volume st2-virtualenvs-vol has volumeMode Block, but is specified in volumeMounts
I'm wrong and there is another way to customize it or it is needed extending the chart to adapt the job or skip this validation?
Thanks in advance
The text was updated successfully, but these errors were encountered:
The "-job-ensure-packs-volumes-are-writable" is key to allow starting the st2 application properly, but is assuming the volumes should be mounted as volumeMounts+mountPath.
When using certain storage providers and set the 'block' type volumes (and set ReadWriteMany accessMode), these needs to be mounted as volumeDevices+devicePath or we will get a
Unable to attach or mount volumes: unmounted volumes=[st2-pack-configs-vol st2-packs-vol st2-virtualenvs-vol], unattached volumes=[st2-pack-configs-vol k8tz kube-api-access-rxb2c st2-packs-vol st2-virtualenvs-vol]: volume st2-pack-configs-vol has volumeMode Block, but is specified in volumeMounts; volume st2-packs-vol has volumeMode Block, but is specified in volumeMounts; volume st2-virtualenvs-vol has volumeMode Block, but is specified in volumeMounts
I'm wrong and there is another way to customize it or it is needed extending the chart to adapt the job or skip this validation?
Thanks in advance
The text was updated successfully, but these errors were encountered: