Last active
July 22, 2022 11:45
-
-
Save bpradipt/96a78c03a73fb564fb17a1e02156f7c2 to your computer and use it in GitHub Desktop.
peer-pods ccruntime yaml
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| apiVersion: confidentialcontainers.org/v1beta1 | |
| kind: CcRuntime | |
| metadata: | |
| name: ccruntime-sample | |
| namespace: confidential-containers-system | |
| spec: | |
| # Add fields here | |
| runtimeName: kata | |
| ccNodeSelector: | |
| matchLabels: | |
| node-role.kubernetes.io/worker: "" | |
| config: | |
| installType: bundle | |
| payloadImage: quay.io/bpradipt/runtime-payload:peer-pod-aws | |
| installDoneLabel: | |
| katacontainers.io/kata-runtime: "true" | |
| uninstallDoneLabel: | |
| katacontainers.io/kata-runtime: "cleanup" | |
| installerVolumeMounts: | |
| - mountPath: /etc/crio/ | |
| name: crio-conf | |
| - mountPath: /etc/containerd/ | |
| name: containerd-conf | |
| - mountPath: /opt/kata/ | |
| name: kata-artifacts | |
| - mountPath: /var/run/dbus | |
| name: dbus | |
| - mountPath: /run/systemd | |
| name: systemd | |
| - mountPath: /usr/local/bin/ | |
| name: local-bin | |
| installerVolumes: | |
| - hostPath: | |
| path: /etc/crio/ | |
| type: "" | |
| name: crio-conf | |
| - hostPath: | |
| path: /etc/containerd/ | |
| type: "" | |
| name: containerd-conf | |
| - hostPath: | |
| path: /opt/kata/ | |
| type: DirectoryOrCreate | |
| name: kata-artifacts | |
| - hostPath: | |
| path: /var/run/dbus | |
| type: "" | |
| name: dbus | |
| - hostPath: | |
| path: /run/systemd | |
| type: "" | |
| name: systemd | |
| - hostPath: | |
| path: /usr/local/bin/ | |
| type: "" | |
| name: local-bin | |
| installCmd: ["/opt/kata-artifacts/scripts/kata-deploy.sh", "install"] | |
| uninstallCmd: ["/opt/kata-artifacts/scripts/kata-deploy.sh", "cleanup"] | |
| cleanupCmd: ["/opt/kata-artifacts/scripts/kata-deploy.sh", "reset"] | |
| postUninstall: | |
| image: quay.io/confidential-containers/container-engine-for-cc-payload:2022070719511657216287 | |
| volumeMounts: | |
| - mountPath: /opt/confidential-containers/ | |
| name: confidential-containers-artifacts | |
| - mountPath: /etc/systemd/system/ | |
| name: etc-systemd-system | |
| - mountPath: /var/run/dbus | |
| name: dbus | |
| - mountPath: /run/systemd | |
| name: systemd | |
| volumes: | |
| - hostPath: | |
| path: /opt/confidential-containers/ | |
| type: DirectoryOrCreate | |
| name: confidential-containers-artifacts | |
| - hostPath: | |
| path: /etc/systemd/system/ | |
| type: "" | |
| name: etc-systemd-system | |
| - hostPath: | |
| path: /var/run/dbus | |
| type: "" | |
| name: dbus | |
| - hostPath: | |
| path: /run/systemd | |
| type: "" | |
| name: systemd | |
| preInstall: | |
| image: quay.io/confidential-containers/container-engine-for-cc-payload:2022070719511657216287 | |
| volumeMounts: | |
| - mountPath: /opt/confidential-containers/ | |
| name: confidential-containers-artifacts | |
| - mountPath: /etc/systemd/system/ | |
| name: etc-systemd-system | |
| - mountPath: /var/run/dbus | |
| name: dbus | |
| - mountPath: /run/systemd | |
| name: systemd | |
| volumes: | |
| - hostPath: | |
| path: /opt/confidential-containers/ | |
| type: DirectoryOrCreate | |
| name: confidential-containers-artifacts | |
| - hostPath: | |
| path: /etc/systemd/system/ | |
| type: "" | |
| name: etc-systemd-system | |
| - hostPath: | |
| path: /var/run/dbus | |
| type: "" | |
| name: dbus | |
| - hostPath: | |
| path: /run/systemd | |
| type: "" | |
| name: systemd | |
| environmentVariables: | |
| - name: NODE_NAME | |
| valueFrom: | |
| fieldRef: | |
| apiVersion: v1 | |
| fieldPath: spec.nodeName | |
| - name: "CONFIGURE_CC" | |
| value: "yes" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| apiVersion: confidentialcontainers.org/v1beta1 | |
| kind: CcRuntime | |
| metadata: | |
| name: ccruntime-sample | |
| namespace: confidential-containers-system | |
| spec: | |
| # Add fields here | |
| runtimeName: kata | |
| ccNodeSelector: | |
| matchLabels: | |
| node-role.kubernetes.io/worker: "" | |
| config: | |
| installType: bundle | |
| payloadImage: quay.io/bpradipt/runtime-payload:peer-pod | |
| installDoneLabel: | |
| katacontainers.io/kata-runtime: "true" | |
| uninstallDoneLabel: | |
| katacontainers.io/kata-runtime: "cleanup" | |
| installerVolumeMounts: | |
| - mountPath: /etc/crio/ | |
| name: crio-conf | |
| - mountPath: /etc/containerd/ | |
| name: containerd-conf | |
| - mountPath: /opt/kata/ | |
| name: kata-artifacts | |
| - mountPath: /var/run/dbus | |
| name: dbus | |
| - mountPath: /run/systemd | |
| name: systemd | |
| - mountPath: /usr/local/bin/ | |
| name: local-bin | |
| installerVolumes: | |
| - hostPath: | |
| path: /etc/crio/ | |
| type: "" | |
| name: crio-conf | |
| - hostPath: | |
| path: /etc/containerd/ | |
| type: "" | |
| name: containerd-conf | |
| - hostPath: | |
| path: /opt/kata/ | |
| type: DirectoryOrCreate | |
| name: kata-artifacts | |
| - hostPath: | |
| path: /var/run/dbus | |
| type: "" | |
| name: dbus | |
| - hostPath: | |
| path: /run/systemd | |
| type: "" | |
| name: systemd | |
| - hostPath: | |
| path: /usr/local/bin/ | |
| type: "" | |
| name: local-bin | |
| installCmd: ["/opt/kata-artifacts/scripts/kata-deploy.sh", "install"] | |
| uninstallCmd: ["/opt/kata-artifacts/scripts/kata-deploy.sh", "cleanup"] | |
| cleanupCmd: ["/opt/kata-artifacts/scripts/kata-deploy.sh", "reset"] | |
| #postUninstall: | |
| # image: quay.io/confidential-containers/container-engine-for-cc-payload:latest | |
| # volumeMounts: | |
| # - mountPath: /opt/confidential-containers/ | |
| # name: confidential-containers-artifacts | |
| # - mountPath: /etc/systemd/system/ | |
| # name: etc-systemd-system | |
| # - mountPath: /var/run/dbus | |
| # name: dbus | |
| # - mountPath: /run/systemd | |
| # name: systemd | |
| # volumes: | |
| # - hostPath: | |
| # path: /opt/confidential-containers/ | |
| # type: DirectoryOrCreate | |
| # name: confidential-containers-artifacts | |
| # - hostPath: | |
| # path: /etc/systemd/system/ | |
| # type: "" | |
| # name: etc-systemd-system | |
| # - hostPath: | |
| # path: /var/run/dbus | |
| # type: "" | |
| # name: dbus | |
| # - hostPath: | |
| # path: /run/systemd | |
| # type: "" | |
| # name: systemd | |
| #preInstall: | |
| # image: quay.io/confidential-containers/container-engine-for-cc-payload:latest | |
| # volumeMounts: | |
| # - mountPath: /opt/confidential-containers/ | |
| # name: confidential-containers-artifacts | |
| # - mountPath: /etc/systemd/system/ | |
| # name: etc-systemd-system | |
| # - mountPath: /var/run/dbus | |
| # name: dbus | |
| # - mountPath: /run/systemd | |
| # name: systemd | |
| # volumes: | |
| # - hostPath: | |
| # path: /opt/confidential-containers/ | |
| # type: DirectoryOrCreate | |
| # name: confidential-containers-artifacts | |
| # - hostPath: | |
| # path: /etc/systemd/system/ | |
| # type: "" | |
| # name: etc-systemd-system | |
| # - hostPath: | |
| # path: /var/run/dbus | |
| # type: "" | |
| # name: dbus | |
| # - hostPath: | |
| # path: /run/systemd | |
| # type: "" | |
| # name: systemd | |
| environmentVariables: | |
| - name: NODE_NAME | |
| valueFrom: | |
| fieldRef: | |
| apiVersion: v1 | |
| fieldPath: spec.nodeName | |
| - name: "CONFIGURE_CC" | |
| value: "yes" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment