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
{{ message }}
This repository has been archived by the owner on Jul 30, 2021. It is now read-only.
I'm not super happy with how we essentially are installing a somewhat "hidden" manifest - which requires re-building an image to change anything about it. If it's updating the binary, that's one thing, but needing a rebuild just to change options in the manifest feels wrong.
One option might be to make use of the podTemplate api. Essentially a cold-storage for a pod from which we can essentially make cookie-cutter copies.
Then our "checkpoint-installer" is changed to (in psuedo steps):
while true:
watch for change: /api/v1/namespaces/kube-system/podtemlates/pod-checkpointer
create static pod from pod-checkpointer template
The "checkpoint-installer" might even just become a generic golang "static-pod installer" which can be told what pod-template to use.
Any customizations that a user needs to make can then just be made to an actual api-object rather than relying on re-building an image just to change the manifest.
The text was updated successfully, but these errors were encountered:
Actually might want to close this (or rename). @yifan-gu came up with a more elegant solution which is essentially the pod-checkpointer checkpointing itself (and therefore "installing" itself): #366
Taken from discussion in: #180
I'm not super happy with how we essentially are installing a somewhat "hidden" manifest - which requires re-building an image to change anything about it. If it's updating the binary, that's one thing, but needing a rebuild just to change options in the manifest feels wrong.
One option might be to make use of the podTemplate api. Essentially a cold-storage for a pod from which we can essentially make cookie-cutter copies.
This might look like:
checkpoint-pod-template.yaml
Then we create that template entry:
Then our "checkpoint-installer" is changed to (in psuedo steps):
The "checkpoint-installer" might even just become a generic golang "static-pod installer" which can be told what pod-template to use.
Any customizations that a user needs to make can then just be made to an actual api-object rather than relying on re-building an image just to change the manifest.
The text was updated successfully, but these errors were encountered: