Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
apiVersion: apps/v1
kind: Deployment
metadata:
name: file-upload-deployment
namespace: file-upload
labels:
app: file-upload
spec:
replicas: 1
selector:
matchLabels:
app: file-upload
template:
metadata:
name: file-upload-pod
labels:
app: file-upload
spec:
containers:
- name: file-upload-server
image: clusterkuberegistry.azurecr.io/file-upload:v2
ports:
- containerPort: 80
volumeMounts:
- name: savepath
mountPath: /image_write
volumes:
- name: savepath
azureFile:
secretName: azure-secret
shareName: clusterkubestorageshare
readOnly: false
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment