diff --git a/docs/boot-sequence.md b/docs/boot-sequence.md index f73814a9c9..62654d988e 100644 --- a/docs/boot-sequence.md +++ b/docs/boot-sequence.md @@ -50,6 +50,10 @@ On nodes: * kube-proxy (which configures iptables so that the k8s-network will work) +It is possible to add custom static pods by using `fileAssets` in the +cluster spec. This might be useful for any custom bootstraping that +doesn't fit into `additionalUserData` or `hooks`. + ## kubelet start Kubelet starts up, starts (and restarts) all the containers in /etc/kubernetes/manifests. diff --git a/nodeup/pkg/model/kubelet.go b/nodeup/pkg/model/kubelet.go index 8933fbed23..23e635601f 100644 --- a/nodeup/pkg/model/kubelet.go +++ b/nodeup/pkg/model/kubelet.go @@ -95,7 +95,7 @@ func (b *KubeletBuilder) Build(c *fi.ModelBuilderContext) error { if err != nil { return err } - c.AddTask(t) + c.EnsureTask(t) } } {