Commit Graph

918 Commits

Author SHA1 Message Date
Justin Santa Barbara bcc1980743 Merge pull request #197 from justinsb/fix_163
Fix build with golang 1.5
2016-07-22 22:53:38 -04:00
Justin Santa Barbara 9a741043bc Fix build with golang 1.5
Replace big.Int Text(10) with String()

Also create a makefile target to test building with golang 1.5:
check-builds-in-go15

Fixes #163
2016-07-22 22:49:54 -04:00
Justin Santa Barbara 169dad6262 Merge pull request #195 from justinsb/fix_194
Fix bug where edit cluster was computing with the old spec
2016-07-22 18:36:40 -04:00
Justin Santa Barbara 1240e1d924 Fix bug where edit cluster was computing with the old spec
Also add some tests, and fix some variable naming to hopefully stop it
happening again.

Fix #194
2016-07-22 18:19:40 -04:00
Justin Santa Barbara b9f06896ed Merge pull request #193 from justinsb/fix_181
Discover an existing InternetGateway when running with Terraform Output
2016-07-22 12:49:41 -04:00
Justin Santa Barbara 94653bd8fc Merge pull request #189 from justinsb/simpler_upgrade
Simpler upgrade procedure: reuse subnet
2016-07-22 12:48:35 -04:00
Justin Santa Barbara bbf1755f57 Discover an existing InternetGateway when running with Terraform Output
We currently don't do discovery of existing resources when running with
Terraform output, but when using a shared VPC this is wrong - we need to
reuse the existing gateway.

Directly discover the existing gateway.  We might need to do full
discovery later, but for now this is sufficient.

Fix #181
2016-07-22 12:48:11 -04:00
Justin Santa Barbara 9e9855d1a4 Simpler upgrade procedure: reuse subnet
By reusing the subnet & security groups, we are able to skip the ELB
steps of the upgrade procedure.  The new cluster also has the same
identity as the old cluster for security groups, so we don't need to
reconfigure ELB etc.

Fixes #175
Fixes #174
2016-07-22 11:47:12 -04:00
Justin Santa Barbara 1a4ccdba1d Merge pull request #191 from justinsb/fix_error_1
Fix build problem
2016-07-22 10:24:42 -04:00
Justin Santa Barbara 42d8a61d7c Fix build problem 2016-07-22 10:23:43 -04:00
Justin Santa Barbara 68f1461833 Merge pull request #190 from justinsb/fix_test
Refactor tests for cleaner separation
2016-07-22 10:23:34 -04:00
Justin Santa Barbara 31892fb08d Refactor tests for cleaner separation 2016-07-22 10:19:01 -04:00
Justin Santa Barbara ffb2ba0ed0 Merge pull request #188 from justinsb/fix_update_command
Add update command to update parent command
2016-07-22 01:13:56 -04:00
Justin Santa Barbara 6f7284ed3d Add update command to update parent command 2016-07-22 01:12:22 -04:00
Justin Santa Barbara 0a3ae80a10 Merge pull request #187 from justinsb/fix_typo
Fix typo in CreateInstanceGroupCmd
2016-07-21 22:21:04 -04:00
Justin Santa Barbara ce162f3f1b Merge pull request #150 from justinsb/fix_27
Adapt IAM policies when running in cn-north-1
2016-07-21 22:20:45 -04:00
Justin Santa Barbara 11d51b04a9 Adapt IAM policies when running in cn-north-1
Fix #27
2016-07-21 22:19:43 -04:00
Justin Santa Barbara ed734bb354 Fix typo in CreateInstanceGroupCmd 2016-07-21 22:17:00 -04:00
Justin Santa Barbara 0d12cd02c7 Merge pull request #182 from justinsb/update_command
Split create command into create and update
2016-07-21 22:15:54 -04:00
Justin Santa Barbara 2fa3bcc952 UX: Split create command into `create` and `update`
We separate out the `create cluster` operation from the `update cluster`
operation.  Now create cluster only creates the spec (unless you pass
--yes), and is only for new clusters.

`update cluster` works on new or existing clusters, and should be called
to apply changes.

`update` is not the best name, because it means something different in
kubectl, but I think it's a good start.
2016-07-21 11:54:09 -04:00
Justin Santa Barbara 5156f6351b Merge pull request #185 from justinsb/terraform_bdm_fixes
Fixes for terraform block device mapping output
2016-07-21 10:10:34 -04:00
Justin Santa Barbara c0477381c1 Fixes for terraform block device mapping output 2016-07-21 10:09:16 -04:00
Justin Santa Barbara 61ef63391c Merge pull request #176 from justinsb/docs_7
Add docs for master resize
2016-07-21 09:31:04 -04:00
Justin Santa Barbara 8fdda787b9 Merge pull request #154 from justinsb/fix_153
Populate kube-apiserver apiserver-count flag for HA
2016-07-21 09:30:45 -04:00
Justin Santa Barbara e1beaa7ac1 Merge pull request #183 from justinsb/kops_export_kubecfg_positional
Support positional arguments for kops export kubecfg
2016-07-21 09:30:18 -04:00
Justin Santa Barbara 472458594f Merge pull request #184 from justinsb/cleaner_dryrun_output
Cleaner dryrun output
2016-07-21 09:30:10 -04:00
Justin Santa Barbara 50159fe47d Cleaner dryrun output 2016-07-21 03:25:57 -04:00
Justin Santa Barbara 5e4b060edd Support positional arguments for kops export kubecfg 2016-07-21 01:29:09 -04:00
Justin Santa Barbara aa51cfa967 Merge pull request #180 from justinsb/delete_cluster_positional_arg
kops delete cluster now recognizes clustername as a positional arg
2016-07-21 01:23:37 -04:00
Justin Santa Barbara 46fe8bd0f3 kops delete cluster now recognizes clustername as a positional arg 2016-07-20 21:27:56 -04:00
Justin Santa Barbara c9759f4247 Merge pull request #178 from justinsb/fix_zero_comparison
Guard against zero values when comparing values
2016-07-20 20:00:35 -04:00
Justin Santa Barbara f67aea54d9 Guard against zero values when comparing values
This seems to happen when comparing map values
2016-07-20 19:55:59 -04:00
Justin Santa Barbara d0a0741f8f Add docs for master resize 2016-07-19 22:46:17 -04:00
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