https://rancher.com/ logo
Title
s

silly-jordan-81965

06/17/2022, 8:24 AM
Good morning! In order to pass extra args to kube-controller-manager and kube-scheduler where should those go? In the rke_config in my main.tf? I see that the below are available in the cli. So where do i add them?
--kube-controller-manager-arg value          
 --kube-scheduler-arg value
g

great-photographer-94826

06/17/2022, 8:44 AM
Hi! We set in "/etc/rancher/rke2/config.yaml", e.g
kube-apiserver-arg:
  - "enable-admission-plugins=NodeRestriction,PodSecurityPolicy,EventRateLimit"
s

silly-jordan-81965

06/17/2022, 8:46 AM
Hi, thanks for the answer - im trying to figure out where it would go in the terraform script that we use.