Commit Graph

46 Commits

Author SHA1 Message Date
georgebuckerfield 58960f39cd Move etcd config for apiserver into code, set cloud provider for Digital Ocean to external 2017-08-26 08:23:19 +01:00
georgebuckerfield ff7f60dc35 Initial work on moving apiserver templates into code 2017-08-26 00:32:28 +01:00
Kubernetes Submit Queue 2d7fb51c2a Merge pull request #3025 from chrislovecnm/mapping-and-uploading-kubernetes-assets
Automatic merge from submit-queue

inventory assets - mapping and uploading kubernetes containers
2017-08-22 19:15:31 -07:00
andrewsykim 0411ba270e Create cluster requirements for DigitalOcean 2017-08-22 09:01:19 -04:00
chrislovecnm 2afdb5ab2e mapping-and-uploading-kube-assets 2017-08-21 15:16:56 -06:00
SandeepPissay 333e1aee40 Sample vsphere tasks added 2017-04-20 23:31:21 -07:00
Justin Santa Barbara 4c28bd30e4 Enable RBAC on 1.6 2017-03-28 20:14:13 -04:00
Justin Santa Barbara e2a06a389a Move kubeproxy configuration to code
Also map kube-proxy ClusterCIDR arg.
2017-03-28 10:03:17 -04:00
Justin Santa Barbara fea4df5868 Merge pull request #2202 from justinsb/post_2095
More log options for k8s 1.6
2017-03-28 01:25:20 -04:00
Justin Santa Barbara 1e9c2cb2d8 Multiple log-opt, log-driver options for docker
Also only change for 1.6
2017-03-28 00:53:26 -04:00
Justin Santa Barbara e6fb0a3d67 Move kube-scheduler to code & RBAC 2017-03-28 00:26:59 -04:00
Justin Santa Barbara 1a74d9d759 Merge pull request #2095 from faraazkhan/master
Use built in log rotation capabilities of the docker daemon
2017-03-27 21:49:41 -04:00
Justin Santa Barbara b9204e9911 Initial Container-Optimized OS support
Add initial support for google's container-optimized OS (available on
GCE).
2017-03-20 23:47:37 -04:00
Faraaz Khan 256640d3d4 enable log rotation using built in docker option 2017-03-16 13:09:48 -05:00
Justin Santa Barbara 645f330dad Re-enable GCE support
We move everything to the models.  We feature-flag it, because we
probably want to change the names etc, and we aren't going to be able to
offer smooth upgrades until that is done.
2017-02-28 20:08:03 -05:00
Justin Santa Barbara 55b6d86454 Move more options to code
User reports of kubelet flags not being passed; moved more to code.

Also found & fixed the likely root-cause issue: we have two copies of
the cluster spec and were not being precise about which one we wanted to
use at all times.
2017-02-15 13:11:12 -05:00
Michael Taufen bc615ae923 Config is deprecated, use PodManifestPath 2017-01-30 16:01:43 -08:00
Justin Santa Barbara 5c7a1c7138 Don't specify configure-cidr for k8s >= 1.5 2017-01-03 13:06:08 -05:00
Justin Santa Barbara 8f9be902ce Only set PodCIDR on master in <= 1.4 2016-12-28 13:26:45 -05:00
Justin Santa Barbara 3aae164d80 Only specify --configure-cbr0 when running with k8s <= 1.4 2016-12-27 21:09:06 -05:00
Justin Santa Barbara 96243ee442 Specify --anonymous-auth=false for k8s 1.5
We'll expose this option as part of RBAC, but in the meantime explicitly
specify the existing behaviour.
2016-12-13 01:44:28 -05:00
Justin Santa Barbara d1ea4f969a Make sure we set APIServerCount
It looks like it got lost in a refactor.  Add a unit test, and move
initialization to code (and have the code self-check as well).

Also we can now have a fairly long code comment about the reasons why
this is such a mess...

Fix #371
2016-12-05 02:30:53 -05:00
Justin Santa Barbara 8255dbf103 Merge pull request #621 from DualSpark/cni-networks
CNI networking installation support
2016-10-20 00:06:11 -04:00
Zach Loafman be4284bc24 Move ConfigureCBR0 to classic only
Fixes #700
2016-10-19 13:27:17 -07:00
chrislovecnm 6171f071c7 updating unit test to work with mock data
removing MTU options that we do not need

working on getting file structure up
2016-10-19 09:20:37 -06:00
chrislovecnm 54f72be03e set network type
cleaning up TODOs

updated with a unit test
2016-10-19 09:20:37 -06:00
chrislovecnm 6e3bece0d0 adding model and options to handle cni networking 2016-10-19 09:20:36 -06: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
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 07edc17fb6 Docker: prefer overlay, fall back to aufs 2016-10-01 10:08:18 -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 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 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 1cc59b0568 Update resource requests to match official values
Fix #494
2016-09-24 10:25:02 -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 dc63e307df Allow pluggable networking: classic, kubenet, external 2016-08-22 12:32:15 -04:00
Justin Santa Barbara 10fe716125 DNS is a SPOF; make sure there are replicas
Change the default to a more sensible starting point.
2016-08-14 22:47:40 -04:00
Justin Santa Barbara 8fb4215e17 Run CI versions of k8s
CI versions are not pushed to gcr.io, so we need to preload the images
by downloading them and doing a docker load.
2016-08-11 01:32:42 -04:00
Justin Santa Barbara 2b3f55563e Run the master on the pod network, unless IsolateMaster=true
The master is now registered as a Node.  It is marked as Unschedulable,
so normal pods will not run on it.  But Daemonsets will, and it is
surprising that they don't work unless hostNetwork=true.

The default is now what seems to be expected:
* we allocate the master a real CIDR on the pod network
* kube-proxy runs on the master, so it can talk to pods
* we run kubelet on the master with enable-debugging-handlers, so
  kubectl logs etc works

To get the old behaviour, edit the cluster spec and set
`isolateMasters: true`
2016-07-28 12:12:16 -04:00
Justin Santa Barbara 5c87261622 Make sure master uses 127.0.0.1:8080 to reach apiserver
This should be a little faster
2016-07-25 10:11:42 -04:00
Justin Santa Barbara 9c2f92f289 AWS: set hostname-override from metadata service
This is a weird edge case, because it can't be determined in advance.

We carve out a special well-known name, `@aws`, which nodeup/protokube
will expand to the local-hostname from the aws metadata service when it
is found in the HostnameOverride value.

Ideally we wouldn't do this at all now that we have DNS integration, but
we first want to get into the tested & working configuration!

Fixes #19
2016-07-05 11:36:47 -04:00
Justin Santa Barbara 947a045667 Rename DNSDomain -> ClusterDNSDomain for clarity 2016-06-27 15:36:11 -04:00
Justin Santa Barbara 26d05341b4 Move options to common stage, so that it works with terraform generation 2016-06-27 15:21:31 -04:00