File tree Expand file tree Collapse file tree 2 files changed +45
-1
lines changed Expand file tree Collapse file tree 2 files changed +45
-1
lines changed Original file line number Diff line number Diff line change
1
+ ---
2
+ apiVersion : extensions/v1beta1
3
+ kind : DaemonSet
4
+ metadata :
5
+ namespace : openebs
6
+ name : openebs-amazonlinux-init
7
+ labels :
8
+ openebs.io/component-name : openebs-amazonlinux-init
9
+ openebs.io/version : 1.4.0
10
+ annotations :
11
+ command : &cmd yum install iscsi-initiator-utils -y && sudo systemctl enable iscsid && sudo systemctl start iscsid
12
+ spec :
13
+ selector :
14
+ matchLabels :
15
+ openebs.io/component-name : openebs-amazonlinux-init
16
+ template :
17
+ metadata :
18
+ labels :
19
+ openebs.io/component-name : openebs-amazonlinux-init
20
+ spec :
21
+ hostNetwork : true
22
+ initContainers :
23
+ - name : init-node
24
+ command :
25
+ - nsenter
26
+ - --mount=/proc/1/ns/mnt
27
+ - --
28
+ - sh
29
+ - -c
30
+ - *cmd
31
+ image : alpine:3.7
32
+ securityContext :
33
+ privileged : true
34
+ hostPID : true
35
+ containers :
36
+ - name : wait
37
+ image : k8s.gcr.io/pause:3.1
38
+ hostPID : true
39
+ hostNetwork : true
40
+ tolerations :
41
+ - effect : NoSchedule
42
+ key : node-role.kubernetes.io/master
43
+ updateStrategy :
44
+ type : RollingUpdate
Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ metadata:
8
8
openebs.io/component-name : openebs-ubuntu-init
9
9
openebs.io/version : 1.4.0
10
10
annotations :
11
- command : &cmd apt-get update -qy && apt-get install -qy open-iscsi xfsprogs
11
+ command : &cmd apt-get update -qy && apt-get install -qy open-iscsi xfsprogs && sudo systemctl enable iscsid && sudo systemctl start iscsid
12
12
spec :
13
13
selector :
14
14
matchLabels :
You can’t perform that action at this time.
0 commit comments