Skip to content
This repository was archived by the owner on Aug 12, 2025. It is now read-only.

Commit fbfbd0b

Browse files
author
Gianluca Arbezzano
committed
Enable Control Plane elastic ip management in CCM
This PR enables the Elastip IP management for Control Plane in CCM. One of the Packet CCM responsibility is to health check the Control Plane IP and move the Elastic IP to an healthy control plane. In order to do that the configuration has to be set to CCM secret.
1 parent 09c2adf commit fbfbd0b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

templates/cluster-template.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ spec:
3434
netmask 255.255.255.255
3535
EOF
3636
- systemctl restart networking
37-
- 'kubectl --kubeconfig /etc/kubernetes/admin.conf create secret generic -n kube-system packet-cloud-config --from-literal=cloud-sa.json=''{"apiKey": "{{ .apiKey }}","projectID": "${PROJECT_ID}"}'''
37+
- 'kubectl --kubeconfig /etc/kubernetes/admin.conf create secret generic -n kube-system packet-cloud-config --from-literal=cloud-sa.json=''{"apiKey": "{{ .apiKey }}","projectID": "${PROJECT_ID}", "eipTag": "cluster-api-provider-packet:cluster-id:${CLUSTER_NAME}"}'''
3838
- kubectl apply --kubeconfig /etc/kubernetes/admin.conf -f https://github.com/packethost/packet-ccm/releases/download/v1.1.0/deployment.yaml
3939
preKubeadmCommands:
4040
- sed -ri '/\sswap\s/s/^#?/#/' /etc/fstab

0 commit comments

Comments
 (0)