Commit Graph

1225 Commits

Author SHA1 Message Date
amdonov 68868e1735 Added GovCloud availability zones
eliminates the need to specify --cloud aws when creating a cluster
2017-07-09 09:32:58 -04:00
Justin Santa Barbara 8bde5317c1 Bump dns-controller & kops for 1.7.0-alpha.1 2017-07-07 00:57:10 -04:00
Chris Love 24c0bc19ed Merge pull request #2768 from ottoyiu/calico_cidr
Update calico to use the correct CIDR for pods
2017-07-06 14:29:18 -06:00
Chris Love 20535248b4 Merge pull request #2773 from justinsb/authn_integration
Initial support for authentication (kopeio)
2017-07-06 14:11:22 -06:00
Chris Love 7beb7e2f39 Merge pull request #2840 from justinsb/deps_17
Update our dependencies to the release-1.7 branch versions
2017-07-03 11:31:08 -06:00
Chris Love 4d9a06f34f Merge pull request #2839 from justinsb/update_kube_dns
Upgrade kube-dns for 1.7
2017-07-03 11:30:19 -06:00
Justin Santa Barbara 7c8dcc4a0d Code changes for 1.7 2017-07-02 13:10:28 -04:00
Justin Santa Barbara 462e203c49 Merge pull request #2822 from austinmoore-/fix_1808
Add field to enable EBS Volume Optimization
2017-07-01 13:58:40 -04:00
Chris Love dff4025768 Merge pull request #2836 from justinsb/glog_formats
Fix missing ids in a few log messages
2017-06-30 16:01:09 -06:00
Austin Moore 6ec64704e2 Remove unnecessary json tag on field 2017-06-30 12:05:59 -04:00
Justin Santa Barbara ea838efde6 Upgrade kube-dns for 1.7
A version bump from 1.14.1 -> 1.14.4; we don't update kube-dns for k8s <= 1.5
2017-06-30 10:14:24 -04:00
Justin Santa Barbara 47d4f2643b Fix missing ids in a few log messages 2017-06-29 21:26:52 -04:00
Travis Thompson 5b1deb7cb3 Bump canal addon version
In PR [#2635](https://github.com/kubernetes/kops/pull/2635) the version
of calico was updated as part of canal.  What this PR missed was bumping
the version of the addon.  This meant that if you upgraded a kops
cluster from v1.6.0 to v1.6.1 the new version of calico was not picked
up because `channels apply` does not think the daemonset needs to be
updated.
2017-06-27 14:38:01 -07:00
Austin Moore f4c7c61fae Add field to enable EBS Volume Optimization 2017-06-27 16:15:54 -04:00
Otto Yiu 8674309565 Update calico to use the correct CIDR for pods
Currently, we are using .NonMasqueradeCIDR in the wrong fashion. We
should be using .KubeControllerManager.ClusterCIDR to prevent IP
collision with Service IPs.
2017-06-26 13:47:31 -07:00
Justin Santa Barbara e945322cab Support generated clientset as alternative to vfs clientset
We modelled our VFS clientset (for API objects backed by a VFS path)
after the "real" clientsets, so now it is relatively easy to add a
second implementation that will be backed by a real clientset.

The snafu here is that we weren't really using namespaces previously.
Namespaces do seem to be the primary RBAC scoping mechanism though, so
we start using them with the real clientset.

The namespace is currently inferred from the cluster name.  We map dots
to dashes, because of namespace limitations, which could yield
collisions, but we'll deal with this by simply preventing users from
creating conflicting cluster names - i.e. you simply won't be able to
create a.b.example.com and a-b.example.com
2017-06-20 22:29:37 -04:00
Chris Love 1f33b7dad7 Merge pull request #2701 from justinsb/more_info_on_iam_failure
Add more logging on IAM failure
2017-06-20 13:46:53 -06:00
Justin Santa Barbara 48b26d0f93 Add more logging on IAM failure
I hit an odd IAM failure yesterday, and this information would have been
helpful.  It only proved a negative - it turned out to be an AWS problem
that was solved by deleting and recreating the IAM roles - but still
makes diagnosis much easier.
2017-06-20 00:42:17 -04:00
Justin Santa Barbara 752150ef22 Initial support for authentication (kopeio)
Still experimental, so not doing a flag yet.
2017-06-20 00:15:39 -04:00
Justin Santa Barbara 8571924843 Bump dns-controller version for fixes 2017-06-19 14:16:36 -04:00
Justin Santa Barbara 9d40b0e6ca Support internal (gossip) names for AWS also 2017-06-19 14:16:35 -04:00
Justin Santa Barbara d2df318ecc Move CloudProvider to kops API
This avoids a circular reference when breaking up the fi package
2017-06-17 16:27:07 -04:00
Chris Love 4c4c94c432 Merge pull request #1565 from justinsb/match_dns_type
DNS: Match type of DNS when looking at zones
2017-06-16 15:13:48 -06:00
Chris Love f9f64e3fb3 Merge pull request #2760 from justinsb/weave_198
Update weave to 1.9.8
2017-06-16 09:42:34 -06:00
Justin Santa Barbara 8fb99a87e2 Merge pull request #2680 from murali-reddy/kube-router
add support for kube-router as CNI networking provider
2017-06-16 10:37:49 -04:00
Justin Santa Barbara f4cb670edc Update weave to 1.9.8
Includes the nodeport fixes
2017-06-16 00:08:37 -04:00
Chris Love fdcd85fd37 Merge pull request #2702 from andrewsykim/instancegroups-rollingupdate-refactor
Remove code in kutil & refactor packages for instance groups and rolling update
2017-06-14 09:44:43 -06:00
Jordan Jennings 767a8a6395 Update weave to use the correct CIDR for pods 2017-06-12 20:25:33 -04:00
Justin Santa Barbara d0213a5a0b Apply weave-NPC fix for NodeName != hostname
cf https://github.com/weaveworks/weave/pull/2996
2017-06-11 15:35:17 -04:00
Justin Santa Barbara 8afdfc3157 Update weave to 1.9.7
This includes the hairpin fix
2017-06-11 14:04:21 -04:00
andrewsykim e8c99ee72e removes cluster delete code in upup/pkg/kutil duplicated in pkg/resources and puts instancegroup and rollingupdate code into its own packges 2017-06-10 15:21:06 -04:00
Justin Santa Barbara 0cbf8867b8 DNS: Match type of DNS when looking at zones
When looking for a zone, match by name, but also only match private
zones if running with --dns private, or public zones with --dns public.

We log if we find a zone that matches by name but not by type.

Requires https://github.com/kubernetes/kubernetes/pull/40197

Issue #1522
Issue #1468
2017-06-09 08:48:38 -04:00
Murali Reddy e872dbcb86 add support for kube-router as CNI networking provider
fixes #2606

Most part of the changes are similar to current supported CNI networking
provider. Kube-router also support IPVS bassed service proxy which can
be used as replacement for kube-proxy. So the manifest for kube-router
included with this patch enables kube-router to provide pod-to-pod
networking, IPVS based service proxy and ingress pod firewall.
2017-06-09 17:01:31 +05:30
Chris Love 0b7ed89cb9 Merge pull request #2539 from andreychernih/calico-critical
Mark calico-node pods as critical
2017-06-04 12:04:49 -07:00
Chris Love 96e490bef1 Merge pull request #2640 from ottoyiu/kops_srcdst
Add ability to set cross-subnet mode in Calico
2017-06-04 09:37:34 -07:00
Otto Yiu 3e281626a7 bump version of k8s-ec2-srcdst to v0.1.0 for kubernetes 1.6 support 2017-06-02 16:59:56 -07:00
Chris Love 8040c74f08 Merge pull request #2613 from jordanjennings/weave-networking-config
Make Weave MTU configurable and configure jumbo frame support for new clusters on AWS
2017-05-30 17:54:38 -06:00
Jordan Jennings 6213c519e1 Make Weave MTU configurable and set AWS default config for jumbo frames 2017-05-30 06:36:09 -04:00
Otto Yiu 2e1a024b9f Add ability to set cross-subnet mode in Calico
This gives the ability to a user to enable cross-subnet mode in Calico.
Also introduces a new addon that, full disclosure, I wrote.

[ottoyiu/k8s-ec2-srcdst](https://github.com/ottoyiu/k8s-ec2-srcdst)
2017-05-29 18:54:37 -07:00
Seth Pollack c0781e9869
add EnableExternalDNS feature flag 2017-05-28 19:20:06 -04:00
Otto Yiu cba3990adc change k8s 1.6 calico manifest ordering for creation of service account first
This fixes the behaviour described in #2529 which was fixed by #2590, by
avoiding the configure-calico job all together.
2017-05-25 18:10:43 -07:00
heschlie 63bd8762ce Updating Canal
- Updated manifests to the latest versions
- Added RBAC to k8s 1.6 manifest
2017-05-24 14:19:42 -07:00
Andrey Chernih c7168937a3 Mark calico-node pods as critical
When system is low on resources, it is possible that calico-node will be
evicted by kubernetes. That's what happened today in our cluster
bringing down all containers.
2017-05-23 12:09:19 -07:00
Justin Santa Barbara d9ba671097 Set hairpinMode for flannel
Fix #2601
2017-05-18 22:53:21 -04:00
Dan Osborne c3a7b671b8 replace calico ipip-configure job with node env 2017-05-18 14:28:14 -07:00
Alexander Brandstedt 9a1083e824 update to latest release of calico 2017-05-18 21:47:13 +02:00
Chris Love 4f3bb84494 Merge pull request #2570 from caarlos0/ineff-vsphere
removed inneff assign from vsphere_cloud.go
2017-05-17 18:12:23 -06:00
Justin Santa Barbara a60643ab07 Merge pull request #2567 from justinsb/nits_on_2508
Rename RoleType to ExportWithID in IAMRole
2017-05-16 11:29:21 -04:00
Justin Santa Barbara 57bae22e31 Fix to avoid spurious updates 2017-05-16 11:28:52 -04:00
Justin Santa Barbara 5e5e37e2e2 GCE: Allow updating the instance group template
We follow the same pattern as on AWS, where we create a new template,
because the templates are immutable.
2017-05-16 10:49:07 -04:00