diff --git a/ansible/k8s/templates/cilium-bgp-configmap.yaml b/ansible/k8s/templates/cilium-bgp-configmap.yaml index a703cece39ffac4d2b0c39a885cb95887f623845..c3905969c2554769d3e6eb2028233d75241e57da 100644 --- a/ansible/k8s/templates/cilium-bgp-configmap.yaml +++ b/ansible/k8s/templates/cilium-bgp-configmap.yaml @@ -24,5 +24,4 @@ data: - 152.66.192.36/32 - 152.66.192.37/32 - 152.66.192.38/32 - - #- 152.66.192.39/32 - Used by API as Keepalived IP + - 152.66.192.39/32 diff --git a/ansible/k8s/templates/cilium-chart-config.yaml b/ansible/k8s/templates/cilium-chart-config.yaml index 9acf457c21daa9ec1d778da33477499e3e42f903..b4057104871d71f20066d0cc41e1c26e385d951f 100644 --- a/ansible/k8s/templates/cilium-chart-config.yaml +++ b/ansible/k8s/templates/cilium-chart-config.yaml @@ -6,7 +6,7 @@ metadata: spec: valuesContent: |- kubeProxyReplacement: "strict" - k8sServiceHost: 152.66.192.39 + k8sServiceHost: 10.44.44.44 k8sServicePort: 6443 bgp: enabled: true diff --git a/ansible/k8s/vars/main.yaml b/ansible/k8s/vars/main.yaml index 36ef6d193a9cdcbe278ce6d02e4e9afa637fb30e..1776f5e1949d39d4d40210192ed83b9f723c32f8 100644 --- a/ansible/k8s/vars/main.yaml +++ b/ansible/k8s/vars/main.yaml @@ -20,7 +20,7 @@ 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: "152.66.192.39" +rke2_api_ip: "10.44.44.44" # optional option for kubevip IP subnet # rke2_api_cidr: 24 @@ -39,12 +39,11 @@ rke2_kubevip_svc_enable: true # Add additional SANs in k8s API TLS cert rke2_additional_sans: - - k8s-02-api.sch.bme.hu - # - 152.66.192.39 # Automatically adds tje rke2_api_ip # 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