-
Notifications
You must be signed in to change notification settings - Fork 262
tf/common: write an installer-dedicated kubelet.env
#1659
Conversation
893b7e3 to
be4ca90
Compare
07815e9 to
ac452a5
Compare
|
@lucab do you need to update the |
|
@squat no, that will be done by a dedicate bootstrapper. See the TODO line in this PR and the linked Jira ticket. |
|
@lucab got it. looks good |
|
@s-urbaniak would prefer to hold this for one more iteration, in order to try avoiding introducing more assets duplication. |
|
Looks really cool. I like the approach! |
1101ebe to
3b077ec
Compare
|
retest this |
|
ok to test |
3b077ec to
339a8fb
Compare
|
Except for the bootkube master node, this file must not exist so that kubelet.service is blocked until another service queries an available API server for the version to use (e.g. the bootstrapping API server). The process of launching bootkube+writing the env file on bootkube master, or querying the bootstraping API server+writing the env file is generic to all platforms. We worked a lot on simplifying the node states, the amount of configuration/files/services needed on each of them and the bootstrapping flow. I'd advocate for continuing to keep this as simple as possible and unifying the ignition files for all platforms. Adding an extra file However, note that the interaction with the node agent is sensitive too and would have to be taken into consideration. /cc @yifan-gu (who worked on the initial solution with me) |
f7d4abe to
e1ea1e2
Compare
|
ok to test |
e8baea2 to
cfc8183
Compare
|
The |
a15eaa3 to
f03d13c
Compare
This updates all platforms to write the initial `kubelet.env` under an installer-dedicated directory `/etc/kubernetes/installer/`, in order to differentiate between the file dropped by terraform/ignition and the one written by a bootstrap agent. It is a prerequisite for OST-23.
f03d13c to
b7ebf38
Compare
This updates all platforms to write the initial
kubelet.envunderan installer-dedicated directory
/etc/kubernetes/installer/, inorder to differentiate between the file dropped by terraform/ignition
and the one written by a bootstrap agent.
It is a prerequisite for OST-23.