hdd ebin01 archive storagio
This commit is contained in:
37
_sys/nfs-provisioners/deployment_nfs-hdd-ebin01.yaml
Normal file
37
_sys/nfs-provisioners/deployment_nfs-hdd-ebin01.yaml
Normal file
@@ -0,0 +1,37 @@
|
||||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
name: nfs-hdd-ebin01
|
||||
labels:
|
||||
app: nfs-hdd-ebin01
|
||||
spec:
|
||||
replicas: 1
|
||||
strategy:
|
||||
type: Recreate
|
||||
selector:
|
||||
matchLabels:
|
||||
app: nfs-hdd-ebin01
|
||||
template:
|
||||
metadata:
|
||||
labels:
|
||||
app: nfs-hdd-ebin01
|
||||
spec:
|
||||
serviceAccountName: nfs-client-provisioner
|
||||
containers:
|
||||
- name: nfs-hdd-ebin01
|
||||
image: quay.io/external_storage/nfs-client-provisioner-arm:latest
|
||||
volumeMounts:
|
||||
- name: nfs-client-root
|
||||
mountPath: /persistentvolumes
|
||||
env:
|
||||
- name: PROVISIONER_NAME
|
||||
value: nfs-hdd-ebin01
|
||||
- name: NFS_SERVER
|
||||
value: ebin01
|
||||
- name: NFS_PATH
|
||||
value: /data/raid1-hdd/k8s-data
|
||||
volumes:
|
||||
- name: nfs-client-root
|
||||
nfs:
|
||||
server: ebin01
|
||||
path: /data/raid1-hdd/k8s-data
|
||||
Reference in New Issue
Block a user