Replies: 4 comments
-
Here is the example from the docs explaining how to send the RKE cluster config:
|
Beta Was this translation helpful? Give feedback.
-
I found that on this page: https://registry.terraform.io/providers/rancher/rancher2/latest/docs/resources/cluster |
Beta Was this translation helpful? Give feedback.
-
The follow up on this is "ok, so how do I send the correct config options to RKE?" |
Beta Was this translation helpful? Give feedback.
-
The answer to that is that it may not be possible at this time. In the mean time, a workaround would be to set the network config to none in RKE and install Calico separately with the config that works for you. Here is a tutorial by Tigera (the team that develops Calico) to do just that: https://docs.tigera.io/calico/latest/getting-started/kubernetes/rancher#before-you-begin |
Beta Was this translation helpful? Give feedback.
-
Using the rancher2 terraform provider to deploy RKE clusters with calico CNI and wants to customize the calico config, in this case to add
prometheusMetricsEnabled: true
.Is that possible?
Beta Was this translation helpful? Give feedback.
All reactions