Created
March 17, 2020 20:38
-
-
Save strigazi/e58f307421e67296983ac834172344dc to your computer and use it in GitHub Desktop.
This file contains hidden or 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
# To be used with | |
# https://raw.githubusercontent.com/dmwm/CMSKubernetes/3c153baebfa10f790569dd1347048e2db1cfca2a/kubernetes/cmsweb/storages/cephfs-storage-couchdb.yaml | |
--- | |
apiVersion: apps/v1 | |
kind: Deployment | |
metadata: | |
name: nginx-deployment | |
namespace: couchdb | |
spec: | |
selector: | |
matchLabels: | |
app: nginx | |
replicas: 1 | |
template: | |
metadata: | |
labels: | |
app: nginx | |
spec: | |
containers: | |
- name: nginx | |
image: nginx:1.7.9 | |
ports: | |
- containerPort: 80 | |
volumeMounts: | |
- mountPath: /var/lib/www/html | |
name: mypvc | |
volumes: | |
- name: mypvc | |
persistentVolumeClaim: | |
claimName: cephfs-claim-couchdb | |
readOnly: false |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment