-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Document howto enable deprecated k8s APIs #1271
Comments
kind supports patches for the kubeadm configuration: /triage support |
Thanks, adding this to the config seems to work:
I think this is a fairly common use case, having it in the docs would be nice. |
excellent.
docs PRs are always welcome. |
with kind v0.7.0 you can do the following kind config: kind: Cluster
apiVersion: kind.x-k8s.io/v1alpha4
kubeadmConfigPatches:
- |
kind: ClusterConfiguration
apiServer:
extraArgs:
runtime-config: "apps/v1beta1=true,apps/v1beta2=true,extensions/v1beta1/daemonsets=true,extensions/v1beta1/deployments=true,extensions/v1beta1/replicasets=true,extensions/v1beta1/networkpolicies=true,extensions/v1beta1/podsecuritypolicies=true" which will work for v1beta1 and v1beta2 kubeadm versions. I think I'm probably going to add a first-class field for runtime config as it's frequently in need of patching across versions and document that instead though. |
#1816 documentation will follow this first-class runtimeConfig option |
Hi, I am interested to work on this. I think adding above examples (#1271 (comment) and #1271 (comment) ) and some explanations needed in the page Getting Started page: https://github.com/kubernetes-sigs/kind/blob/master/site/content/docs/user/quick-start.md#enable-feature-gates-in-your-cluster |
kind v0.9.0+ has a A note about enabling / disabling k8s APIs probably belongs here. |
Is this issue still open? As @BenTheElder says in previous comment, there is a contents about update kind: Cluster
apiVersion: kind.x-k8s.io/v1alpha4
runtimeConfig:
+ # You can specify multiple APIs.
"api/alpha": "false"
+ "api/beta": "true"
+ ... If it's OK, I will create PRs update like that. |
i think showing multiple sounds good. we should probably specifically mention enabling a deprecated API though per this issue, though increasingly that will not be available in kubernetes anyhow as there's been effort to stabilize the APIs and move to GA + remove anything still deprecated ... |
Yes, I agree with your comments. Sorry for my comment if my comment isn't target for this PR. |
For kubeadm I can do something like this to enable the deprecated APIs in k8s 1.16:
How would I go about creating a kind 1.16 cluster with these APIs enabled?
The text was updated successfully, but these errors were encountered: