To do this, we will be using Kubernetes Profiles.
{
"name": "<profile_name>",
"description": "<description>",
"customizations": [
{
"component": "kube-apiserver",
"arguments": {
"service-cluster-ip-range": "<range>"
}
}
]
}
3. Create the Kubernetes profile in TKGI. You must be either a TKGI cluster administrator or cluster manager to create a Kubernetes profile in TKGI. To create a Kubernetes profile in TKGI, run the following TKGI CLI command:
tkgi create-k8s-profile CONFIGURATION-FILE
4. Update the cluster with the command
tkgi update-cluster <cluster_name> --kubernetes-profile <profile_name>
replacing <cluster_name> with the name of the cluster you wish to update, and <profile_name> with the name of your profile, as defined in the previous step.
You can then verify the change with the command:
bosh -d <deployment_name> manifest | grep service-cluster-ip-range
You should now see the new CIDR Range you defined.