-
Notifications
You must be signed in to change notification settings - Fork 0
/
iscsi-sharedfs-provisioner.yaml
44 lines (42 loc) · 1.1 KB
/
iscsi-sharedfs-provisioner.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
apiVersion: extensions/v1beta1
kind: Deployment
metadata:
name: iscsi-sharedfs-provisioner
spec:
selector:
matchLabels:
app: iscsi-sharedfs-provisioner
template:
metadata:
labels:
app: iscsi-sharedfs-provisioner
spec:
hostNetwork: true
serviceAccount: iscsi-sharedfs-provisioner
containers:
- name: provisioner
command: [ "/iscsi-sharedfs-provisioner" ]
imagePullPolicy: Always
image: "kvaps/iscsi-sharedfs-provisioner"
env:
- name: PROVISIONER_NAME
value: "kvaps/sharedfs"
volumeMounts:
- name: stor
mountPath: /stor
mountPropagation: HostToContainer
- name: deleter
command: [ "/iscsi-sharedfs-deleter" ]
imagePullPolicy: Always
image: "kvaps/iscsi-sharedfs-provisioner"
env:
- name: PROVISIONER_NAME
value: "kvaps/sharedfs"
volumeMounts:
- name: stor
mountPath: /stor
mountPropagation: HostToContainer
volumes:
- name: stor
hostPath:
path: "/stor"