zh-trans: add examples/{policy,service,windows}/ yaml files

This commit is contained in:
Rui Chen
2018-12-03 09:43:05 -05:00
parent 13953625e4
commit b15ccd6c4a
22 changed files with 522 additions and 0 deletions
@@ -0,0 +1,18 @@
apiVersion: v1
kind: Pod
metadata:
name: hostpath-volume-pod
spec:
containers:
- name: my-hostpath-volume-pod
image: microsoft/windowsservercore:1709
volumeMounts:
- name: foo
mountPath: "C:\\etc\\foo"
readOnly: true
nodeSelector:
beta.kubernetes.io/os: windows
volumes:
- name: foo
hostPath:
path: "C:\\etc\\foo"