https://rancher.com/ logo
#k3s
Title
# k3s
c

cuddly-egg-57762

08/10/2022, 9:07 AM
hello, I'm having problems using the manifest file to deploy cilium after cluster init because it find that the node is not ready. Of course it's not ready because the network is missing so the job pod which should install cilium cannot be scheduled 😄 :
Copy code
0/1 nodes are available: 1 node(s) had untolerated taint {<http://node.kubernetes.io/not-ready|node.kubernetes.io/not-ready>: }. preemption: 0/1 nodes are available: 1 Preemption is not helpful for scheduling.
am I missing something? Or should I deploy cilium in a different way and then deploy other helm resource using the manifests? Thanks for your help
l

late-needle-80860

08/10/2022, 6:18 PM
I find it more manageable to deploy Cilium via Helm directly … and not by injecting a Helm YAML manifest into the K3s manifests dir.
c

cuddly-egg-57762

08/11/2022, 7:30 AM
thanks, I'll do it in the same way
c

creamy-pencil-82913

08/15/2022, 8:04 PM
This is what the
bootstrap
flag on the HelmChart manifest is for. If you set that to true, it will run it on a server node, and with tolerations for not-ready status.
https://rancher.com/docs/k3s/latest/en/helm/#helmchart-field-definitions
spec.bootstrap False Set to True if this chart is needed to bootstrap the cluster (Cloud Controller Manager, etc)
l

late-needle-80860

08/17/2022, 7:07 AM
Cool @creamy-pencil-82913 - thank you
Will that parameter also help if one injects a Helm chart into the /manifests folder on the first control-plane node? So that after the component is installed will
bootstrap: True
help one avoid the chart being tried installed again on e.g. node restart? Right now we’re injecting the chart >> then deleting it after installation. Thank you
c

creamy-pencil-82913

08/17/2022, 4:13 PM
No, it doesn't change anything other than how the install job pod is configured (host net + tolerations)
🎯 1
l

late-needle-80860

08/17/2022, 5:26 PM
Thank you for elaborating @creamy-pencil-82913
c

cuddly-egg-57762

08/29/2022, 12:31 PM
thanks a lot @creamy-pencil-82913!
60 Views