Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- apiVersion: v1
- kind: Pod
- metadata:
- name: q-pod-sample-03
- namespace: mq
- spec:
- containers:
- - image: test.azurecr.io/q/p:01
- name: q-ctr-sample-03
- imagePullPolicy: "IfNotPresent"
- volumeMounts:
- - name: azfileshare
- mountPath: 'c:/app/app-data'
- nodeSelector:
- "beta.kubernetes.io/os": windows
- volumes:
- - name: azfs
- azureFile:
- secretName: qastapv-share-01-secret
- shareName: qastapv-share-01
- readOnly: false
- apiVersion: v1
- kind: Secret
- metadata:
- name: qastapv-share-01-secret
- namespace: mq
- type: Opaque
- data:
- azurestorageaccountname: <Base64Str>
- azurestorageaccountkey: <Base64Str>
- apiVersion: v1
- kind: PersistentVolume
- metadata:
- name: pv-azfs-q-01
- namespace: mq
- spec:
- capacity:
- storage: 5Gi
- accessModes:
- - ReadWriteMany
- azureFile:
- secretName: qastapv-share-01-secret
- shareName: qastapv-share-01
- readOnly: false
- mountOptions:
- - dir_mode=0777
- - file_mode=0777
- - uid=1000
- - gid=1000
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement