FEHLERBERICHT
kubeadm-Version (verwenden Sie kubeadm version
): v1.13.2
Umgebung :
kubectl version
): v1.13.2uname -a
):4.15.0-43-genericBeim Ausführen von kubeadm init
ich folgende Ausgabe erhalten. (Befehl erfolgreich beendet.)
...
[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
...
In dieser Ausgabe gibt es zwei Zeichenfolgen für die Bedeutung des Bootstrap-Tokens, die "bootstraptoken" und "bootstrap-token" sind.
Es sollte mit demselben Wort vereinigt werden.
Es gibt 2 Möglichkeiten, es zu beheben.
Unter Commit kubernetes/ kubernetes@e743f0e4759510cf70dbb55929c2439a85d41f68 wird "bootstrap-token" eingeführt. Und es gibt "Bootstraptoken" bei anderem Code.
IMHO sollten wir Option 1 wählen.
Führen Sie einfach kubeadm init
.
Wenn meine Meinung in Ordnung ist (Option 1 oben), werde ich es beheben.
@atoato88 danke für den Bericht.
wir sollten Option 2 wählen, da wir andere Phasen wie [mark-control-plane]
, die -
, um Wörter zu trennen.
lass es mich wissen, ob du eine PR schicken kannst?
thx @atoato88 für diesen Fang :rocket:
@neolit123 OK, ich werde es mit Option 2 beheben.
Danke!
/Lebenszyklus aktiv
Hilfreichster Kommentar
@atoato88 danke für den Bericht.
wir sollten Option 2 wählen, da wir andere Phasen wie
[mark-control-plane]
, die-
, um Wörter zu trennen.lass es mich wissen, ob du eine PR schicken kannst?