Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PodPreset #12344

Closed
rfatolahzade opened this issue Aug 24, 2021 · 3 comments
Closed

PodPreset #12344

rfatolahzade opened this issue Aug 24, 2021 · 3 comments
Labels
kind/support Categorizes issue or PR as a support question. long-term-support Long-term support issues that can't be fixed in code

Comments

@rfatolahzade
Copy link

rfatolahzade commented Aug 24, 2021

Hello
How can I enable PodPreset on Minikube?
minikube ssh -n minikube
nano /etc/kubernetes/manifests/kube-apiserver.yaml
Modified:

  • --enable-admission-plugins=PodPreset,......
    And added this line:
  • --runtime-config=settings.k8s.io/v1alpha1=true

But, after these steps, Minikube ApiServer status will be Stopped
Is PodPreset supported on Minikube?

@RA489
Copy link

RA489 commented Aug 25, 2021

/kind support

@k8s-ci-robot k8s-ci-robot added the kind/support Categorizes issue or PR as a support question. label Aug 25, 2021
@spowelljr
Copy link
Member

Hi @RFinland, thanks for reporting your issue with minikube!

I did some research, and from what I found PodPreset was last supported with Kubernetes v1.18, the current version of minikube (v1.23.2) uses Kubernetes version v1.22.1.

You can try passing --kubernetes-version=1.18 into minikube start, but I can't guarantee that it will work.

@spowelljr spowelljr added the long-term-support Long-term support issues that can't be fixed in code label Sep 29, 2021
@rfatolahzade
Copy link
Author

Hi @RFinland, thanks for reporting your issue with minikube!

I did some research, and from what I found PodPreset was last supported with Kubernetes v1.18, the current version of minikube (v1.23.2) uses Kubernetes version v1.22.1.

You can try passing --kubernetes-version=1.18 into minikube start, but I can't guarantee that it will work.

Thank you for your help. I greatly appreciate it, I'll check it out (y)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/support Categorizes issue or PR as a support question. long-term-support Long-term support issues that can't be fixed in code
Projects
None yet
Development

No branches or pull requests

4 participants