Configure Automation Orchestrator Kubernetes CIDR
Automation Orchestrator
Kubernetes CIDRYou can change the Kubernetes Classless Inter-domain Routing (CIDR) subnet masks after deployment.
- Verify that the CIDR address values support at least 1024 hosts.
- The internal cluster CIDR and internal service CIDR must not share the same subnet value.
- The CIDR value for one of the subnets cannot include the value you want to add to the other subnet.For example, thecluster-cidrvalue cannot be10.244.4.0/22 10.244.4.0/24, because this would also include the subnet value for theservice-cidrproperty. Each subnet value must be added separately.
The
Automation Orchestrator
Appliance
configures and runs a Kubernetes cluster. The pods and services in this cluster are deployed in separate IPv4 subnets, represented by the internal cluster CIDR and internal service CIDR, respectively. The default values of the subnet masks set during OVF deployment are the following:Kubernetes network property | Default value | Property description |
cluster-cidr | 10.244.0.0/22 | The CIDR used for pods running inside the Kubernetes cluster. |
service-cidr | 10.244.4.0/22 | The CIDR used for Kubernetes services inside the Kubernetes cluster. |
The default CIDR network addresses can create a conflict with outside private networks that you might be using. In such scenarios, you can change the configuration of these CIDR values either during or after deploying your
Automation Orchestrator
Appliance
.For information on changing the CIDR configuration during appliance deployment, see Download and Deploy the Automation Orchestrator Appliance.
- Log in to theAutomation Orchestrator Applianceasroot.
- Run thevracli upgrade exec -y --prepare --profile k8s-subnetscommand.
- Back up yourAutomation Orchestratordeployment by taking a virtual machine (VM) snapshot. See Take a Snapshot of a Virtual Machine.Automation Orchestrator8.x does not currently support memory snapshots. Before taking the snapshot of yourAutomation Orchestratordeployment, verify that theSnapshot the virtual machine’s memoryoption is deactivated.
- Change the values of the cluster CIDR and service CIDR subnets by running thevracli network k8s-subnetscommand.vracli network k8s-subnets --cluster-cidr <CIDR_value> --service-cidr <CIDR_value>
- To finish the CIDR configuration process, run thevracli upgrade execcommand.