GithubHelp home page GithubHelp logo

Comments (7)

cookeem avatar cookeem commented on August 17, 2024

是的,快过期之前再用kubeadm重新生成一次证书就可以了。

from kubeadm-ha.

leeningli avatar leeningli commented on August 17, 2024

证书重新生成有单独的步骤吗?不是在kubeadm init时候生成的吗?中途重新生成的方法是怎么样的?对集群以及集群上的业务会有影响的吧。

from kubeadm-ha.

salwell avatar salwell commented on August 17, 2024

还有1年的时效限制啊,是每个master中ca.key和ca.crt要更换,还是使用ca.key和ca.crt签署apiserver证书?

from kubeadm-ha.

salwell avatar salwell commented on August 17, 2024

不过1年时间,早就换了N个版本了···

from kubeadm-ha.

cookeem avatar cookeem commented on August 17, 2024

@leeningli

$ kubeadm alpha phase certs --help
This command is not meant to be run on its own. See list of available subcommands.

Usage:
  kubeadm alpha phase certs [command]

Aliases:
  certs, certificates

Available Commands:
  all                      Generates all PKI assets necessary to establish the control plane
  apiserver                Generates an API server serving certificate and key
  apiserver-etcd-client    Generates a client certificate for the API server to connect to etcd securely
  apiserver-kubelet-client Generates a client certificate for the API server to connect to the kubelets securely
  ca                       Generates a self-signed kubernetes CA to provision identities for components of the cluster
  etcd-ca                  Generates a self-signed CA to provision identities for etcd
  etcd-healthcheck-client  Generates a client certificate for liveness probes to healthcheck etcd
  etcd-peer                Generates an etcd peer certificate and key
  etcd-server              Generates an etcd serving certificate and key
  front-proxy-ca           Generates a front proxy CA certificate and key for a Kubernetes cluster
  front-proxy-client       Generates a front proxy CA client certificate and key for a Kubernetes cluster
  sa                       Generates a private key for signing service account tokens along with its public key

from kubeadm-ha.

cookeem avatar cookeem commented on August 17, 2024

如果ca证书没有过期,是不需要替换的。v1.13的kubeam开始支持cert renew,官方推荐的方式。
如果你是用v1.11.X版本,建议进行升级,最近爆出来高危漏洞,可获取集群所有节点的root权限,建议进行升级到v1.11.5。 @dotbalo

from kubeadm-ha.

cookeem avatar cookeem commented on August 17, 2024

还没有,但是据说已经不是alpha了

from kubeadm-ha.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.