Addons
Configuration🔗︎
Kubespray addons🔗︎
Kubespray offers many useful configurable addons, such as the Ingress-NGINX controller, MetalLB, and so on.
Kubespray addons can be configured in Kubitect under the addons.kubespray
property. The configuration of Kubespray addons is exactly the same as the default configuration of Kubespray addons, since Kubitect simply copies the provided configuration into Kubespray's group variables when the cluster is created.
All available Kubespray addons can be found in the Kubespray addons sample, while most of them are documented in the official Kubespray documentation.
addons:
kubespray:
# Nginx ingress controller deployment
ingress_nginx_enabled: true
ingress_nginx_namespace: "ingress-nginx"
ingress_nginx_insecure_port: 80
ingress_nginx_secure_port: 443
# MetalLB deployment
metallb_enabled: true
metallb_speaker_enabled: true
metallb_ip_range:
- "10.10.9.201-10.10.9.254"
metallb_pool_name: "default"
metallb_auto_assign: true
metallb_version: v0.12.1
metallb_protocol: "layer2"