I think there's (currently at least) no other way than modify the launch
configuration changing, for example, the "user data" that Amazon runs that
on start (check that there is something now, so be sure to not remove it or
the node won't join your k8s cluster, I think).

It depends on what you want to do, it might be possible to just use a
daemonSet and no change to the launch configuration

On Sunday, July 3, 2016, Ori Popowski <[email protected]> wrote:

> Hi,
>
> Is there a way to automatically run scripts on nodes that are added to the
> cluster?
>
> More specifically:
> Incrementing the auto-scaling group in AWS causes the added instances to
> be added automatically to the Kubernetes cluster. Is there a way to tell
> Kubernetes to run some scripts on the newly added node?
>
> Thanks
>
> --
> You received this message because you are subscribed to the Google Groups
> "Containers at Google" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected]
> <javascript:_e(%7B%7D,'cvml','google-containers%[email protected]');>
> .
> To post to this group, send email to [email protected]
> <javascript:_e(%7B%7D,'cvml','[email protected]');>.
> Visit this group at https://groups.google.com/group/google-containers.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Containers at Google" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/google-containers.
For more options, visit https://groups.google.com/d/optout.

Reply via email to