Dmitry Ukov df2fff0acf Add control plane deployment
K8s control plane is deployed by KubeadmControlPlane controller. This
controller creates CAPI machines and infrastructure objects
(Metal3Machine). Metal3Machine objects are created based on a template
which contins host selector label. Control plane label is assigned to a
particular BareMetalHots object defined inside of the shared
kustomization.

Relates-To: #149
Closes: #221
Change-Id: I3be1750aacf9736ece2944045c036f405e404561
2020-06-11 13:44:42 +00:00

60 lines
1.9 KiB
Plaintext

[DEFAULT]
auth_strategy = noauth
my_ip = $(PROVISIONING_IP)
debug = true
default_boot_interface = ipxe
default_deploy_interface = direct
default_inspect_interface = inspector
default_network_interface = noop
enabled_boot_interfaces = pxe,ipxe,fake,redfish-virtual-media
enabled_deploy_interfaces = direct,fake
enabled_hardware_types = ipmi,idrac,irmc,fake-hardware,redfish
enabled_inspect_interfaces = inspector,idrac,irmc,fake,redfish
enabled_management_interfaces = ipmitool,idrac,irmc,fake,redfish,idrac-redfish
enabled_power_interfaces = ipmitool,idrac,irmc,fake,redfish,idrac-redfish
enabled_raid_interfaces = no-raid,irmc,agent,fake
enabled_vendor_interfaces = ipmitool,no-vendor,idrac,fake
rpc_transport = json-rpc
use_stderr = true
[agent]
deploy_logs_collect = always
deploy_logs_local_path = /shared/log/ironic/deploy
[api]
host_ip = ::
api_workers = $(API_WORKERS)
[conductor]
automated_clean = $(AUTOMATED_CLEAN)
send_sensor_data = true
send_sensor_data_interval = 160
api_url = http://$(PROVISIONING_IP):6385
bootloader = http://$(PROVISIONING_IP):80/uefi_esp.img
[database]
connection = sqlite:///shared/ironic.db
[deploy]
default_boot_option = local
erase_devices_metadata_priority = 10
erase_devices_priority = 0
http_root = /shared/html/
http_url = http://$(PROVISIONING_IP):80
fast_track = $(FAST_TRACK)
[dhcp]
dhcp_provider = none
[inspector]
endpoint_override = http://$(PROVISIONING_IP):5050
[oslo_messaging_notifications]
driver = prometheus_exporter
location = /shared/ironic_prometheus_exporter
transport_url = fake://
[pxe]
images_path = /shared/html/tmp
instance_master_path = /shared/html/master_images
ipxe_enabled = true
pxe_config_template = $pybasedir/drivers/modules/ipxe_config.template
tftp_master_path = /shared/tftpboot
tftp_root = /shared/tftpboot
uefi_pxe_config_template = $pybasedir/drivers/modules/ipxe_config.template
[redfish]
use_swift = false
[service_catalog]
endpoint_override = http://$(PROVISIONING_IP):6385