Use keepalived to pass Ironic IP to target cluster

This PS utilizes the "keepalived" container (https://github.com/metal3-io/baremetal-operator/blob/master/docs/ironic-endpoint-keepalived-configuration.md)
to ensure that the Ironic IP can be passed to the target cluster for management
of the images.

Closes: #641
Change-Id: I2ff6bd1541e8f88725623b7c7991b5bd3e13f7c4
This commit is contained in:
Josh Herrera 2021-11-12 13:40:42 -08:00
parent 1aab57af13
commit c2d08a4b83
5 changed files with 11 additions and 8 deletions

View File

@ -2,7 +2,7 @@ apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
namespace: metal3
resources:
- upstream/default
- upstream/keepalived
- config-file
- entrypoint
- ironic-pv.yaml

View File

@ -5,14 +5,17 @@ https_proxy=""
NO_PROXY=""
no_proxy=""
PROVISIONING_INTERFACE=ironicendpoint
PROVISIONING_INTERFACE=eth2
PROVISIONING_IP=172.22.0.2
PROVISIONING_CIDR=""
DHCP_RANGE=172.22.0.10,172.22.0.100
HTTP_PORT=6180
DEPLOY_KERNEL_URL=http://PROVISIONING_IP:HTTP_PORT/images/ironic-python-agent.kernel
DEPLOY_RAMDISK_URL=http://PROVISIONING_IP:HTTP_PORT/images/ironic-python-agent.initramfs
DEPLOY_KERNEL_URL=http://PROVISIONING_IP:HTTP_PORT/images/ipa-ubuntu-master.kernel
DEPLOY_RAMDISK_URL=http://PROVISIONING_IP:HTTP_PORT/images/ipa-ubuntu-master.initramfs
IRONIC_ENDPOINT=http://PROVISIONING_IP:6385/v1/
IRONIC_INSPECTOR_ENDPOINT=http://PROVISIONING_IP:5050/v1/
# CACHEURL=http://172.22.0.1/images
IRONIC_FAST_TRACK=true
IRONIC_KERNEL_PARAMS=console=ttyS0
IRONIC_INSPECTOR_VLAN_INTERFACES=all
RESTART_CONTAINER_CERTIFICATE_UPDATED=false

View File

@ -15,6 +15,6 @@ spec:
apiserverCertSANs: "[10.23.25.101, 10.23.24.101]"
ironic:
provisioningIp: "10.23.24.101"
provisioningIp: "10.23.24.137"
dhcpRange: "10.23.24.200,10.23.24.250"
ironicAutomatedClean: true

View File

@ -14,6 +14,6 @@ spec:
apiserverCertSANs: "[10.23.25.102, 10.23.24.102]"
ironic:
provisioningIp: "10.23.24.102"
provisioningIp: "10.23.24.137"
dhcpRange: "10.23.24.200,10.23.24.250"
ironicAutomatedClean: true

View File

@ -8,5 +8,5 @@ spec:
k8scontrol:
# Host the image in a locally served location for CI
cluster_controlplane_image:
url: http://10.23.24.101:80/images/control-plane.qcow2
checksum: http://10.23.24.101:80/images/control-plane.qcow2.md5sum
url: http://10.23.24.137:80/images/control-plane.qcow2
checksum: http://10.23.24.137:80/images/control-plane.qcow2.md5sum