Commit Graph

127 Commits

Author SHA1 Message Date
Zach Loafman 21c479d5b3 nodeup: Add docker.service dep to LoadImageTask
Tested with manual build and NODEUP_URL

Fixes #685, #686
2016-10-18 14:56:31 -07:00
Chris Love 0d78c65498 Merge pull request #660 from justinsb/fix_upgrade
Fix upgrade from kube-up
2016-10-18 10:39:33 -06:00
chrislovecnm 8fa2aac99f fixing more headers 2016-10-15 19:20:56 -06:00
chrislovecnm f3cd5b5312 adding validation scripts for vet, linting, and check headers
going to use k8s validator

updating runtest.sh

updating headers

fixing problem in bash

working on golang
2016-10-15 19:20:51 -06:00
Justin Santa Barbara 2af1fde49d Reuse the route table when importing
Not only is this lower-impact, but it also avoid a bug because the
subnets were considered "shared", and thus we would not manage the
route-table any more.
2016-10-15 14:18:30 -04:00
Justin Santa Barbara 5daba0258f Populate MasterInternalName & MasterPublicName in code
Hopefully address template model issues
2016-10-11 00:34:17 -04:00
Justin Santa Barbara 7c37b096e3 remove _master_dns tag; we rely on DNS 2016-10-11 00:29:18 -04:00
Justin Santa Barbara a5a066d9c4 Merge pull request #617 from ajohnstone/kube-proxy-add-label
add label to kube-proxy
2016-10-10 23:51:45 -04:00
Justin Santa Barbara 64f293ea19 Increase the master CIDR to a /28
This should allow pods to run on the master until the real fix arrives
in 1.5.
2016-10-10 10:04:32 -04:00
Andrew Johnstone 61b2610819 add label to kube-proxy 2016-10-08 02:04:59 +01:00
Justin Santa Barbara 4bca0a37d1 Merge pull request #610 from justinsb/centos
Preliminary support for CentOS7 / RHEL7
2016-10-07 14:28:37 -04:00
Justin Santa Barbara a47674d10c Redhat/CentOS fixes per code review
* Always read /etc/redhat-release (symlinked on CentOS)
* Make _rhel_family the tag name, not _centos_family
* Add comment about writing to "system" systemd area
2016-10-07 09:43:04 -04:00
Justin Santa Barbara 9596b64121 Add RHEL7 2016-10-07 00:11:08 -04:00
Justin Santa Barbara d86390c172 CentOS7 initial experimental support 2016-10-06 23:23:30 -04:00
Justin Santa Barbara a529ffbb65 Configure dns-controller with ID of hosted zones
Fix #584
2016-10-06 13:12:27 -04:00
Justin Santa Barbara 204d1364ac Switch to image published under kope account 2016-10-01 17:30:52 -04:00
Justin Santa Barbara 146babbd27 Disable ingress DNS integration for 1.4.0
There are still some problems with the default nginx controller
2016-10-01 17:25:11 -04:00
Justin Santa Barbara 1a4558a736 Fix DNS deployment manifest 2016-10-01 15:26:10 -04:00
Justin Santa Barbara 655a61588e Switch all the final switches for release 1.4
Also apply the 1.4 schema changes.
2016-10-01 13:50:19 -04:00
Justin Santa Barbara a07733e741 Switch kube-apiserver manifest to YAML
Makes for much more obvious diffs
2016-10-01 10:13:22 -04:00
Justin Santa Barbara 07edc17fb6 Docker: prefer overlay, fall back to aufs 2016-10-01 10:08:18 -04:00
Justin Santa Barbara e0fd286e69 Merge pull request #561 from justinsb/more_protokube
Protokube: master tainting and channel creation
2016-10-01 09:56:12 -04:00
Justin Santa Barbara 4116ba646c Make kube-addons optional
It is now controlled by a nodeup tag: _kube-addons

The tag is automatically added, but when we build the channels-enabled
release, we will remove the tag.
2016-10-01 09:47:05 -04:00
Justin Santa Barbara 50aabb7e58 Merge pull request #566 from justinsb/add_addons
Create addons for 1.4
2016-10-01 09:37:33 -04:00
Justin Santa Barbara 3ead9fe0ce Create addons for 1.4
(It isn't activated yet though)
2016-10-01 09:35:20 -04:00
Justin Santa Barbara 9942fa1f84 kubenet: set network MTU on 1.4 and 1.5 2016-10-01 01:31:42 -04:00
Justin Santa Barbara 7f26c8b9e1 Protokube: master tainting and channel creation 2016-10-01 00:16:28 -04:00
Justin Santa Barbara 3d6101fbf1 Don't set storage options list until we update nodeup 2016-09-30 02:13:09 -04:00
Justin Santa Barbara b300613ed7 Merge pull request #540 from justinsb/fallback_docker_storage
Support a list of docker storage drivers
2016-09-29 23:42:37 -04:00
Justin Santa Barbara 09b0175f73 Set apiserver-count flag 2016-09-29 23:40:39 -04:00
Justin Santa Barbara ddc0f231d8 Support a list of docker storage drivers
nodeup will then choose the first supported driver.

This is how we can be image-independent
2016-09-29 22:19:20 -04:00
Justin Santa Barbara 5f8d68ec85 Refactor shared packages into util directory 2016-09-25 18:27:09 -04:00
Justin Santa Barbara 99041f02b7 Merge pull request #500 from justinsb/sysctl_arp_fix
Always set sysctl net.ipv4.neigh.default.gc_thresh1=0 on AWS
2016-09-24 11:50:18 -04:00
Justin Santa Barbara 6e611b979e Always set sysctl net.ipv4.neigh.default.gc_thresh1=0 on AWS 2016-09-24 11:50:05 -04:00
Justin Santa Barbara 8839e67f0b Merge fixups 2016-09-24 11:46:34 -04:00
Justin Santa Barbara 41e2bee204 Merge pull request #495 from justinsb/setup_machine_id
Call /bin/systemd-machine-id-setup as part of init
2016-09-24 11:42:44 -04:00
Justin Santa Barbara 4821f73794 Merge pull request #496 from justinsb/cpu_limits
Update resource requests to match official values
2016-09-24 11:42:38 -04:00
Justin Santa Barbara c46c37ddf0 Merge pull request #491 from justinsb/python_yaml_dependency_kube_addons
Install python-yaml package when using kube-addons
2016-09-24 11:42:26 -04:00
Justin Santa Barbara 4d5d9565f2 Merge pull request #470 from justinsb/fix_469
Bump master CIDR to /29
2016-09-24 11:42:19 -04:00
Justin Santa Barbara d494d83436 Merge pull request #452 from yissachar/support-shared-subnets
Add support for shared subnets
2016-09-24 11:41:28 -04:00
Justin Santa Barbara 1cc59b0568 Update resource requests to match official values
Fix #494
2016-09-24 10:25:02 -04:00
Justin Santa Barbara d7639691e9 Call /bin/systemd-machine-id-setup as part of init
Just in case nobody else sets it!
2016-09-24 10:18:30 -04:00
Justin Santa Barbara 4b00c3ccd1 Install python-yaml package when using kube-addons
Ubuntu 16.04 doesn't ship with it
2016-09-23 10:20:16 -04:00
Justin Santa Barbara 9356b5b215 Merge pull request #460 from justinsb/security_group_rule_removal
Support deletion of items
2016-09-20 11:42:42 -04:00
Justin Santa Barbara c2b4d626d8 Bump master CIDR to /29
The equivalent of https://github.com/kubernetes/kubernetes/pull/32886

Fix #469
2016-09-19 13:24:14 -04:00
Justin Santa Barbara 352bc52a9f Honor minSize/maxSize for ASGs for master
Normally we expect the size to be 1, but it turns out there is an
exception - in the case when we want to suspend a cluster.  So honor the
values if the user sets them.

Thanks for spotting @sekka1

Fix #403
2016-09-17 23:17:18 -04:00
Justin Santa Barbara f8bbdb1467 Support deletion of items
We don't normally need to delete items, but we do need to purge old
security group rules.
2016-09-17 23:06:15 -04:00
Justin Santa Barbara 9f4477da2d Always restart kubelet 2016-09-17 15:02:35 -04:00
Yissachar Radcliffe 5217bd432d Add support for shared subnets 2016-09-16 12:17:44 -04:00
Justin Santa Barbara 6d139d06d1 Support labels on k8s nodes and AWS instances
A lot of supporting work was needed, including improvements to the model
and model generation logic.
2016-09-13 12:47:16 -04:00