kubernetes-apiserver

How to use kubeadm-init configuration parameter- “controlPlaneEndpoint”?

余生颓废 提交于 2020-08-06 02:16:46
问题 I think my focus is on how to use this configuration parameter- "controlPlaneEndpoint". It is currently buggy to use "controlPlaneEndpoint". https://kubernetes.io/docs/setup/independent/high-availability/ I really hope you can be patient to see my actual situation. First, The configuration parameter- "controlPlaneEndpoint" is a vip or a Load balancing, right? So, I configure “controlPlaneEndpoint” with 4 layer load balancing; I tried aws\ali. All the results show that will be probability of

Are Kubernetes API calls secret update and configmap update atomic calls?

♀尐吖头ヾ 提交于 2019-12-11 04:34:33
问题 Is client.Secrets(namespace).Update(secret) an atomic call? If this call fails somehow, does the original secret stored in Kubernetes API server get corrupted? https://github.com/kubernetes/client-go/blob/d1b30110f1abd3b2fb21c5c2daad4345ede8a9fc/kubernetes/typed/core/v1/secret.go#L41 Similarly, is core.ConfigMaps(namespace).Update(configmap) an atomic call? If this call fails, does the existing configmap get corrupted? 回答1: client-go UPDATE is an HTTP PUT, so it will replace the object, and

How to Enable KubeAPI server for HPA Autoscaling Metrics

扶醉桌前 提交于 2019-11-27 04:55:27
I am using Kube version v1.13.0. Since Heapster is depreciated from v1.11 I am stuck in enabling the API server for cluster Metrics to implement HPA. Attached Image for reference Can someone guide me for step by step enable for the API Metrics server or any Demo video. It would be really helpful to proceed further. Please let me know if any further information needed. Thanks Deena I am able to implement HPA using metrics-server as heapster is depreciated. I have followed the following steps: Clone the metrics-server github repo: git clone https://github.com/kubernetes-incubator/metrics-server

Kubernetes: expired certificate

喜欢而已 提交于 2019-11-27 04:32:06
问题 Our Kubernetes 1.6 cluster had certificates generated when the cluster was built on April 13th, 2017. On December 13th, 2017, our cluster was upgraded to version 1.8, and new certificates were generated [apparently, an incomplete set of certificates]. On April 13th, 2018, we started seeing this message within our Kubernetes dashboard for api-server: [authentication.go:64] Unable to authenticate the request due to an error: [x509: certificate has expired or is not yet valid, x509: certificate

How to Enable KubeAPI server for HPA Autoscaling Metrics

浪尽此生 提交于 2019-11-26 11:24:13
问题 I am using Kube version v1.13.0. Since Heapster is depreciated from v1.11 I am stuck in enabling the API server for cluster Metrics to implement HPA. Attached Image for reference Can someone guide me for step by step enable for the API Metrics server or any Demo video. It would be really helpful to proceed further. Please let me know if any further information needed. Thanks Deena 回答1: I am able to implement HPA using metrics-server as heapster is depreciated. I have followed the following