Hi

I use GKE.
I set the metadata "startup-script-url" to apply my startup-script file as 
follows. 

{
  "cluster": {
    "name": "cluster1",
    "initialNodeCount": 3,
    "nodeConfig": {
      "metadata": {
        "startup-script-url": 
"https://storage.googleapis.com/my-bucket/my-startup-script "
      }
    }
  }
}

But my startup-script dose not work. When I create a GCE instance with the 
metadata "startup-script-url", I'm able to make it work. I think that I can 
apply a startup-script to GKE instances in the same way to apply a 
startup-script to GCE instances.

I referred to this site how to apply the startup-script to the instance.
https://cloud.google.com/compute/docs/startupscript

Cannot I apply the metadata "startup-script-url" to GKE instance on 
specifications?
Dose anyone have any idea?

Regards,
Shigeomi

-- 
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 [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/kubernetes-users.
For more options, visit https://groups.google.com/d/optout.
  • [kubernetes-use... Shigeomi Takada
    • Re: [kuber... 'Robert Bailey' via Kubernetes user discussion and Q&A

Reply via email to