๋ฒ๊ทธ ๋ณด๊ณ
kubeadm ๋ฒ์ ( kubeadm version
):v1.13.2
ํ๊ฒฝ :
kubectl version
):v1.13.2uname -a
):4.15.0-43-generickubeadm init
์คํํ๋ฉด ๋ค์๊ณผ ๊ฐ์ ๊ฒฐ๊ณผ๊ฐ ๋ํ๋ฉ๋๋ค. (๋ช
๋ น์ด ์ฑ๊ณต์ ์ผ๋ก ์๋ฃ๋์์ต๋๋ค.)
...
[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
...
์ด ์ถ๋ ฅ์๋ "bootstraptoken" ๋ฐ "bootstrap-token"์ธ ๋ถํธ์คํธ๋ฉ ํ ํฐ์ ์๋ฏธ์ ๋ํ ๋ ๊ฐ์ ๋ฌธ์์ด์ด ์์ต๋๋ค.
๊ฐ์ ๋จ์ด๋ก ํต์ผํด์ผ ํฉ๋๋ค.
๊ทธ๊ฒ์ ๊ณ ์น ์ ์๋ 2๊ฐ์ง ์ต์
์ด ์์ต๋๋ค.
์ปค๋ฐ kubernetes/ kubernetes@e743f0e4759510cf70dbb55929c2439a85d41f68 ์์ "bootstrap-token"์ด ๋์
๋์์ต๋๋ค. ๊ทธ๋ฆฌ๊ณ ๋ค๋ฅธ ์ฝ๋์๋ "bootstraptoken"์ด ์์ต๋๋ค.
IMHO, ์ต์
1์ ์ ํํด์ผ ํฉ๋๋ค.
kubeadm init
์คํํ๋ฉด ๋ฉ๋๋ค.
๋ด ์๊ฒฌ์ด ๊ด์ฐฎ๋ค๋ฉด(์์ ์ต์ 1) ์์ ํ๊ฒ ์ต๋๋ค.
@atoato88 ์ ๋ณด ๊ฐ์ฌํฉ๋๋ค.
-
๋ฅผ ์ฌ์ฉํ์ฌ ๋จ์ด๋ฅผ ๊ตฌ๋ถํ๋ [mark-control-plane]
์ ๊ฐ์ ๋ค๋ฅธ ๋จ๊ณ๊ฐ ์์ผ๋ฏ๋ก ์ต์
2๋ฅผ ์ ํํด์ผ ํฉ๋๋ค.
PR์ ๋ณด๋ผ ์ ์๋์ง ์๋ ค์ฃผ์ญ์์ค.
์ด ์บ์น์ ๋ํ thx @atoato88 :rocket:
@neolit123 ์๊ฒ ์ต๋๋ค. ์ต์ 2๋ก ์์ ํ๊ฒ ์ต๋๋ค.
๊ฐ์ฌ ํด์!
/์๋ช
์ฃผ๊ธฐ ํ์ฑ
๊ฐ์ฅ ์ ์ฉํ ๋๊ธ
@atoato88 ์ ๋ณด ๊ฐ์ฌํฉ๋๋ค.
-
๋ฅผ ์ฌ์ฉํ์ฌ ๋จ์ด๋ฅผ ๊ตฌ๋ถํ๋[mark-control-plane]
์ ๊ฐ์ ๋ค๋ฅธ ๋จ๊ณ๊ฐ ์์ผ๋ฏ๋ก ์ต์ 2๋ฅผ ์ ํํด์ผ ํฉ๋๋ค.PR์ ๋ณด๋ผ ์ ์๋์ง ์๋ ค์ฃผ์ญ์์ค.