Skip to content
Snippets Groups Projects
Select Git revision
  • fb56dbb64deb3efb8424e224f2dfadd993752c1a
  • master default protected
2 results

main.yaml

Blame
  • main.yaml 7.18 KiB
    ---
    # KSZK lablabs.rke2 role
    # Default nodetaints
    # node_taints: []
    
    # The node type - server or agent
    # rke2_type: server
    
    # Deploy the control plane in HA mode
    rke2_ha_mode: true
    
    # Install and configure Keepalived on Server nodes
    # Can be disabled if you are using pre-configured Load Balancer
    rke2_ha_mode_keepalived: true
    
    # Install and configure kube-vip LB and VIP for cluster
    # rke2_ha_mode_keepalived needs to be false
    rke2_ha_mode_kubevip: false
    
    # Kubernetes API and RKE2 registration IP address. The default Address is the IPv4 of the Server/Master node.
    # In HA mode choose a static IP which will be set as VIP in keepalived.
    # Or if the keepalived is disabled, use IP address of your LB.
    rke2_api_ip: "10.44.44.44"
    
    # optional option for kubevip IP subnet
    # rke2_api_cidr: 24
    
    # optional option for kubevip
    # rke2_interface: eth0
    
    # optiononal option for kubevip load balancer IP range
    # rke2_loadbalancer_ip_range: 192.168.1.50-192.168.1.100
    
    # Install kubevip cloud provider if rke2_ha_mode_kubevip is true
    rke2_kubevip_cloud_provider_enable: true
    
    # Enable kube-vip to watch Services of type LoadBalancer
    rke2_kubevip_svc_enable: true
    
    # Add additional SANs in k8s API TLS cert
    rke2_additional_sans:
      # Allow from the master IPs
      - 10.44.1.11
      - 10.44.1.12
      - 10.44.1.13
      # - 10.44.44.44 # Automatically added rke2_api_ip
    
    # API Server destination port
    rke2_apiserver_dest_port: 6443
    
    # If false, server node(s) will be schedulable and thus your workloads can get launched on them
    rke2_server_taint: true
    
    # Pre-shared secret token that other server or agent nodes will register with when connecting to the cluster
    # rke2_token: Set in main.yaml.secret
    
    # RKE2 version
    rke2_version: v1.25.3+rke2r1
    
    # URL to RKE2 repository
    rke2_channel_url: https://update.rke2.io/v1-release/channels
    
    # URL to RKE2 install bash script
    # e.g. rancher chinase mirror http://rancher-mirror.rancher.cn/rke2/install.sh
    rke2_install_bash_url: https://get.rke2.io
    
    # Local data directory for RKE2
    rke2_data_path: /var/lib/rancher/rke2
    
    # Default URL to fetch artifacts