Commit Graph

485 Commits

Author SHA1 Message Date
Justin Santa Barbara ae13e8860b Merge pull request #156 from traveloka/fix-multiple-gopath-dirs
Support the use case where GOPATH is a colon-separated list of paths
2016-07-19 02:38:17 -04:00
Justin Santa Barbara 6ede0a5100 Merge pull request #169 from justinsb/fix_167_b
Fix nil dereference correctly
2016-07-18 15:44:58 -04:00
Justin Santa Barbara ba4b0e303b Fix nil dereference correctly
(I hope)

Also cover more of the cases

Fix #167
2016-07-18 15:43:06 -04:00
Justin Santa Barbara abb64013cb Merge pull request #168 from justinsb/fix_167
Avoid segfault on nil ResourceHolder
2016-07-18 15:36:34 -04:00
Justin Santa Barbara 63806c315e Avoid segfault on nil ResourceHolder 2016-07-18 15:35:19 -04:00
Justin Santa Barbara 184d308944 Merge pull request #155 from justinsb/docs_6
More docs polishing
2016-07-15 15:07:24 -04:00
Michel Alexandre Salim 10f2753394 Support the use case where GOPATH is a colon-separated list of paths
Previously Makefile targets assume that ${GOPATH} contains a single path;
however, this is not the case esp. for Go Version Manager users.

Support this use case by defining ${GOPATH_1ST} to be the first path in
${GOPATH}, and using ${GOPATH_1ST} in the targets.
2016-07-15 13:17:03 +07:00
Justin Santa Barbara 169e911551 More docs polishing 2016-07-15 00:07:31 -04:00
Justin Santa Barbara fed46864c7 Populate kube-apiserver apiserver-count flag for HA
Fix #153
2016-07-14 23:35:41 -04:00
Justin Santa Barbara 62c41cd5b4 Merge pull request #151 from justinsb/fix_27_b
Fix missing string cast
2016-07-14 11:07:39 -04:00
Justin Santa Barbara 18af54de6e Fix missing string cast 2016-07-14 11:06:39 -04:00
Justin Santa Barbara 47ef67a71d Merge pull request #147 from justinsb/fix_69
Clearer error message when importing a cluster with a custom subnet
2016-07-14 11:05:33 -04:00
Justin Santa Barbara 3db3096c1b Merge pull request #149 from justinsb/fix_148
Import the node instance type when importing a cluster
2016-07-14 11:04:29 -04:00
Justin Santa Barbara 57d6e0d8d9 Import the node instance type when importing a cluster
We now query for the launchconfiguration and import the first machine
type we find.

Fix #148
2016-07-14 10:51:39 -04:00
Justin Santa Barbara 7c1177cc82 Clearer error message when importing a cluster with a custom subnet
We can at least give the user better instructions on how to proceed.
Because this is not in general safe though, I'm not sure we want to
gloss over this.

Issue #69
2016-07-14 10:38:32 -04:00
Justin Santa Barbara 844e871478 Merge pull request #146 from justinsb/fix_143
Configuration of admin access to ports 22 and master-443
2016-07-14 10:35:20 -04:00
Justin Santa Barbara 302f23463e Configuration of admin access to ports 22 and master-443
Fix #143
2016-07-14 10:33:26 -04:00
Justin Santa Barbara aa190b8c3f Merge pull request #141 from justinsb/fix_135
Perform as much validation as possible before writing a cluster config
2016-07-14 09:55:15 -04:00
Justin Santa Barbara 1102e7818d Perform as much validation as possible before writing a cluster config
This prevents us getting into a situation where an invalid cluster is
saved, and then cannot be deleted.
2016-07-14 09:54:21 -04:00
Justin Santa Barbara b8fa4c7277 Merge pull request #144 from justinsb/fix_98
Hash the k8s assets
2016-07-14 09:53:06 -04:00
Justin Santa Barbara 1a5a917c9d Hash the k8s assets
This serves both as a security check, but also validates early that the
assets actually exist.

Fix #98
2016-07-14 09:46:48 -04:00
Justin Santa Barbara 76d8a344d3 Merge pull request #142 from justinsb/docs_5
Beginning of docs about commands and args
2016-07-14 09:14:53 -04:00
Justin Santa Barbara 5f627ad793 Beginning of docs about commands and args 2016-07-14 02:43:42 -04:00
Justin Santa Barbara 25d1e97008 Merge pull request #138 from justinsb/fix_136
Don't export kubecfg if we're only doing a --dryrun
2016-07-13 11:11:06 -04:00
Justin Santa Barbara 4b3b0ab59a Don't export kubecfg if we're only doing a --dryrun
We don't have all the keys/certs yet!

Fix #136
2016-07-13 11:09:43 -04:00
Justin Santa Barbara 6c8d5d8ea7 Merge pull request #132 from justinsb/fix_129
Export kubecfg after as create cluster by default
2016-07-12 23:04:30 -04:00
Justin Santa Barbara df56204479 Export kubecfg after as create cluster by default
It is scoped to a particular context, so seems harmless, and users will
(almost?) always do it after creation.

Fix #129
2016-07-12 23:02:43 -04:00
Justin Santa Barbara 01479a112a Merge pull request #131 from justinsb/fix_128
Add version command that prints compiled version
2016-07-12 22:44:25 -04:00
Justin Santa Barbara d77d6f4859 Add version command that prints compiled version
Fix #128
2016-07-12 22:30:12 -04:00
Justin Santa Barbara 2cdd4a5e16 Merge pull request #130 from justinsb/fix_75
DNS fixes
2016-07-12 22:21:09 -04:00
Justin Santa Barbara fb1fa97bec Fix DNS zone creation
Though we don't actually expect to use it, we now pass the nonce that
was missing.

Fix #29
2016-07-12 22:16:48 -04:00
Justin Santa Barbara cae256340b Find matching existing DNS hosted zone
We choose the longest matching existing hosted zone as the default,
rather than the previous heuristic which was overly simplistic.

We also require the hosted zone to exist now; it doesn't seem to really
cost us anything given that the user has to set up DNS delegation
anyway.

Fix #125
2016-07-12 22:15:20 -04:00
Justin Santa Barbara b69ee2a0ee Accept a hosted zone ID for dns-zone
There isn't any real ambiguity.

Fix #75
2016-07-12 22:14:26 -04:00
Justin Santa Barbara e6c454b1c1 Merge pull request #121 from justinsb/docs_root_volume
Add docs for changing root volume type/size
2016-07-11 00:30:29 -04:00
Justin Santa Barbara 6f61e0c5b0 Better formatting for commands with responses 2016-07-11 00:29:00 -04:00
Justin Santa Barbara 9f1143781d Add docs for changing root volume type/size 2016-07-11 00:26:05 -04:00
Justin Santa Barbara 1db0833470 Merge pull request #120 from justinsb/gitignore
Update gitignore
2016-07-11 00:13:29 -04:00
Justin Santa Barbara cd3d7aa882 Update gitignore 2016-07-11 00:12:32 -04:00
Justin Santa Barbara 4dfe3fe8a1 Merge pull request #119 from justinsb/ig_cli
Refactor and improvements to CLI
2016-07-11 00:11:01 -04:00
Justin Santa Barbara d1b399a97d Fix reissue of CA key 2016-07-11 00:09:47 -04:00
Justin Santa Barbara 0f4999aade Fix cluster validation so it is less strict
We now validate the user-provided spec, so we can't enforce that all
fields are populated.  Instead we enforce that if they are populated
they are not invalid.
2016-07-11 00:09:12 -04:00
Justin Santa Barbara 0aed68c260 Add support for deleting an InstanceGroup 2016-07-11 00:08:55 -04:00
Justin Santa Barbara c4f2fbfcaf Tweaks to rolling-update CLI 2016-07-11 00:08:21 -04:00
Justin Santa Barbara 1d59f2aa80 Replace StateStore with a registry
StateStore was highly orientated towards a VFS system; replace it with a
Registry abstraction that is more object based.

We also rationalize much of the CLI (cmd) command logic also.
2016-07-11 00:07:59 -04:00
Justin Santa Barbara 050a6e6190 Merge pull request #118 from justinsb/import_fixes
Import cluster should create the same style name
2016-07-11 00:04:23 -04:00
Justin Santa Barbara eb589fd025 Import cluster should create the same style name 2016-07-11 00:03:22 -04:00
Justin Santa Barbara 0a59675c4b Merge pull request #117 from justinsb/fix_58
Add support for spot instances
2016-07-11 00:02:01 -04:00
Justin Santa Barbara f771c2af4c Add support for spot instances
Fixes #58
2016-07-10 23:56:16 -04:00
Justin Santa Barbara 4ac0395a9f Merge pull request #103 from justinsb/delete_shutting_down_state
Tolerate shutting-down state on instance during delete
2016-07-09 22:32:21 -04:00
Justin Santa Barbara 0c867a8971 Merge pull request #108 from justinsb/fix_96
Detect & delete new ASG launch configs
2016-07-09 22:29:56 -04:00