【发布时间】:2018-12-13 18:24:40
【问题描述】:
我想在 apiserver pod 中设置功能门参数。我该怎么做?我已经使用here的解决方案进行了尝试:
apiVersion: kubeadm.k8s.io/v1alpha1
kind: MasterConfiguration
apiServerExtraArgs:
feature-gates: "RuntimeClass=true"
但它不起作用:
kubectl apply -f update_api_server.yaml
error: unable to recognize "update_api_server.yaml": no matches for kind "MasterConfiguration" in version "kubeadm.k8s.io/v1alpha1"
我使用的是 k8s v1.13.0。 谢谢
【问题讨论】:
标签: configuration kubernetes kubernetes-apiserver