Created
September 15, 2021 22:48
-
-
Save skavyas/21646f57c4a27c96a705c724fe12a860 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ cat nginx-stork.yaml | |
apiVersion: apps/v1 | |
kind: Deployment | |
metadata: | |
name: nginx-px-stork | |
namespace: kube-test | |
labels: | |
app: nginx | |
spec: | |
replicas: 1 | |
selector: | |
matchLabels: | |
app: nginx | |
template: | |
metadata: | |
labels: | |
app: nginx | |
spec: | |
schedulerName: stork | |
containers: | |
- name: nginx | |
image: nginx | |
volumeMounts: | |
- mountPath: /usr/share/nginx/html | |
name: shared-data | |
volumes: | |
- name: shared-data | |
persistentVolumeClaim: | |
claimName: nginx-pvc |
Author
skavyas
commented
Sep 15, 2021
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment