-
Notifications
You must be signed in to change notification settings - Fork 94
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Enable pod VM image selection via pod annotation #2155
Enable pod VM image selection via pod annotation #2155
Conversation
Allows using a different AMI than the default configured. Signed-off-by: Pradipta Banerjee <pradipta.banerjee@gmail.com>
Enables using a different image than the one configured. Signed-off-by: Pradipta Banerjee <pradipta.banerjee@gmail.com>
Allows using a different docker image than the default configured. Signed-off-by: Pradipta Banerjee <pradipta.banerjee@gmail.com>
Allows using a different GCP image than the default configured. Signed-off-by: Pradipta Banerjee <pradipta.banerjee@gmail.com>
Aligning the variable name to other providers to be consistent. Signed-off-by: Pradipta Banerjee <pradipta.banerjee@gmail.com>
Allows using a different PowerVS image than the default configured. Signed-off-by: Pradipta Banerjee <pradipta.banerjee@gmail.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Ensure the image and expected error message is customisable as it's different for every provider and makes it easier to reuse for other providers Signed-off-by: Pradipta Banerjee <pradipta.banerjee@gmail.com>
This is a negative test to ensure the functionality of picking up the AMI from pod annotation works. This doesn't need any AMI to exist in the region and makes it easier to test in CI. Signed-off-by: Pradipta Banerjee <pradipta.banerjee@gmail.com>
0353949
to
301553c
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, thanks!
TBD: Should we add an option to disable image thought annotations?
This can be done at containerd/crio or in configuration.toml, like any other Kata hypervisor annotations. I don't think it makes sense to duplicate it. |
No description provided.