Commit Graph

1251 Commits

Author SHA1 Message Date
alok87 2f1ebdea15 Enable/disable bastion, defaults to false 2016-11-23 12:31:51 +05:30
alok87 5457b51c83 Docs - Bastion 2016-11-23 12:26:23 +05:30
Chris Love e306357dcc Merge pull request #940 from emerlinsky/patch-1
Fix generated private subenet CIDR overlap with VPC range
2016-11-22 15:37:58 -07:00
Kris Childress 3e7dff5cb9 Merge pull request #974 from DualSpark/limits-yaml
limits in channels
2016-11-22 16:57:27 -05:00
chrislovecnm a47e0ccc10 missed addons 2016-11-22 16:29:05 -05:00
chrislovecnm 6e9a88151a starting work on limits 2016-11-22 13:20:57 -07:00
Kris Childress ccf733761d Merge pull request #967 from kubernetes/kris-nova-patch-1
Update README.md
2016-11-21 19:51:54 -07:00
Kris Childress 6e12fcf449 Merge pull request #944 from emerlinsky/patch-2
Wait for NatGateway creation to complete
2016-11-21 15:50:48 -07:00
Kris Childress 281bf05c12 Update README.md 2016-11-21 12:09:38 -07:00
Chris Love bb02fe9306 Merge pull request #956 from DualSpark/office-hours
Adding office hours to README
2016-11-21 11:50:32 -07:00
Chris Love 0055732972 Merge pull request #959 from yancl/fix-master-kubelet-validation
fix validation for master kubelet api server
2016-11-21 09:06:43 -07:00
Chris Love 4308340ed2 Merge pull request #965 from DualSpark/patch-panic-validation
Adding backwards support for non-topology validation
2016-11-21 07:55:52 -07:00
Kris Childress 379a8c8c71 Adding backwards support for non-topology validation 2016-11-21 07:35:07 -07:00
yancl 9c9ff8c6e0 fix validation for master kubelet api server that checked kubelet api
server instead
2016-11-21 03:50:44 +00:00
Kris Childress 9e1b3dce55 Merge pull request #750 from Shrugs/docs/runtime-config
docs: add documentation for cluster.spec, namely runtimeConfig
2016-11-20 19:34:09 -07:00
Kris Childress 77d42b39f6 Merge pull request #720 from justinsb/aliases_for_nodes
Support aliases for NodePort services
2016-11-20 19:27:57 -07:00
Author Name 77fb9ad0d0 Readme tweaks for office hours 2016-11-20 19:21:34 -07:00
Chris Love c99a4a8aa1 Merge pull request #941 from justinsb/switch_to_sets_string
Switch to use sets.String
2016-11-19 15:19:10 -07:00
Justin Santa Barbara 6f20979790 Adapt unit tests to sets.String; convert node tags also 2016-11-19 16:23:51 -05:00
Justin Santa Barbara c3fd29a0e9 Logging cleanup 2016-11-19 16:23:51 -05:00
Justin Santa Barbara a3fa83ac34 Switch to use sets.String 2016-11-19 16:23:51 -05:00
Justin Santa Barbara 6c66d18a9c Merge pull request #948 from justinsb/fix_build
Updates to fix build
2016-11-19 16:10:39 -05:00
Justin Santa Barbara 5d8ebcd34f Fixes per code review 2016-11-19 15:22:18 -05:00
Justin Santa Barbara b8729f2738 Support aliases for NodePort services
Fixes #718
2016-11-19 15:22:18 -05:00
Justin Santa Barbara 76dc86ff49 Apply gofmt 2016-11-19 15:01:06 -05:00
Justin Santa Barbara 27026ff110 Misc build fixes for dns-controller 2016-11-19 15:01:00 -05:00
Justin Santa Barbara a34adc9be3 Update for new mount API 2016-11-19 15:01:00 -05:00
Justin Santa Barbara 042b33395b Update k8s dependency 2016-11-19 14:15:49 -05:00
Chris Love afa5a6f432 Merge pull request #946 from justinsb/build_with_go173
Build protokube & dns-controller with go 1.7.3
2016-11-18 18:30:21 -07:00
Justin Santa Barbara 664a32972d Build protokube & dns-controller with go 1.7.3
Fix #936
2016-11-18 15:35:18 -05:00
emerlinsky 0c21860e49 Wait for NatGateway creation to complete
NatGateway creation in AWS is a long procedure. It can take up to 10 min for NatGateway to go from Pending to Available state.
We have to use WaitUntilNatGatewayAvailable function to make sure that NatGateway is fully up before trying to use it.
Without this change all my tests attempts to create or update (add nodes to) kubernetis cluster with private topology in us-east-1 region failed with error:

```
W1117 12:14:08.719010   51863 executor.go:100] error running task "route/private-us-east-1c.kubpriv.pink-ptdevcloud.com": error creating Route: InvalidNatGatewayID.NotFound: The natGateway ID 'nat-08be6e70ddffd44d4' does not exist
	status code: 400, request id: 5adf5c0a-c12f-4d6b-8dfd-186c51efff9f
```
2016-11-18 10:18:15 -08:00
emerlinsky 6d442f549a Fix private subenet overlap with VPC range
Without this fix, last generated private subnet address overlaps with main CIDR range provided via --network-cidr= option, which causes error.
For example before change, with  --network-cidr=10.0.0.0/22, the list of subnets generated by the code was:

```
I1117 07:34:24.720380   47964 cluster.go:503] Assigned CIDR 10.0.1.128/25 to zone us-east-1c
I1117 07:34:24.720397   47964 cluster.go:514] Assigned Private CIDR 10.0.3.0/25 to zone us-east-1c
I1117 07:34:24.720404   47964 cluster.go:503] Assigned CIDR 10.0.2.0/25 to zone us-east-1d
I1117 07:34:24.720409   47964 cluster.go:514] Assigned Private CIDR 10.0.3.128/25 to zone us-east-1d
I1117 07:34:24.720415   47964 cluster.go:503] Assigned CIDR 10.0.2.128/25 to zone us-east-1e
I1117 07:34:24.720420   47964 cluster.go:514] Assigned Private CIDR 10.0.4.0/25 to zone us-east-1e
```

The last CIDR 10.0.4.0/25 is beyond 10.0.0.0/22 boundaries, which causes the error:

```
W1117 07:39:29.240474   48009 executor.go:100] error running task "subnet/private-us-east-1e.kubpriv.pink-ptdevcloud.com": error creating subnet: InvalidSubnet.Range: The CIDR '10.0.4.0/25' is invalid.
	status code: 400, request id: b195c64b-0a35-413c-b6ec-d7ee40d49adb
```

With a code fix, subnets get generated in a correct way:

```
I1118 07:22:31.466899   55710 cluster.go:503] Assigned CIDR 10.0.1.0/25 to zone us-east-1c
I1118 07:22:31.466908   55710 cluster.go:514] Assigned Private CIDR 10.0.2.128/25 to zone us-east-1c
I1118 07:22:31.466913   55710 cluster.go:503] Assigned CIDR 10.0.1.128/25 to zone us-east-1d
I1118 07:22:31.466917   55710 cluster.go:514] Assigned Private CIDR 10.0.3.0/25 to zone us-east-1d
I1118 07:22:31.466922   55710 cluster.go:503] Assigned CIDR 10.0.2.0/25 to zone us-east-1e
I1118 07:22:31.466925   55710 cluster.go:514] Assigned Private CIDR 10.0.3.128/25 to zone us-east-1e

```
2016-11-18 09:08:21 -08:00
Kris Childress 5c732ab65d Merge pull request #920 from DualSpark/weave-implementation
Weave implementation part 2
2016-11-17 02:32:48 -07:00
chrislovecnm 3cd825e1ab removing logging 2016-11-17 00:10:55 -05:00
chrislovecnm 785ce5a156 it lives 2016-11-17 00:03:34 -05:00
chrislovecnm 19ea96e387 working on weave 2016-11-16 23:41:50 -05:00
chrislovecnm 4ae70c4fba why is this no worky 2016-11-16 21:11:12 -07:00
chrislovecnm 0657abfa2a adding a test 2016-11-16 22:41:18 -05:00
Kris Childress af9c9fc6fd Merge pull request #916 from DualSpark/weave-implementation
Weave implementation
2016-11-16 19:50:44 -07:00
Justin Santa Barbara 143cc27275 Merge pull request #918 from zmerlynn/allow-not-found
VFS: Be more lenient in List if ClusterVFS.find can't read the cluster
2016-11-16 20:12:13 -05:00
chrislovecnm a890390fbf updating bugs 2016-11-16 20:05:27 -05:00
Zach Loafman b67e805357 VFS: Be more lenient in List if ClusterVFS.find can't read the cluster
I believe S3 eventual consistency doesn't really guarantee much here,
so a delete by one kops instance and a list by another could easily
generate this.

Fixes #917
2016-11-16 16:58:12 -08:00
chrislovecnm 60dce754b0 package name ... duh 2016-11-16 16:54:29 -07:00
chrislovecnm 41b8b6bd14 Now I understand the comment on the PR 2016-11-16 16:46:55 -07:00
chrislovecnm f8e10dc200 because these peeps do awesome code reviews 2016-11-16 16:39:35 -07:00
chrislovecnm cd39c71c5e docs updated 2016-11-16 15:54:19 -07:00
chrislovecnm 25ee1e4cdb adding weave support 2016-11-16 15:48:32 -07:00
Chris Love 4be4069d7f Merge pull request #898 from justinsb/krouton
Support for kopeio-networking
2016-11-16 12:43:55 -07:00
Justin Santa Barbara b28701b70b Recognize kopeio-vxlan for use with private topologies 2016-11-16 14:20:27 -05:00
Justin Santa Barbara ee44353cde Add support for kopeio networking 2016-11-16 14:20:23 -05:00