Problem
During an upgrade, messages about statefulset or spec and Forbidden:
Error: UPGRADE FAILED: release docker-registry failed, and has been rolled back due to atomic being set: cannot patch "docker-registry" with kind StatefulSet:StatefulSet.apps "docker-registry" is invalid: spec: Forbidden: updates to statefulset spec for fields other than 'replicas', 'template', 'updateStrategy', 'persistentVolumeClaimRetentionPolicy' and 'minReadySeconds' are forbidden
Resolution
Ensure your domino.yaml file is accurate, as a difference between the current system and the installers 'default' domino.yaml may cause these errors. This can happen if you are rebuilding the domino.yaml file and leave out any unique setting.
You should migrate your old config yaml file using the installer methods as explained here:
docker run --rm -v $(pwd):/install quay.io/domino/fleetcommand-agent:v58 \
init --file /install/domino.yml -t /install/your_old_domino.yml
Check out https://docs.dominodatalab.com/en/5.3/admin_guide/5765ba/installation-overview/#_init for more info.
Note the old services field has been replaced by release_overrides, please refer the following documentation :
https://docs.dominodatalab.com/en/latest/admin_guide/559046/fleetcommand-agent-release-notes/#_new_installer_configurations
Comments
0 comments
Please sign in to leave a comment.