mirror of https://github.com/kubernetes/kops.git
Use EnsureTask for create static pod directory
This commit is contained in:
parent
c5d6c37282
commit
c928b7e6c5
|
@ -50,6 +50,10 @@ On nodes:
|
||||||
|
|
||||||
* kube-proxy (which configures iptables so that the k8s-network will work)
|
* 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 start
|
||||||
|
|
||||||
Kubelet starts up, starts (and restarts) all the containers in /etc/kubernetes/manifests.
|
Kubelet starts up, starts (and restarts) all the containers in /etc/kubernetes/manifests.
|
||||||
|
|
|
@ -95,7 +95,7 @@ func (b *KubeletBuilder) Build(c *fi.ModelBuilderContext) error {
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
c.AddTask(t)
|
c.EnsureTask(t)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue