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
Justin Santa Barbara
4e744ffa32
Merge pull request #92 from justinsb/upup_readme
...
upup: fix typo
2016-06-10 18:48:11 -04:00
Justin Santa Barbara
b091e4ad60
upup: fix typo
...
Duplicated zone name
2016-06-10 18:47:12 -04:00
Justin Santa Barbara
c64e05b4d9
Merge pull request #90 from justinsb/upup_polish_3
...
upup: more polish
2016-06-10 13:41:30 -04:00
Justin Santa Barbara
d489fccd28
upup: make NodeConfig be JSON-clean
...
We use JSON-merging in our option parsing, so we need it to only
populate values that are actually set.
2016-06-10 13:37:48 -04:00
Justin Santa Barbara
f3ebc088f1
upup: make LaunchConfiguration compatible with terraform
...
This way we can output a LaunchConfiguration prefix into terrform that
we can then read later, so that we can create with terraform and then
transfer to another mode of operation if desired.
2016-06-10 13:36:36 -04:00
Justin Santa Barbara
c54ef2773d
upup: support Base64 and raw-string JSON encoding of certs/keys
...
For compatability reasons, we write the certificate & keys as base64
encoded strings. I don't think we have to any more, but we have to be
able to parse it.
2016-06-10 13:35:40 -04:00
Justin Santa Barbara
70002068fa
upup: Allow node-count to be specified on the CLI
...
The other super-important option!
2016-06-10 13:35:16 -04:00
Justin Santa Barbara
329039497e
Merge pull request #89 from justinsb/upup_gofmt
...
upup: apply gofmt
2016-06-10 11:42:20 -04:00
Justin Santa Barbara
7543d1c19d
upup: apply gofmt
...
Missed a few gofmt places
2016-06-10 11:41:10 -04:00
Justin Santa Barbara
aa8909e60d
Merge pull request #88 from justinsb/upup_dryrun_print_json
...
upup: use JSON as fallback in --dryrun printing
2016-06-10 11:39:10 -04:00
Justin Santa Barbara
1cbcb82fe9
upup: use JSON as fallback in --dryrun printing
...
Rather than giving up with an error, we can simply use JSON format.
2016-06-10 11:38:21 -04:00
Justin Santa Barbara
9524548999
Merge pull request #87 from justinsb/upup_rollingupdate
...
upup: add experimental cluster rolling-update command
2016-06-10 11:37:59 -04:00
Justin Santa Barbara
f3cfe88c94
Merge pull request #86 from justinsb/upup_split_launchconfiguration
...
upup: split launchconfiguration from ASG
2016-06-10 11:37:08 -04:00
Justin Santa Barbara
9b32edfb81
upup: add experimental cluster rolling-update command
...
Little more than a hack right now, but a good place to start.
2016-06-10 11:36:57 -04:00