That would be for K8s, yes. In K8s, you activate an AdmissionController web hook in an argument to kube-apiserver. K3s, if I’m understanding right, uses a different mechanism for configuring the API server process. Where does K3s document this for admission control?
c
creamy-pencil-82913
03/13/2023, 7:30 PM
we use the same mechanism, its just embedded in the main K3s process. If you look at the k3s logs, you’ll see an entry about “running kube-apiserver” with all the apiserver flags that are being used all printed out. You can also add you own flags with the --kube-apiserver-arg option.