RAPPORT D'ERREUR
version de kubeadm (utilisez kubeadm version
):v1.13.2
Environnement :
kubectl version
):v1.13.2uname -a
):4.15.0-43-genericLors de l'exécution de kubeadm init
, j'ai obtenu la sortie suivante. (Commande terminée avec succès.)
...
[mark-control-plane] Marking the node ubuntu-master01 as control-plane by adding the taints [node-role.kubernetes.io/master:NoSchedule]
[bootstrap-token] Using token: tucvyo.5kmgswqycqewn09k
[bootstrap-token] Configuring bootstrap tokens, cluster-info ConfigMap, RBAC Roles
[bootstraptoken] configured RBAC rules to allow Node Bootstrap tokens to post CSRs in order for nodes to get long term certificate credentials
[bootstraptoken] configured RBAC rules to allow the csrapprover controller automatically approve CSRs from a Node Bootstrap Token
[bootstraptoken] configured RBAC rules to allow certificate rotation for all node client certificates in the cluster
[bootstraptoken] creating the "cluster-info" ConfigMap in the "kube-public" namespace
[addons] Applied essential addon: CoreDNS
...
Dans cette sortie, il y a deux chaînes pour la signification du jeton d'amorçage qui sont "bootstraptoken" et "bootstrap-token".
Il devrait être unifié avec le même mot.
Il y a 2 options pour le réparer.
À commit kubernetes/ kubernetes@e743f0e4759510cf70dbb55929c2439a85d41f68 , "bootstrap-token" est introduit. Et il y a des "bootstraptoken" dans un autre code.
À mon humble avis, nous devrions sélectionner l'option 1.
Exécutez simplement kubeadm init
.
Si mon avis est ok (option 1 ci-dessus), je le corrigerai.
@atoato88 merci pour le rapport.
nous devrions choisir l'option 2 car nous avons d'autres phases comme [mark-control-plane]
qui utilisent -
pour séparer les mots.
faites-moi savoir si vous pouvez envoyer un PR?
merci @atoato88 pour cette capture :rocket:
@neolit123 OK, je vais le réparer avec l'option 2.
Merci!
/cycle de vie actif
Commentaire le plus utile
@atoato88 merci pour le rapport.
nous devrions choisir l'option 2 car nous avons d'autres phases comme
[mark-control-plane]
qui utilisent-
pour séparer les mots.faites-moi savoir si vous pouvez envoyer un PR?