kubeconfig

Enable IPVS Mode in Kube Proxy on a ready Kubernetes Local Cluster

99封情书 提交于 2020-07-03 09:25:10
问题 I want to enable the Kube-proxy mode to IPVS in the existing cluster. currently, it is running on IPtables. how can I change it to IPVS without affecting the existing workload? I have already installed all the required modules to enable it. Also, my cluster is installed using kubeadm but, I have not used the configuration file during installation. what should be the command exactly to enable the IPVS on my cluster. documentation1 documentation2 回答1: Edit the configmap kubectl edit configmap

gcloud does not add access token for connecting to GKE cluster

久未见 提交于 2020-01-25 10:16:09
问题 I created a GKE cluster and to connect to it with kubectl ran the command that appears when clicked on Connect button against my cluster. gcloud container clusters get-credentials cluster-name --zone us-central1-a --project project-id In $HOME/.kube/config I see entries as below: - name: cluster-name user: auth-provider: config: cmd-args: config config-helper --format=json cmd-path: /usr/lib64/google-cloud-sdk/bin/gcloud expiry-key: '{.credential.token_expiry}' token-key: '{.credential.access