Skip to content

Instantly share code, notes, and snippets.

@wuestkamp
Last active December 20, 2020 17:46
Show Gist options
  • Save wuestkamp/30559e4379f605d1e78be6b2294c7942 to your computer and use it in GitHub Desktop.
Save wuestkamp/30559e4379f605d1e78be6b2294c7942 to your computer and use it in GitHub Desktop.
apiVersion: apps/v1
kind: Deployment
metadata:
creationTimestamp: null
labels:
app: snow
name: snow
spec:
replicas: 3
selector:
matchLabels:
app: snow
strategy: {}
template:
metadata:
creationTimestamp: null
labels:
app: snow
spec:
containers:
- image: nginx:1.19.6
name: nginx
resources: {}
securityContext:
readOnlyRootFilesystem: true
volumeMounts:
- name: write1
mountPath: /var/cache/nginx
- name: write2
mountPath: /var/run
volumes:
- name: write1
emptyDir: {}
- name: write2
emptyDir: {}
status: {}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment