https://rancher.com/ logo
Title
c

cool-ocean-71403

06/28/2022, 9:17 PM
Is the ResourceQuota admission plugin enabled by default in k3s install?
c

creamy-pencil-82913

06/28/2022, 11:48 PM
no, it is not. If you want it you should start k3s with
--kube-apiserver-arg=enable-admission-plugins=NodeRestriction,ResourceQuota
c

cool-ocean-71403

06/28/2022, 11:52 PM
Thanks for the info.
c

creamy-pencil-82913

06/28/2022, 11:53 PM
hmm, actually, it looks like that doc is out of date from upstream. We don’t specifically enable it but it appears to be on by default in recent versions
I couldn’t tell you when that was changed upstream though
c

cool-ocean-71403

06/28/2022, 11:57 PM
So I don't need to pass the flag? It is already enbled by default in k3s?
c

creamy-pencil-82913

06/28/2022, 11:57 PM
not in k3s specifically, but just from looking at the logs it appears that the controller is started even if you don’t enable that admission plugin. So I’m not sure what upstream Kubernetes is doing at the moment.
You should probably set that to be sure though.
c

cool-ocean-71403

06/28/2022, 11:58 PM
Alright. Got it.