Commit Graph

4449 Commits

Author SHA1 Message Date
Kubernetes Submit Queue ef08265e56
Merge pull request #3847 from discordianfish/add-horizontal-pod-autoscaler-delay
Automatic merge from submit-queue.

Add HPA up/downscale delay

Still need to test these changes.
2017-11-13 17:55:05 -08:00
Kubernetes Submit Queue 0da56ded74
Merge pull request #3841 from justinsb/must_specify_zones_or_cloud
Automatic merge from submit-queue.

Fix error message when not specify --cloud or --zones
2017-11-13 17:25:18 -08:00
Kubernetes Submit Queue efa0a99324
Merge pull request #3803 from itajaja/calico-2.6
Automatic merge from submit-queue.

Update calico template

closes #3791 

changes taken from https://docs.projectcalico.org/v2.6/getting-started/kubernetes/installation/hosted/hosted
just a POC. not sure if I should update the 1.6 template or create a new template for 1.8 (maybe 1.7?) as I did. Do you have any suggestions on how to test this?
2017-11-13 16:04:26 -08:00
Giacomo Tagliabue b7a16a28cc add version map 2017-11-13 17:52:35 -05:00
Kubernetes Submit Queue 8315d659dd
Merge pull request #3846 from KashifSaadat/coreos-logrotate
Automatic merge from submit-queue.

Fix CoreOS logrotate service failure.

The switch statement was incorrect, causing a bad logrotate unit file to be created for CoreOS.
2017-11-13 14:16:44 -08:00
Giacomo Tagliabue 3719d15c6b update templates and bootstrapper 2017-11-13 17:11:10 -05:00
Giacomo Tagliabue af64c2894c update calico template 2017-11-13 17:11:10 -05:00
Kubernetes Submit Queue 537988837b
Merge pull request #3842 from justinsb/update_gazelle_2
Automatic merge from submit-queue.

Update bazel build files
2017-11-13 13:45:21 -08:00
Kubernetes Submit Queue 98b2437bc0
Merge pull request #3844 from justinsb/fix_cpu_cni
Automatic merge from submit-queue.

Fix CNI CPU allocations

* Limit each CNI provider to 100m

* Remove CPU limits - they cause serious problems
(https://github.com/kubernetes/kubernetes/issues/51135), but this also
makes the CPU allocation less problematic.

* Bump versions and start introducing the `-kops.1` suffix preemptively.

* Upgrade flannel to 0.9.0 as it fixes a lot.

Builds on #3843
2017-11-13 13:09:52 -08:00
Kubernetes Submit Queue e934a84d21
Merge pull request #3843 from justinsb/fix_etcd_events_resource_limit
Automatic merge from submit-queue.

Fix resources for etcd-events
2017-11-13 12:36:27 -08:00
Johannes 'fish' Ziemke 917e9dec38 Add HPA up/downscale delay 2017-11-13 15:50:37 +01:00
Kashif Saadat 1fdbbecce1 Fix CoreOS logrotate service failure. 2017-11-13 10:16:16 +00:00
Kubernetes Submit Queue cbe72dc44a
Merge pull request #3825 from justinsb/bump_channels_for_18
Automatic merge from submit-queue.

Bump alpha channel for 1.8
2017-11-12 23:37:31 -08:00
Justin Santa Barbara 148a65e1ad Fix CNI CPU allocations
* Limit each CNI provider to 100m

* Remove CPU limits - they cause serious problems
(https://github.com/kubernetes/kubernetes/issues/51135), but this also
makes the CPU allocation less problematic.

* Bump versions and start introducing the `-kops.1` suffix preemptively.

* Upgrade flannel to 0.9.0 as it fixes a lot.
2017-11-13 01:28:40 -05:00
Justin Santa Barbara aff2e6a114 Fix resources for etcd-events
etcd-events only requests 100m, otherwise we run out of cpu on a 1
core master.
2017-11-13 00:34:39 -05:00
Justin Santa Barbara 86d18808fe Update bazel build files 2017-11-12 22:37:47 -05:00
Justin Santa Barbara 1d402ec962 Fix error message when not specify --cloud or --zones 2017-11-12 22:36:41 -05:00
Kubernetes Submit Queue 709f902c11
Merge pull request #3831 from shashanktomar/patch-1
Automatic merge from submit-queue.

Fixed the broken link for aws doc.
2017-11-11 11:12:47 -08:00
Shashank Tomar e1b5c291d1
Fixed the broken link for aws doc. 2017-11-11 19:04:54 +05:30
Kubernetes Submit Queue f1fddb5512
Merge pull request #3620 from murali-reddy/remove-beta-init-container
Automatic merge from submit-queue.

kube-router: remove beta annotation versions (deprectated in 1.8) of init container

kube-router: remove beta annotation versions (deprectated in 1.8) of init container and move init container to spec section
2017-11-10 10:08:38 -08:00
Kubernetes Submit Queue d69e962fcd
Merge pull request #3805 from flugel-it/master
Automatic merge from submit-queue.

FeatureGates support in all the components

Adding --feature-gates for all the Kubernetes components.
2017-11-10 09:08:37 -08:00
Justin Santa Barbara 7142ab6846 Bump alpha channel for 1.8
This should ensure that kops 1.8 selects k8s 1.8.3
2017-11-10 10:48:34 -05:00
Kubernetes Submit Queue f86367ac7d
Merge pull request #3815 from chrislovecnm/san-api-update
Automatic merge from submit-queue.

san api update

Missed api update.

/assign @geojaz @andrewsykim
2017-11-10 03:55:49 -08:00
Kubernetes Submit Queue aab07e365b
Merge pull request #3794 from shamil/patch-2
Automatic merge from submit-queue.

Add support for C5 instance family

AWS [released](https://aws.amazon.com/blogs/aws/now-available-compute-intensive-c5-instances-for-amazon-ec2) 5th generation of Compute oriented EC2 series. This PR adds support for them.
2017-11-10 01:14:33 -08:00
Kubernetes Submit Queue d61f62f2ad
Merge pull request #3797 from pierreozoux/update-channel
Automatic merge from submit-queue.

Bump alpha and stable to latest

We are happily running k8s 1.7.10 and kops 1.7.1 in production since yesterday, so far so good :)
2017-11-10 00:18:05 -08:00
Kubernetes Submit Queue e5ea6ba6a7
Merge pull request #3783 from georgebuckerfield/instancegroup-labels
Automatic merge from submit-queue.

Add a default NodeLabel with the InstanceGroup name

As requested in https://github.com/kubernetes/kops/issues/2999, this change just auto-populates new InstanceGroup specs with a default node label containing the name of the instance group. It would be really useful for those of us managing environments with multiple instance groups.

It allows an admin to easily view the instance groups using kubectl:
```
kubectl get nodes --label-columns kops.k8s.io/instancegroup
NAME                                           STATUS         AGE       VERSION   INSTANCEGROUP
ip-172-20-108-120.eu-west-1.compute.internal   Ready,node     3m        v1.7.4    xtra-large
ip-172-20-117-133.eu-west-1.compute.internal   Ready,master   14m       v1.7.4    master-eu-west-1c
ip-172-20-32-139.eu-west-1.compute.internal    Ready,master   14m       v1.7.4    master-eu-west-1a
ip-172-20-32-92.eu-west-1.compute.internal     Ready,node     12m       v1.7.4    nodes
ip-172-20-67-184.eu-west-1.compute.internal    Ready,master   13m       v1.7.4    master-eu-west-1b
```
2017-11-09 23:29:47 -08:00
Kubernetes Submit Queue ec5496520d
Merge pull request #3795 from KashifSaadat/iam-kube-router
Automatic merge from submit-queue.

Add Node IAM permissions to access kube-router key in S3.

Fixes #3792 

An additional S3 IAM permission is added to the nodes policy when `Networking.Kuberouter` is specified.
2017-11-09 22:41:59 -08:00
Kubernetes Submit Queue 918450f6f6
Merge pull request #3807 from mikn/add_debian9_for_k8s_18
Automatic merge from submit-queue.

Debian Stretch versions for Docker to support K8s 1.8

Sadly no armhf support, as Docker only started building armhf builds for 17.06+ for Debian Stretch.
This fixes https://github.com/kubernetes/kops/issues/2783
2017-11-09 22:08:35 -08:00
Kubernetes Submit Queue ebef6beda1
Merge pull request #3814 from chrislovecnm/fixing-bazel-kops-version
Automatic merge from submit-queue.

updating bazel build version
2017-11-09 21:37:15 -08:00
Kubernetes Submit Queue c6071f3ec1
Merge pull request #3810 from mikesplain/update_docs_for_1.7.1
Automatic merge from submit-queue.

Update docs for 1.7.1
2017-11-09 21:03:23 -08:00
Kubernetes Submit Queue 822b84ee69
Merge pull request #3811 from ahrkrak/patch-1
Automatic merge from submit-queue.

Consolidate two separate CNI sections

There was a second section about CNI that was confusing since it was superfluous to the first one.
Also updated a couple of calico references from version-pinned to 'latest'.
2017-11-09 21:03:19 -08:00
Kubernetes Submit Queue 87396327d5
Merge pull request #3633 from brdude/extra_user-data
Automatic merge from submit-queue.

Allow passing in extra user-data to cloud-init

This allows for the utilization of multipart mime to pass extra data to cloud-init.

This gives you the ability to utilize cloud-init features such as setting up a CM or monitoring so that existing infrastructure components can be leveraged.
2017-11-09 21:03:14 -08:00
Rodrigo Menezes ef24cec62b Fixing naming convention and adding running API machinery. 2017-11-09 14:30:48 -08:00
chrislovecnm 6de1828e14 updating api reference docs 2017-11-09 14:32:57 -07:00
chrislovecnm 61cff4dfcf updating missed api machinery 2017-11-09 14:31:40 -07:00
chrislovecnm a3a633457f updating bazel build version 2017-11-09 14:29:48 -07:00
Mike Splain a6e7f974b9 Update docs for 1.7.1 2017-11-09 13:34:03 -05:00
Andy Randall d1312f4059
Consolidate two separate CNI sections
Also updated a couple of calico references from version-pinned to 'latest'
2017-11-09 09:58:42 -08:00
Kashif Saadat 029d0c0393 Add Node IAM permissions to access kube-router key in S3. 2017-11-09 09:57:02 +00:00
Rodrigo Menezes 3cfa67c3e6 Merge remote-tracking branch 'upstream/master' into extra_user-data 2017-11-08 22:20:54 -08:00
Mikael Knutsson 2de2ab53a8
Debian Stretch versions for Docker to support K8s 1.8 2017-11-09 10:41:17 +08:00
Kubernetes Submit Queue 760d58ea04
Merge pull request #3790 from KashifSaadat/bootstrapscript-hooks-bugfix
Automatic merge from submit-queue.

Bugfix kops update always detecting changes when using ExecContainerAction.

`ExecContainerAction` is referenced as a pointer in the `HookSpec`. When the bootstrapscript is run, it fingerprints the content here and stores it on-top of the existing `ExecContainerAction` within the Hook being parsed. The bootstrapscript is called for every Instance Group, and so the fingerprinted content gets passed and re-parsed.

This PR fixes the issue by creating a new `ExecContainerAction` object and assigning it to the hook being processed. Tests should now cover this case by running the `ResourceNodeUp` fn multiple times.

Fixes #3516
2017-11-08 15:16:28 -08:00
Kubernetes Submit Queue 531d21018b
Merge pull request #3802 from KashifSaadat/canal-1.8-tolerations
Automatic merge from submit-queue.

Update tolerations in Canal spec so the pods can run on all nodes.
2017-11-08 12:06:56 -08:00
Kubernetes Submit Queue 4dab28d8f1
Merge pull request #3798 from gambol99/dns_controller_fix
Automatic merge from submit-queue.

DNS Controller Watch Command line

- adding a fix to the building of the argument, as the double quote cause an yaml parsing error
```shell
  error building tasks: error remapping manifest addons/dns-controller.addons.k8s.io/pre-k8s-1.6.yaml: error parsing yaml: error converting YAML to JSON: yaml: line 37: did not find expected key
```
2017-11-08 11:33:54 -08:00
Kubernetes Submit Queue 3ec8f52bfb
Merge pull request #3800 from gambol99/template_docs
Automatic merge from submit-queue.

Toolbox Templating Docs
2017-11-08 11:03:30 -08:00
Kashif Saadat f7dbcf0978 Update tolerations so the pods can run on all nodes. 2017-11-08 17:06:49 +00:00
Rohith 80c2bb903b Toolbox Templating Docs
- adding additional documentation about the toolbox template command
2017-11-08 16:51:34 +00:00
Rohith 260124d1d9 DNS Controller Watch Command line
- adding a fix to the building of the argument, as the double quote cause an yaml parsing error
  error building tasks: error remapping manifest addons/dns-controller.addons.k8s.io/pre-k8s-1.6.yaml: error parsing yaml: error converting YAML to JSON: yaml: line 37: did not find expected key
2017-11-08 15:00:39 +00:00
pierreozoux f329c9054b Bump alpha and stable to latest 2017-11-08 15:23:20 +01:00
Alex Simenduev a99844ffb9 machine_types: go formatting 2017-11-08 12:20:53 +02:00