kelseyhightower / self-deploying-hello-universe

What if applications could deploy themselves?
Apache License 2.0
124 stars 26 forks source link

add project, bucket, object parameters to the command line #3

Open marcosvm opened 7 years ago

marcosvm commented 7 years ago

@kelseyhightower

This Pull Request adds the parameters to the command line, project, bucket and object.

It was helpful for me to test hello-universe in my GCP account, it may be helpful for other Gophers:

[marcosvm@olive] ~/go/src/github.com/marcosvm/hello-universe (marcosvm/few_parameters)
➜ hello-universe -kubernetes -replicas 3  -cpu-limit 200m -memory-limit 500M -project vmlabs-173703 -bucket vmlabs-hello-universe
Starting hello-universe...
Building hello-universe binary...
Created: /var/folders/sv/85b4t3s94jn4s9llrv5p17_w0000gn/T/930545350/hello-universe
Object vmlabs-hello-universe/b790b742a4807b1655ebd118a9c987a7dbf6b7cf6f5b699828f41aa0e52e4dc6/hello-universe already exists, skipping upload.
Creating hello-universe ReplicaSet...
Starting hello-universe...
Starting hello-universe...
Starting hello-universe...