Skip to content

Commit 55da27a

Browse files
committed
WIP
1 parent b36fc7b commit 55da27a

File tree

4 files changed

+110
-2
lines changed

4 files changed

+110
-2
lines changed

deploy/kubernetes-1.13/hostpath/csi-hostpath-plugin.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ spec:
6363
name: csi-data-dir
6464

6565
- name: hostpath
66-
image: quay.io/k8scsi/hostpathplugin:v1.1.0
66+
image: quay.io/k8scsi/hostpathplugin:v1.2.0-rc5
6767
args:
6868
- "--drivername=hostpath.csi.k8s.io"
6969
- "--v=5"
Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
1+
kind: Service
2+
apiVersion: v1
3+
metadata:
4+
name: csi-hostpath-resizer
5+
labels:
6+
app: csi-hostpath-resizer
7+
spec:
8+
selector:
9+
app: csi-hostpath-resizer
10+
ports:
11+
- name: dummy
12+
port: 12345
13+
14+
---
15+
kind: StatefulSet
16+
apiVersion: apps/v1
17+
metadata:
18+
name: csi-hostpath-resizer
19+
spec:
20+
serviceName: "csi-hostpath-resizer"
21+
replicas: 1
22+
selector:
23+
matchLabels:
24+
app: csi-hostpath-resizer
25+
template:
26+
metadata:
27+
labels:
28+
app: csi-hostpath-resizer
29+
spec:
30+
affinity:
31+
podAffinity:
32+
requiredDuringSchedulingIgnoredDuringExecution:
33+
- labelSelector:
34+
matchExpressions:
35+
- key: app
36+
operator: In
37+
values:
38+
- csi-hostpathplugin
39+
topologyKey: kubernetes.io/hostname
40+
serviceAccountName: csi-resizer
41+
containers:
42+
- name: csi-resizer
43+
image: quay.io/k8scsi/csi-resizer:v0.2.0
44+
args:
45+
- -v=5
46+
- -csi-address=/csi/csi.sock
47+
volumeMounts:
48+
- mountPath: /csi
49+
name: socket-dir
50+
volumes:
51+
- hostPath:
52+
path: /var/lib/kubelet/plugins/csi-hostpath
53+
type: DirectoryOrCreate
54+
name: socket-dir

deploy/kubernetes-1.14/hostpath/csi-hostpath-plugin.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ spec:
6363
name: csi-data-dir
6464

6565
- name: hostpath
66-
image: quay.io/k8scsi/hostpathplugin:v1.1.0
66+
image: quay.io/k8scsi/hostpathplugin:v1.2.0-rc5
6767
args:
6868
- "--drivername=hostpath.csi.k8s.io"
6969
- "--v=5"
Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
1+
kind: Service
2+
apiVersion: v1
3+
metadata:
4+
name: csi-hostpath-resizer
5+
labels:
6+
app: csi-hostpath-resizer
7+
spec:
8+
selector:
9+
app: csi-hostpath-resizer
10+
ports:
11+
- name: dummy
12+
port: 12345
13+
14+
---
15+
kind: StatefulSet
16+
apiVersion: apps/v1
17+
metadata:
18+
name: csi-hostpath-resizer
19+
spec:
20+
serviceName: "csi-hostpath-resizer"
21+
replicas: 1
22+
selector:
23+
matchLabels:
24+
app: csi-hostpath-resizer
25+
template:
26+
metadata:
27+
labels:
28+
app: csi-hostpath-resizer
29+
spec:
30+
affinity:
31+
podAffinity:
32+
requiredDuringSchedulingIgnoredDuringExecution:
33+
- labelSelector:
34+
matchExpressions:
35+
- key: app
36+
operator: In
37+
values:
38+
- csi-hostpathplugin
39+
topologyKey: kubernetes.io/hostname
40+
serviceAccountName: csi-resizer
41+
containers:
42+
- name: csi-resizer
43+
image: quay.io/k8scsi/csi-resizer:v0.2.0
44+
args:
45+
- -v=5
46+
- -csi-address=/csi/csi.sock
47+
volumeMounts:
48+
- mountPath: /csi
49+
name: socket-dir
50+
volumes:
51+
- hostPath:
52+
path: /var/lib/kubelet/plugins/csi-hostpath
53+
type: DirectoryOrCreate
54+
name: socket-dir

0 commit comments

Comments
 (0)