File tree Expand file tree Collapse file tree 1 file changed +54
-0
lines changed
Expand file tree Collapse file tree 1 file changed +54
-0
lines changed Original file line number Diff line number Diff line change @@ -139,6 +139,60 @@ spec:
139139
140140---
141141
142+ apiVersion : cluster.x-k8s.io/v1beta1
143+ kind : MachineDeployment
144+ metadata :
145+ name : " ${CLUSTER_NAME}"
146+ spec :
147+ clusterName : " ${CLUSTER_NAME}"
148+ replicas : 1
149+ selector :
150+ matchLabels : null
151+ template :
152+ spec :
153+ bootstrap :
154+ configRef :
155+ apiVersion : bootstrap.cluster.x-k8s.io/v1beta1
156+ kind : KubeadmConfigTemplate
157+ name : worker
158+ clusterName : " ${CLUSTER_NAME}"
159+ infrastructureRef :
160+ apiVersion : infrastructure.cluster.x-k8s.io/v1beta1
161+ kind : ProxmoxMachineTemplate
162+ name : ${CLUSTER_NAME}-worker
163+ version : v1.26.5
164+
165+ ---
166+
167+ apiVersion : bootstrap.cluster.x-k8s.io/v1beta1
168+ kind : KubeadmConfigTemplate
169+ metadata :
170+ name : worker
171+ spec :
172+ template :
173+ spec :
174+ postKubeadmCommands :
175+ - " curl -L https://dl.k8s.io/release/v1.27.3/bin/linux/amd64/kubectl -o /usr/local/bin/kubectl"
176+ - " chmod +x /usr/local/bin/kubectl"
177+ - " reboot now"
178+
179+ ---
180+
181+ apiVersion : infrastructure.cluster.x-k8s.io/v1beta1
182+ kind : ProxmoxMachineTemplate
183+ metadata :
184+ name : ${CLUSTER_NAME}-worker
185+ spec :
186+ template :
187+ spec :
188+ image :
189+ url : https://cloud-images.ubuntu.com/jammy/current/jammy-server-cloudimg-amd64-disk-kvm.img
190+ hardware :
191+ cpu : 4
192+ memory : 4096
193+
194+ ---
195+
142196apiVersion : v1
143197data :
144198 PROXMOX_PASSWORD : ${PROXMOX_PASSWORD_BASE64}
You can’t perform that action at this time.
0 commit comments