feat: add hub-manager chart#1784
Conversation
665e140 to
35587d5
Compare
This comment was marked as resolved.
This comment was marked as resolved.
| apiVersion: batch/v1 | ||
| kind: Job | ||
| metadata: | ||
| name: {{ include "hub-manager.fullname" . }}-migration |
There was a problem hiding this comment.
This job is not tested. Also for a migration job it might require a backoffLimit, probably to 0. Also we may add the same scheduling options as for the deployment so that people can schedule this job wherever they want.
There was a problem hiding this comment.
Regarding the scheduling, this job is actually a chart hook. The available hooks are documented here
There was a problem hiding this comment.
I know what is a chart hook but I speak about kubelet scheduling like affinity/anti-affinity, tolerations, etc. It still remains a pod we have a execute somewhere at some point :-)
There was a problem hiding this comment.
affinity is honored by the Deployment but not by this Job, so a user setting .Values.affinity would see the migration Pod land somewhere different from the workload.
ca443c9 to
bbf2d8e
Compare
darkweaver87
left a comment
There was a problem hiding this comment.
LGTM once @mloiseleur changes will be applied.
|
@bpsoraggi After rebase, it will require for changelog something similar of what we have done for CRD chart:
|
What does this PR do?
Adds new
hub-managerchartMotivation
To include the new chart in the repository
More
make testand all the tests passed