Skip to content

Instantly share code, notes, and snippets.

@phillipsj
Created August 26, 2021 16:41
Show Gist options
  • Save phillipsj/1b16d24f3acc9013b4453e843d6b740e to your computer and use it in GitHub Desktop.
Save phillipsj/1b16d24f3acc9013b4453e843d6b740e to your computer and use it in GitHub Desktop.
Good test workload
apiVersion: v1
kind: Pod
metadata:
name: hostdir-aksnpwin000002
spec:
containers:
- name: hostdir
image: e2eteam/busybox:1.29
securityContext:
windowsOptions:
runAsUserName: ContainerAdministrator
command:
- sleep
- "6600"
volumeMounts:
- name: host-volume
mountPath: /host
restartPolicy: Always
volumes:
- name: host-volume
hostPath:
path: "C:/"
type: DirectoryOrCreate
nodeSelector:
"kubernetes.io/os": windows
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment