Upgrading the Comet ML Helm Chart¶
Normal Upgrade Steps¶
helm upgrade <release-name> . -f override-values.yaml
From <=4.0.x to >=4.1.x¶
Chart Name changed to 'comet-ml', so update repository pull accordingly.
Due to a change in label selectors, it is not possible to execute a helm upgrade
, instead it is necessary to uninstall and reinstall the chart.
Internal Redis¶
A change in how the Internal Redis is installed requires moving some non-default configurations. The following shows to where certain custom settings have been moved.
# Prior to 4.1.0
redis:
enableInternalRedis: true
image:
repoistory: docker.io/redis
tag: 5.0.7
mpm:
redisHost: "redis-internal"
redisPort: "6379"
redisToken: "NA"
backupPath: "/opt/comet-ml/backups/redis/regular"
maxTotalWorkers: "60"
maxWaitTimeMs: "5000"
redisSsl: false
readTimeoutMs: "2000"
persistenceVolume:
storageClassName: "comet-generic"
redisInternalVolumeSize: "10Gi"
service:
type: ClusterIP
port: 6379
nodeSelector: {}
tolerations: []
affinity: {}
Becomes:
# From 4.1.0
backend:
mpm:
# …
redis:
backupPath: "/opt/comet-ml/backups/redis/regular"
maxTotalWorkers: "60"
maxWaitTimeMs: "5000"
readTimeoutMs: "2000"
# …
redis:
enableInternalRedis: true
redisHost: "redis-internal"
redisPort: "6379"
redisToken: "NA"
redisSSL: false
redisInternal:
image:
registry: docker.io
repoistory: redis
tag: 5.0.7
master:
service:
type: ClusterIP
ports:
redis: 6379
persistence:
enabled: true
storageClass: "comet-generic"
size: 10Gi
nodeSelector: {}
tolerations: []
affinity: {}
Be sure to compare your override values to the defaults in values.yaml
or those emitted from helm show values comet-ml/comet-ml
as it is not necessary to override values when not deviating from the default.
Dec. 19, 2023