File tree Expand file tree Collapse file tree 3 files changed +12
-1
lines changed Expand file tree Collapse file tree 3 files changed +12
-1
lines changed Original file line number Diff line number Diff line change 47
47
kubeletExtraArgs :
48
48
provider-id : " cloudstack:///'{{ ds.meta_data.instance_id }}'"
49
49
name : ' {{ local_hostname }}'
50
+ preKubeadmCommands :
51
+ - swapoff -a
50
52
infrastructureTemplate :
51
53
apiVersion : infrastructure.cluster.x-k8s.io/v1alpha3
52
54
kind : CloudStackMachineTemplate
@@ -111,4 +113,6 @@ spec:
111
113
kubeletExtraArgs :
112
114
provider-id : " cloudstack:///'{{ ds.meta_data.instance_id }}'"
113
115
name : ' {{ local_hostname }}'
116
+ preKubeadmCommands :
117
+ - swapoff -a
114
118
Original file line number Diff line number Diff line change 52
52
sshAuthorizedKeys :
53
53
- ${SSH_KEY_MATERIAL}
54
54
sudo : ALL=(ALL) NOPASSWD:ALL
55
+ preKubeadmCommands :
56
+ - swapoff -a
55
57
infrastructureTemplate :
56
58
apiVersion : infrastructure.cluster.x-k8s.io/v1alpha3
57
59
kind : CloudStackMachineTemplate
@@ -119,4 +121,5 @@ spec:
119
121
sshAuthorizedKeys :
120
122
- ${SSH_KEY_MATERIAL}
121
123
sudo : ALL=(ALL) NOPASSWD:ALL
122
-
124
+ preKubeadmCommands :
125
+ - swapoff -a
Original file line number Diff line number Diff line change 47
47
kubeletExtraArgs :
48
48
provider-id : " cloudstack:///'{{ ds.meta_data.instance_id }}'"
49
49
name : ' {{ local_hostname }}'
50
+ preKubeadmCommands :
51
+ - swapoff -a
50
52
infrastructureTemplate :
51
53
apiVersion : infrastructure.cluster.x-k8s.io/v1alpha3
52
54
kind : CloudStackMachineTemplate
@@ -109,4 +111,6 @@ spec:
109
111
kubeletExtraArgs :
110
112
provider-id : " cloudstack:///'{{ ds.meta_data.instance_id }}'"
111
113
name : ' {{ local_hostname }}'
114
+ preKubeadmCommands :
115
+ - swapoff -a
112
116
You can’t perform that action at this time.
0 commit comments