1

I am using Kubernetes on Google Container Engine.

I want to run an arbitrary script on each host machine when a cluster is created/resized to initialize its configuration. How can I achieve it?

1 Answers1

2

This isn't possible to do in an automated fashion today. You can write a script and ssh into each of your machines after you create your cluster but that won't work if the cluster is resized.

Robert Bailey
  • 599
  • 3
  • 6