Sorry, not using GKE so maybe some things I ask are obvious for someone
that used it.

But what do you mean when gke has changed to running? When there are nodes
in running state?

The kubernetes API exposes node info. Kubectl uses that too, and it might
be enough. Try kubectl get nodes, and see there are several options to tune
the output fields (and even a "-w" to watch)

Would that work? Or am I misunderstanding what you want to do?

On Friday, April 28, 2017, Diwaakartg Ganesh <diwaaka...@gmail.com> wrote:

> I found that *startup scripts* can be added to *Google compute instances*
> using either the console or cli(gcloud). I want to add the *startup
> scripts *to* google container engine. *
>
> The goal is to *notify* me when the *google container engine* has changed
> its state to *Running*. I though one efficient way is to use startup
> scripts in container engine, as these scripts will only be executed when
> the container's status is changed to running.
>
> Any idea how to add startup scripts to container engine or any other way
> of notifying when the container's status changes to running.
>
> --
> You received this message because you are subscribed to the Google Groups
> "Kubernetes user discussion and Q&A" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to kubernetes-users+unsubscr...@googlegroups.com
> <javascript:_e(%7B%7D,'cvml','kubernetes-users%2bunsubscr...@googlegroups.com');>
> .
> To post to this group, send email to kubernetes-users@googlegroups.com
> <javascript:_e(%7B%7D,'cvml','kubernetes-users@googlegroups.com');>.
> Visit this group at https://groups.google.com/group/kubernetes-users.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Kubernetes user discussion and Q&A" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to kubernetes-users+unsubscr...@googlegroups.com.
To post to this group, send email to kubernetes-users@googlegroups.com.
Visit this group at https://groups.google.com/group/kubernetes-users.
For more options, visit https://groups.google.com/d/optout.

Reply via email to