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
$ kubectl -n kube-portworx get deploy
NAME READY UP-TO-DATE AVAILABLE AGE
autopilot 1/1 1 1 22d
portworx-operator 1/1 1 1 26d
portworx-pvc-controller 3/3 3 3 22d
px-csi-ext 3/3 0 3 22d
stork 3/3 3 3 3h19m
stork-scheduler 3/3 3 3 3h19m
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment