talos-cluster/cluster.sample.yaml

85 lines
3.2 KiB
YAML

---
# -- The network CIDR for the nodes.
# (REQUIRED) / (e.g. 192.168.1.0/24)
node_cidr: ""
# -- DNS servers to use for the cluster.
# (OPTIONAL) / (DEFAULT: ["1.1.1.1", "1.0.0.1"]) / (Cloudflare DNS)
# node_dns_servers: []
# -- NTP servers to use for the cluster.
# (OPTIONAL) / (DEFAULT: ["162.159.200.1", "162.159.200.123"]) / (Cloudflare NTP)
# node_ntp_servers: []
# -- The default gateway for the nodes.
# (OPTIONAL) / (DEFAULT: the first IP in the node_cidr)
# node_default_gateway: ""
# -- Attach a vlan tag to the Talos nodes. Not needed if ports on your switch are tagged or you are not using VLANs.
# (OPTIONAL) / (REF: https://www.talos.dev/latest/advanced/advanced-networking/#vlans)
# node_vlan_tag: ""
# -- The IP address of the Kube API.
# (REQUIRED) / (NOTE: Choose an unused IP in node_cidr)
cluster_api_addr: ""
# -- Additional SANs to add to the Kube API cert. This is useful if you want to call the Kube API by hostname rather than IP
# (OPTIONAL) / (e.g. ["mycluster.example.com"])
# cluster_api_tls_sans: []
# -- The pod CIDR for the cluster, this must NOT overlap with any existing networks and should be a /16 (64K IPs).
# (OPTIONAL) / (DEFAULT: "10.42.0.0/16")
# cluster_pod_cidr: ""
# -- The service CIDR for the cluster, this must NOT overlap with any existing networks and should be a /16 (64K IPs).
# (OPTIONAL) / (DEFAULT: "10.43.0.0/16")
# cluster_svc_cidr: ""
# -- The Load balancer IP for k8s_gateway, this provides DNS to all your gateways when split DNS is configured on your internal DNS server (Dnsmasq, Pi-hole, etc)
# (REQUIRED) / (NOTE: Choose an unused IP in node_cidr)
cluster_dns_gateway_addr: ""
# -- The Load balancer IP for the internal gateway
# (REQUIRED) / (NOTE: Choose an unused IP in node_cidr)
cluster_gateway_addr: ""
# -- GitHub repository
# (REQUIRED) / (e.g. "onedr0p/cluster-template")
repository_name: ""
# -- GitHub repository branch
# (OPTIONAL) / (DEFAULT: "main")
# repository_branch: ""
# -- Repository visibility (public or private)
# (OPTIONAL) / (DEFAULT: "public") / (NOTE: See the README for information when set private)
# repository_visibility: ""
# -- Domain you wish to use from your Cloudflare account
# (REQUIRED) / (e.g. "example.com")
cloudflare_domain: ""
# -- API Token for Cloudflare with the 'Zone:DNS:Edit' and 'Account:Cloudflare Tunnel:Read' permissions
# (REQUIRED) (NOTE: See the README for information on creating this)
cloudflare_token: ""
# -- The Load balancer IP for the external gateway
# (REQUIRED) / (NOTE: Choose an unused IP in node_cidr)
cloudflare_gateway_addr: ""
# -- The load balancer mode for cilium.
# (OPTIONAL) / (DEFAULT: "dsr") / (NOTE: accepted values are 'dsr' or 'snat') / (REF: https://docs.cilium.io/en/stable/network/kubernetes/kubeproxy-free/)
# cilium_loadbalancer_mode: ""
# -- The IP address of the BGP router, to keep things simple, node network will be used for BGP peering.
# (OPTIONAL) / (e.g. "192.168.1.1") / (REF: https://docs.cilium.io/en/latest/network/bgp-control-plane/bgp-control-plane/)
# cilium_bgp_router_addr: ""
# -- The BGP router ASN
# (OPTIONAL) / (e.g. "64513")
# cilium_bgp_router_asn: ""
# -- The BGP node ASN
# (OPTIONAL) / (e.g. "64514")
# cilium_bgp_node_asn: ""