Commit Graph

2018 Commits

Author SHA1 Message Date
Justin Santa Barbara f8984ec223 Improve error logging
We've had reports where something has gone wrong (misconfigured zone?)
but AWS is in a retry loop, and we don't get the full error until
timeout.

Log more details.
2017-01-28 14:14:43 -05:00
Justin Santa Barbara b419f2013d Bump to 1.5.0-beta1 2017-01-25 23:45:13 -05:00
Justin Santa Barbara 91e9bfa4f3 Merge pull request #1625 from justinsb/versions_in_channel_manifest
Channel manifest should be version aware
2017-01-25 23:37:29 -05:00
Justin Santa Barbara 379e0ca098 Channel manifest should be version aware
* We can target AMIs to kubernetes versions
* We can recommend / force a kops upgrade
* We can recommend / force a kubernetes upgrade
2017-01-25 23:13:48 -05:00
Justin Santa Barbara a8ad1e64b8 Merge pull request #1622 from justinsb/add_missing_boilerplate
Fix boilerplate / gofmt
2017-01-25 10:19:23 -05:00
Justin Santa Barbara 587c341dd7 Fix boilerplate / gofmt 2017-01-25 09:13:45 -05:00
Chris Love 4b1307f3e4 Merge pull request #1602 from justinsb/docs_existing_subnets
Document existing-subnet requirements
2017-01-25 03:20:49 -07:00
Chris Love 830ce9abbd Merge pull request #1588 from justinsb/protokube_etcd_through_code
protokube: build etcd manifest in code
2017-01-25 02:55:05 -07:00
Chris Love f2f8ed7cfd Merge pull request #1619 from justinsb/fix_1595
Better validate CIDRs - provide some hints on failure
2017-01-25 02:37:58 -07:00
Justin Santa Barbara c89f58d260 Better validate CIDRs - provide some hints on failure
With this:

`kops create cluster ... --admin-access 12.34.56.78`

gives

spec.sshAccess[0]: Invalid value: "12.34.56.78": Could not be parsed as
a CIDR (did you mean "12.34.56.78/32")

Fix #1595
2017-01-25 02:18:35 -05:00
Chris Love 849815b638 Merge pull request #1601 from justinsb/validate_subnet_no_mixing
validation: Validate we specify ids for all subnets
2017-01-24 23:01:41 -07:00
Chris Love 1903d19dc2 Merge pull request #1607 from justinsb/single_az_ha
Make etcd-members-in-same-instance-group into a warning
2017-01-24 23:01:32 -07:00
Chris Love c95e36e209 Merge pull request #1617 from justinsb/delete_cluster_eip_then_ngw
cleanup delete cluster
2017-01-24 23:00:46 -07:00
Chris Love 3f2e1260f1 Merge pull request #1616 from justinsb/bastion_public_name
Use correct bastion name in SSH suggestion
2017-01-24 22:59:30 -07:00
Justin Santa Barbara 6a4ea0fbac Merge pull request #1618 from DualSpark/hack-script-update
updates for hack script
2017-01-25 00:45:40 -05:00
chrislovecnm 4372bb4320 updates for hack script 2017-01-25 00:42:21 -05:00
Justin Santa Barbara 1dd6fe8a43 Make etcd-members-in-same-instance-group into a warning
This allows for simple single-AZ HA configurations.
2017-01-25 00:31:12 -05:00
Justin Santa Barbara 68226a5495 Log when we skip over NAT gateway as shared 2017-01-25 00:29:38 -05:00
Justin Santa Barbara 5afbc00b76 Add test for isSubnet 2017-01-25 00:25:22 -05:00
Justin Santa Barbara bc4b143acc Merge pull request #1584 from justinsb/make_api_access_discoverable
Populate the API access fields, so they are discoverable
2017-01-25 00:16:57 -05:00
Justin Santa Barbara 8154ab7bd2 Merge pull request #1581 from justinsb/fix_1057
Record git version of what we're building
2017-01-25 00:16:38 -05:00
Justin Santa Barbara 3d10e8a048 cleanup delete cluster
Don't try to delete an ElasticIP before deleting the attached NAT
gateway.

Optimize the queries we make when finding subnets for deletion.

Issue #1604
2017-01-25 00:06:32 -05:00
Justin Santa Barbara 77341a4f31 Use correct bastion name in SSH suggestion
Fix #1489
2017-01-25 00:01:51 -05:00
Justin Santa Barbara f0c2e8206b Merge pull request #1603 from justinsb/dont_createroutetable_when_all_shared
Don't create route table at all if all subnets are shared
2017-01-24 22:39:27 -05:00
Justin Santa Barbara ad6bc4e54e Merge pull request #1592 from justinsb/kubedns_min_count_2
kube-dns autoscaler: set min replicas to 2
2017-01-24 22:39:10 -05:00
Justin Santa Barbara 9e015285f8 validation: Validate we specify ids for all subnets
Move our validation to the apimachinery style.  And then add a
validation that we specify IDs either for all subnets or no subnets.
2017-01-24 12:38:52 -05:00
Justin Santa Barbara 27d9ac4872 Populate the API access fields, so they are discoverable 2017-01-24 12:20:54 -05:00
Justin Santa Barbara 7899864409 kube-dns autoscaler: set min replicas to 2
Issue https://github.com/kubernetes/kubernetes/issues/40063

Having a single pod would be a single point of failure.  Multiple pods
should be spread across AZs & nodes by k8s automatically.
2017-01-24 12:19:31 -05:00
Justin Santa Barbara 5ace7ef11b protokube: build etcd manifest in code 2017-01-24 12:14:25 -05:00
Justin Santa Barbara 3185d115cb Don't create route table at all if all subnets are shared
We don't link it up anyway, so we shouldn't try to create it
2017-01-24 11:13:05 -05:00
Justin Santa Barbara 5f956433b9 Document existing-subnet requirements 2017-01-24 10:42:23 -05:00
Kris Nova b3360834dc Merge pull request #1596 from DualSpark/k-c-m-bug-fix
Fixing bug and adding more tests
2017-01-23 21:33:04 -07:00
chrislovecnm 2144f43981 updated per review, improving testing 2017-01-23 11:48:42 -07:00
chrislovecnm e7cd49814a Fixing bug and adding more tests 2017-01-23 11:01:31 -07:00
Chris Love c96a79fd3d Merge pull request #1571 from justinsb/communicate_expected_elb_creation_time
Add message about expected time for NAT gateway creation
2017-01-23 10:09:37 -07:00
Chris Love a54fefc64d Merge pull request #1545 from justinsb/unmangle_apache_license
Unmangle the Apache library
2017-01-23 10:08:53 -07:00
Chris Love 2c2139053f Merge pull request #1541 from justinsb/log_when_starting_kubelet
protokube: log when starting kubelet
2017-01-23 10:08:22 -07:00
Kris Nova 4d49abb272 Merge pull request #1578 from razic/aws-docs-fix
this line is actually not correct
2017-01-22 11:51:09 -07:00
Kris Nova 4b0b0bc8f4 Merge pull request #1587 from justinsb/dump_elbs
dump: add ELB dumping
2017-01-21 20:55:38 -07:00
Justin Santa Barbara a60d7982e0 Tag alpha4, dns-controller 1.5.1 2017-01-21 15:20:31 -05:00
Justin Santa Barbara c25a5ddf0d dump: add ELB dumping 2017-01-21 14:21:25 -05:00
Justin Santa Barbara a0a59f3ef1 Merge pull request #1547 from justinsb/refactor_delete
Refactor delete commands
2017-01-21 14:16:08 -05:00
Justin Santa Barbara 701749a485 Refactor delete commands
* A few edge cases in the ui code (e.g. empty string)
* Move to new command model
* Copy the --yes flag, rather than trying to do special parsing
2017-01-21 13:47:07 -05:00
Kris Nova 930acc3a0f Merge pull request #1540 from justinsb/existing_subnet
Automatically infer VPC & Subnet CIDRs
2017-01-21 11:44:54 -07:00
Kris Nova 14bf3bdfa9 Merge pull request #1527 from justinsb/topology_per_ig
Use instance group subnets instead of topology type
2017-01-21 11:43:39 -07:00
Kris Nova 5bcda268d0 Merge pull request #1570 from justinsb/ignore_elb_ordering
Ignore changes in subnet, security group ordering in ELB
2017-01-21 11:38:33 -07:00
Kris Nova 084758917b Merge pull request #1503 from justinsb/mixed_networking
Turn off validation that master & nodes have same topology
2017-01-21 11:37:39 -07:00
Kris Nova 97afdf9f97 Merge pull request #1357 from justinsb/authn_flags
Add authz flags
2017-01-21 11:36:46 -07:00
Kris Nova 92dfa71968 Merge pull request #1572 from justinsb/skip_terraform_deletions
Skip deletion processing for terraform
2017-01-21 10:52:58 -07:00
Kris Nova 1b50cab930 Merge pull request #1574 from justinsb/lots_of_flags
Map a bunch of flags
2017-01-21 10:50:20 -07:00