Admission plugin PodPreset failed

I can’t add PodPreset plugin

Cluster information:

Kubernetes version: 1.18.6
Cloud being used: bare metal
Installation method: kubeadm
Host OS: Centos 7
CNI and version: calico
CRI and version: Docker version 19.03.12, build 48a66213fe

/etc/kubernetes/manifests/kube-apiserver.yaml

  • –enable-admission-plugins=NodeRestriction,PodPreset

After API server restarts
kubectl describe pod -n kube-system kube-apiserver-infra-kuber-master

–enable-admission-plugins=NodeRestriction

Who can help ?

1 Like

I am surprised that since Sep '20 there is noe reply related to this topic.
I have also tried microk8s enable podpreset which failed due to missing addon in repository.

so it seems that microk8s does not yet support podpreset?

Podpresets were were essentially an alpha test feature that never advanced out of that stage. They were completely removed in 1.20.