This repository was archived by the owner on Aug 12, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change 29
29
- ' kubectl --kubeconfig /etc/kubernetes/admin.conf create secret generic -n kube-system packet-cloud-config --from-literal=cloud-sa.json='' {"apiKey": "{{ .apiKey }}","projectID": "f2a2d7ad-886e-4207-bf38-10ebdf49cf84"}'' '
30
30
- kubectl apply --kubeconfig /etc/kubernetes/admin.conf -f https://raw.githubusercontent.com/packethost/packet-ccm/master/deploy/releases/v1.0.0/deployment.yaml
31
31
preKubeadmCommands :
32
+ - sed -ri '/\sswap\s/s/^#?/#/' /etc/fstab
32
33
- swapoff -a
34
+ - mount -a
33
35
- apt-get -y update
34
36
- DEBIAN_FRONTEND=noninteractive apt-get install -y apt-transport-https curl
35
37
- curl -s https://packages.cloud.google.com/apt/doc/apt-key.gpg | sudo apt-key add -
@@ -144,7 +146,9 @@ spec:
144
146
template :
145
147
spec :
146
148
preKubeadmCommands :
149
+ - sed -ri '/\sswap\s/s/^#?/#/' /etc/fstab
147
150
- swapoff -a
151
+ - mount -a
148
152
- apt-get -y update
149
153
- DEBIAN_FRONTEND=noninteractive apt-get install -y apt-transport-https curl
150
154
- curl -s https://packages.cloud.google.com/apt/doc/apt-key.gpg | sudo apt-key add -
You can’t perform that action at this time.
0 commit comments