https://rancher.com/ logo
#terraform-provider-rancher2
Title
# terraform-provider-rancher2
k

kind-air-74358

07/21/2022, 7:55 AM
Hi, I want to create a new Rancher cluster based on existing nodes via
terraform-provider-rancher2
using the resource
rancher2_cluster_v2
. How can I set the networking capabilities of the cluster, like
Cluster CIDR
,
Service CIDR
and
Container Network
? N.b. I want to create an RKE2 cluster in this case.
a

acceptable-garden-16173

07/21/2022, 6:52 PM
You could use the
rke_config.machine_global_config
to set your RKE2 cluster configuration settings (e.g. Cluster CIDR, TLS-SAN, etc.)
k

kind-air-74358

07/22/2022, 5:59 AM
Thank you, you pointed me in the right direction.
9 Views