Commit Graph

485 Commits

Author SHA1 Message Date
Justin Santa Barbara bcf7505cda Update makefiles to include git, exclude glide
We need git to get the HEAD version for including in the built
executable (for e.g. `kops version`)

We don't need glide to build - our deps should already be in vendor
2016-07-27 01:05:35 -04:00
Justin Santa Barbara 62037e0029 Merge pull request #214 from justinsb/more_deps_2
More missing deps
2016-07-27 00:11:06 -04:00
Justin Santa Barbara 17709f212a More missing deps 2016-07-27 00:05:44 -04:00
Justin Santa Barbara 68076b4f01 Merge pull request #213 from justinsb/more_deps
Add missing dependencies
2016-07-27 00:00:10 -04:00
Justin Santa Barbara a4c7343885 Add missing dependencies 2016-07-26 23:58:58 -04:00
Justin Santa Barbara 5297e434f1 Merge pull request #207 from justinsb/update_deps
Use submodules instead of glide
2016-07-26 23:51:37 -04:00
Justin Santa Barbara 3242697965 Merge pull request #211 from justinsb/typo_1
Fix typo: istance -> instance
2016-07-26 23:51:25 -04:00
Justin Santa Barbara 2a43565e30 Fix typo: istance -> instance 2016-07-26 19:05:26 -04:00
Justin Santa Barbara 937ab4cc78 Merge pull request #206 from thefotios/fix_15_template_incompatability
Remove {{- ... -}} from AWS templates for 1.5 compatability
2016-07-26 11:40:14 -04:00
Justin Santa Barbara 4b7adf6884 Use submodules instead of glide
Manual management of dependencies still seems easier, sadly.
2016-07-26 11:23:24 -04:00
Fotios Lindiakos be2fcca933 Remove trimming in AWS templates 2016-07-26 11:14:55 -04:00
Justin Santa Barbara b3713f66d3 Merge pull request #201 from justinsb/kubelet_fast_path
Make sure master uses 127.0.0.1:8080 to reach apiserver
2016-07-25 10:44:05 -04:00
Justin Santa Barbara 5c87261622 Make sure master uses 127.0.0.1:8080 to reach apiserver
This should be a little faster
2016-07-25 10:11:42 -04:00
Justin Santa Barbara b11c573995 Merge pull request #200 from justinsb/vfs_test
Add test for bigint format
2016-07-24 23:46:12 -04:00
Justin Santa Barbara 172ffe8328 Merge pull request #26 from justinsb/dns-controller
Replace kope-aws controller with in-tree DNS controller
2016-07-24 23:46:03 -04:00
Justin Santa Barbara bdb8e77079 Import code for new DNS controller
It uses the dnsprovider code in the k8s repo, and it looks for
annotations on pods, ingress, nodes & services.
2016-07-24 23:42:49 -04:00
Justin Santa Barbara 97cb6a7296 Add test for bigint format 2016-07-24 21:49:35 -04:00
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