mirror of https://github.com/k3s-io/k3s
Merge pull request #55207 from caesarxuchao/fix-local-up
Automatic merge from submit-queue. If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>. Fix kubeproxy in hack/local-up-cluster.sh hack/local-up-cluster.sh was broken by https://github.com/kubernetes/kubernetes/pull/53645 Fixed it following instruction in https://github.com/kubernetes/kubernetes/pull/53645#issuecomment-342178172. Thanks to @MrHohn who pointed me to the original PR, saving me another hour scratching my head. @xiangpengzhao @luxas @ncdcpull/6/head
commit
3b4424ce8c
|
@ -737,7 +737,7 @@ function start_kubeproxy {
|
|||
PROXY_LOG=${LOG_DIR}/kube-proxy.log
|
||||
|
||||
cat <<EOF > /tmp/kube-proxy.yaml
|
||||
apiVersion: componentconfig/v1alpha1
|
||||
apiVersion: kubeproxy.config.k8s.io/v1alpha1
|
||||
kind: KubeProxyConfiguration
|
||||
clientConnection:
|
||||
kubeconfig: ${CERT_DIR}/kube-proxy.kubeconfig
|
||||
|
|
Loading…
Reference in New Issue