Created
December 18, 2020 22:06
-
-
Save chathurawidanage/00d2897c9e3ae2619e13fefd14226f29 to your computer and use it in GitHub Desktop.
Running SGX enabled pod
This file contains 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: v1 | |
kind: Pod | |
metadata: | |
name: shell-demo2 | |
namespace: default | |
spec: | |
containers: | |
- image: tozd/sgx:ubuntu-xenial | |
imagePullPolicy: IfNotPresent | |
name: sgx-ubuntu2 | |
command: ["/bin/bash", "-c", "--"] | |
args: ["while true; do sleep 30; done;"] | |
securityContext: | |
privileged: true | |
volumeMounts: | |
- mountPath: /var/run/aesmd/aesm.socket | |
name: aesmsocket | |
volumes: | |
- hostPath: | |
path: /var/run/aesmd/aesm.socket | |
type: Socket | |
name: aesmsocket |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment