Justin Santa Barbara
75af0d089d
upup: Add VFS context object, centralize usage
...
Replaces ad-hoc construction of VFS paths
2016-06-23 10:27:32 -04:00
Justin Santa Barbara
506d0d555a
Merge pull request #127 from justinsb/upup_upgrade_tooling
...
upup: improved delete; create upup export and upup upgrade
2016-06-23 10:27:32 -04:00
Justin Santa Barbara
ac8ca9ad06
Merge pull request #126 from justinsb/upup_use_vfs
...
upup: use vfs for secretstore/keystore
2016-06-23 10:26:42 -04:00
Justin Santa Barbara
3d36514b56
Merge pull request #125 from justinsb/upup_updates_13
...
Updates for 1.3: Docker 1.11.2, 1.3 image
2016-06-23 10:26:35 -04:00
Justin Santa Barbara
90d7fb87ad
upup: improved delete; create upup export and upup upgrade
2016-06-23 08:59:20 -04:00
Justin Santa Barbara
93f634b428
upup: use vfs for secretstore/keystore
...
This is needed so that we can have encrypted storage and complex keys
(e.g. multiple CA certs). Multiple CA certs are needed for an in-place
upgrade from kube-up v1.
2016-06-23 08:58:54 -04:00
Justin Santa Barbara
fcc1f57c2d
Updates for 1.3: Docker 1.11.2, 1.3 image
2016-06-23 08:58:23 -04:00
Lucas Käldström
607e002e08
Merge pull request #81 from isavin/fix_comments_on_multiline
...
Fix comments in multilines.
2016-06-20 23:23:10 +03:00
Justin Santa Barbara
1783d39b2d
Merge pull request #119 from justinsb/kube13_image
...
Template for k8s 1.3 optimized image
2016-06-20 15:44:21 -04:00
Lucas Käldström
b29d72d2e3
Merge pull request #107 from luxas/remove_old_docs
...
Don't manually deploy proxy with v1.3.0-alpha.5+, remove outdated docs, and improve README.md
2016-06-18 01:30:44 +03:00
Justin Santa Barbara
981147c3a3
Merge pull request #116 from justinsb/upup_polish_7
...
upup: yet more polish
2016-06-17 09:38:17 -04:00
Justin Santa Barbara
75f386235a
upup: rolling-update add mutex lock
2016-06-17 09:36:43 -04:00
Justin Santa Barbara
1e7159a923
upup: detach internet gateway if vpc is to be deleted
2016-06-17 09:36:27 -04:00
Justin Santa Barbara
3ede6c1f4a
upup: uncompress gzipped data in delete cluster
2016-06-17 09:36:12 -04:00
Justin Santa Barbara
8472b39016
upup: symlink models directory for people building from source
2016-06-17 09:35:12 -04:00
Justin Santa Barbara
3040676a3b
upup: enable subnet changes on ASG
...
For kube-up upgrade
2016-06-15 22:56:19 -04:00
Justin Santa Barbara
1a7f157fcb
Merge pull request #113 from justinsb/upup_polish_6
...
upup: more polish
2016-06-15 14:04:38 -04:00
Justin Santa Barbara
22bf484777
upup: Assign subnet CIDRs based on AZs
2016-06-15 14:03:19 -04:00
Justin Santa Barbara
b147091e5c
upup: fix dryrun when adding a subnet
...
When adding a subnet in --dryrun, the ID might not be set during a Find
2016-06-15 14:03:19 -04:00
Justin Santa Barbara
a10c76a954
upup: prevent spurious comparison failure on VPC/IGW
2016-06-15 14:03:19 -04:00
Justin Santa Barbara
77f5ce0cb0
protokube: put etcd data location in same place as before
...
Enables upgrade from kube-up
2016-06-15 13:55:06 -04:00
Justin Santa Barbara
0f2bb40aa1
Merge pull request #111 from justinsb/upup_polish_5
...
upup: more polish
2016-06-13 17:38:43 -04:00
Justin Santa Barbara
eb23e22b3c
upup: rolling-update should take --name, not --cluster-id
2016-06-13 17:37:30 -04:00
Justin Santa Barbara
1c4d5eaa43
upup: glog flag parsing with cobra
...
Bind the glog flags to the root command, use the goflag
parse-empty-slice trick to avoid warnings.
2016-06-13 17:37:30 -04:00
Justin Santa Barbara
14bae04e01
upup: turn down a few more logging messages
2016-06-13 17:37:30 -04:00
Justin Santa Barbara
2d54cb13cd
Merge pull request #110 from justinsb/upup_share_aws_vpc
...
upup: Support for shared VPCs
2016-06-13 17:36:52 -04:00
Justin Santa Barbara
0d617c7ffb
Merge pull request #109 from justinsb/upup_addons
...
upup: experimental addon management
2016-06-13 11:37:07 -04:00
Justin Santa Barbara
0559ec1210
upup: Support for shared VPCs
...
A lot of work that had to happen here:
* Better reuse of config
* Ability to mark VPC & InternetGateway as shared
* Find models relative to the executable, to run from a dir-per-cluster
Fixes #95
2016-06-13 11:37:06 -04:00
Justin Santa Barbara
1bb1e2b548
Merge pull request #108 from justinsb/upup_kubedns
...
upup: switch from skydns to kube-dns
2016-06-13 11:37:03 -04:00
Justin Santa Barbara
530b4c79db
upup: experimental addon management
2016-06-13 11:35:00 -04:00
Justin Santa Barbara
5edefd92a4
upup: switch from skydns to kube-dns
2016-06-13 11:32:24 -04:00
Justin Santa Barbara
c69067868c
Merge pull request #105 from justinsb/upup_polish_4
...
upup: misc polish items found during first real-world tests
2016-06-11 23:33:04 -04:00
Justin Santa Barbara
6925094133
upup: rename zone arg -> zones in README
2016-06-11 23:13:22 -04:00
Justin Santa Barbara
cba6559092
upup: set GO15VENDOREXPERIMENT, update docs for 1.5
...
We set GO15VENDOREXPERIMENT in the makefile. It doesn't appear to
actually work for go code generation, so there's a note in the README
that you really want to be using 1.6 for development.
Fixes #97
2016-06-11 23:09:45 -04:00
Justin Santa Barbara
ff48515e2c
upup: build tar distribution file
...
Enables us to do integration tests
2016-06-11 23:09:44 -04:00
Justin Santa Barbara
55574ec3f5
upup: apply gofmt
2016-06-11 23:09:44 -04:00
Justin Santa Barbara
226f0284b1
upup: Fix log message
2016-06-11 23:09:44 -04:00
Justin Santa Barbara
7006746be4
upup: allow master-size to be specified through CLI
2016-06-11 23:09:44 -04:00
Justin Santa Barbara
53e4875a5b
upup: kubecfg generate can default the master API name
...
It is api.<clustername> by default
2016-06-11 23:08:40 -04:00
Justin Santa Barbara
72afa859a3
upup: delete cluster should take -name to be consistent
...
Still not entirely sure on cluster-id vs name, but name is consistent
2016-06-11 23:08:40 -04:00
Justin Santa Barbara
7e820f89fa
upup: increase etcd initialDelaySeconds
...
Otherwise a transient problem can put etcd into a restart loop, where
k8s backs off and a quorum of nodes won't exist simultaneously.
2016-06-11 23:08:40 -04:00
Justin Santa Barbara
771c436101
Merge pull request #103 from justinsb/upup_dns_zone
...
upup: allow -dns-zone to be specified
2016-06-11 23:06:04 -04:00
Justin Santa Barbara
96247daf6d
Merge pull request #101 from justinsb/upup_fix_delete_asg
...
upup: fixes for ASG deletion
2016-06-11 23:06:00 -04:00
Justin Santa Barbara
f9ac7af7df
Merge pull request #100 from justinsb/upup_zones
...
upup: separate node & master zone configuration; validate
2016-06-11 23:05:55 -04:00
Justin Santa Barbara
b6b2e90dc3
Merge pull request #104 from justinsb/upup_fix_rsecret_race
...
upup: Retry if race detected in FindOrCreateSecret
2016-06-11 23:05:51 -04:00
Justin Santa Barbara
ee056fa975
upup: Retry if race detected in FindOrCreateSecret
...
We do a read / create-if-empty. If the create fails because of a
concurrent creation, we retry the operation.
Fix #73
2016-06-11 22:40:47 -04:00
Justin Santa Barbara
68f899756c
upup: allow -dns-zone to be specified
...
We default to the last two components of the cluster DNS name. But a
lot of people will delelgate a subdomain and want to use that.
Fixes #98
2016-06-11 22:37:24 -04:00
Justin Santa Barbara
0263826163
upup: delete cluster should check status of ASG
...
Before deleting the ASG, we need to check it exists.
Issue #99
2016-06-11 21:33:56 -04:00
Justin Santa Barbara
e63426ce65
upup: delete cluster should eventually give up
...
If it isn't making progress, eventually we should bail out so that we
can use this in scripts. However, we don't need to be too aggressive,
because it is not good to leak resources, and a user will likely
Control-C us pretty fast when they see they're in a loop.
Issue #99
2016-06-11 21:33:56 -04:00
Justin Santa Barbara
b52877e2ce
upup: separate node & master zone configuration; validate
...
We allow --zones & --master-zones to be specified separately now, but we
validate for common errors (using a region where you meant a zone,
duplicating a zone, spanning regions, entering an invalid AZ etc)
2016-06-11 21:06:31 -04:00