-
Story
-
Resolution: Done
-
Medium
-
None
-
None
Using the following annotation in the pod spec allows to choose a specific pod VM image other than the global default
io.katacontainers.config.hypervisor.image: "<ami-id>"
eg.
apiVersion: v1 kind: Pod metadata: name: hello-openshift labels: app: hello-openshift annotations: io.katacontainers.config.hypervisor.image: "ami-123456b009a123456" spec: runtimeClassName: kata-remote containers: - name: hello-openshift image: registry.access.redhat.com/ubi9/ubi:9.3 command: - sleep - "36000" ports: - containerPort: 8888 securityContext: privileged: false seccompProfile: type: RuntimeDefault