Commit Graph

4204 Commits

Author SHA1 Message Date
Justin Santa Barbara a7f82a6380 Fix shared subnet/vpc tags
* Stop setting the Name tag on a shared subnet/vpc

* Stop setting the legacy KubernetesCluster tag on a shared subnet/vpc
that is new enough (>=1.6); we rely on the shared tags instead

* Set tags on shared subnets; i.e. we _do_ set the shared tag on a
shared subnet; that is important for ELBs

* Set tags on shared VPCs; i.e. we _do_ set the shared tag on a shared
VPC; that is not used but consistent with subnets.

* Add tests for shared subnet
2017-10-23 11:30:25 -04:00
Kubernetes Submit Queue 0463ae1a72 Merge pull request #3688 from justinsb/rename_kubenet_cni_dir
Automatic merge from submit-queue.

Rename flag from network-plugin-dir -> cni-bin-dir
2017-10-23 00:14:56 -07:00
Kubernetes Submit Queue 1e9cfbdd03 Merge pull request #3687 from justinsb/fix_bazel
Automatic merge from submit-queue.

bazel: Add missing dep on k8s.io/kubernetes/pkg/cloudprovider/providers/aws
2017-10-22 23:41:06 -07:00
Kubernetes Submit Queue 1ff42edfac Merge pull request #3683 from justinsb/kubelet_node_role
Automatic merge from submit-queue.

Grant kubelets system:node role in 1.8
2017-10-22 23:02:07 -07:00
Justin Santa Barbara 7c695e7d00 Rename flag from network-plugin-dir -> cni-bin-dir
Per https://github.com/kubernetes/kubernetes/pull/53564
2017-10-23 00:54:37 -04:00
Justin Santa Barbara c5e45d596c bazel: Add missing dep on k8s.io/kubernetes/pkg/cloudprovider/providers/aws 2017-10-23 00:49:31 -04:00
Justin Santa Barbara 15d50aff48 Update tests; add to bazel 2017-10-23 00:42:56 -04:00
Justin Santa Barbara 4bd997496d Grant kubelets system:node role in 1.8
This is an interim measure until we fully support the NodeAuthorizer and
dynamic kubelet bootstrapping.

Issue #3551
2017-10-23 00:34:24 -04:00
Kubernetes Submit Queue d550332183 Merge pull request #3685 from justinsb/fix_typo_sessionaffinity
Automatic merge from submit-queue.

Fix typo in SessionAffinity terraform field
2017-10-22 17:01:09 -07:00
Kubernetes Submit Queue 0ae2bb835f Merge pull request #3684 from justinsb/delete_firewall_rules_gce
Automatic merge from submit-queue.

Delete firewall rules on GCE
2017-10-22 16:23:10 -07:00
Kubernetes Submit Queue a8cebe6679 Merge pull request #3680 from gambol99/missing_vars
Automatic merge from submit-queue.

Kops Toolbox Template Missing Variables

The current implementation fails on templates which reference unset variables, it is however useful at times to permit overriding this behavior and using sprig default() for example to handle defaults.

- added a new command line option --fail-on-missing (defaults to true, so keeps the current behaviour)
- updated the unit tests to reflect the changes
2017-10-22 14:51:26 -07:00
Justin Santa Barbara 88d2374f19 Fix typo in SessionAffinity terraform field 2017-10-22 16:55:55 -04:00
Justin Santa Barbara badef7b056 bazel: set test size on pkg/resources 2017-10-22 16:55:36 -04:00
Justin Santa Barbara 5b08c36cbb Delete firewall rules on GCE
As part of cluster delete on GCE, we now clean up our firewall rules.
2017-10-22 16:54:43 -04:00
Kubernetes Submit Queue eca1653786 Merge pull request #3682 from reactiveops/tag_subnets_2011
Automatic merge from submit-queue.

[AWS] Properly tag public and private subnets for ELB creation

This is a replacement for #3527 that I think makes more sense. Thanks!

Closes #2011
2017-10-22 13:22:46 -07:00
Eric Hole 239199caed Updates to test files 2017-10-22 11:47:54 -07:00
Eric Hole 742278be01 First pass 2017-10-22 11:47:35 -07:00
Kubernetes Submit Queue 0ece238bed Merge pull request #3681 from so0k/patch-1
Automatic merge from submit-queue.

Bump channels version of dashboard to 1.7.1

Shouldn't it be a requirement to bump addons.yaml at the same time as the other files?
2017-10-22 08:44:16 -07:00
Rohith 9958d333ae Kops Toolbox Template
The current implementation fails on template which reference unset variables, it is however useful at times to permit overriding this behavior and using sprig default() for example methods to handle it

- added a new command line option --fail-on-missing (defaults to true, so keeps the current behaviour)
- updated the unit test to reflect the changes
- updated the cli docs
2017-10-22 14:29:23 +00:00
so0k 90a1e59fd7 Bump channels version of dashboard to 1.7.1 2017-10-22 11:15:10 +08:00
Kubernetes Submit Queue 7bdf854db2 Merge pull request #3652 from tallaxes/master
Automatic merge from submit-queue.

update kubernetes-dashboard image version to v1.7.1

https://github.com/kubernetes/dashboard/issues/2401, causing high CPU, is fixed in 1.7.1.
Image version number is the only change.
2017-10-20 21:22:43 -07:00
Kubernetes Submit Queue 888a2ee418 Merge pull request #3667 from andrewsykim/patch-1
Automatic merge from submit-queue.

Add myself as a reviewer

As requested by @chrislovecnm ;). Also puts all approvers as reviewers too. 

cc @justinsb
2017-10-20 20:50:57 -07:00
Kubernetes Submit Queue 794e12dc52 Merge pull request #3675 from mschurenko/add-etcd-settings-to-nodeup-and-protokube
Automatic merge from submit-queue.

Add etcd settings to nodeup and protokube

This adds etcd settings for leader timeout and heartbeat interval to protokube. It uses the additions to `EtcdClusterSpec` that were given the go ahead in https://github.com/kubernetes/kops/pull/3663

@chrislovecnm 
@robinpercy
2017-10-20 20:10:00 -07:00
Kubernetes Submit Queue 3315d29bdb Merge pull request #3630 from wlan0/api
Automatic merge from submit-queue.

Add Cloud Controller Manager addon

This adds the CCM addon for the Kubernetes cluster. 

This is a follow-up PR to https://github.com/kubernetes/kops/pull/3408. 

cc @chrislovecnm @andrewsykim
2017-10-20 19:07:50 -07:00
Matt Schurenko 298747e9ae adding etcd settings to protokube 2017-10-20 00:32:53 -04:00
Kubernetes Submit Queue b334d963de Merge pull request #3674 from r4j4h/patch-2
Automatic merge from submit-queue.

Added example output from a 1.4.12 cluster

For `CVE-2017-14491` page
2017-10-19 16:01:09 -07:00
Kubernetes Submit Queue 0ef245bd3c Merge pull request #3673 from mikesplain/HorizontalPodAutoscalerSyncPeriod
Automatic merge from submit-queue.

Add HorizontalPodAutoscalerSyncPeriod for kubeControllerManager

Adds an option to set `--horizontal-pod-autoscaler-sync-period`.  [More details.](https://kubernetes.io/docs/tasks/run-application/horizontal-pod-autoscale/)
2017-10-19 16:00:07 -07:00
Jasmine Hegman 1a9a5351d0 Added example output from a 1.4.12 cluster 2017-10-19 15:15:46 -07:00
Mike Splain 8549e8e7ff Add HorizontalPodAutoscalerSyncPeriod for kubeControllerManager 2017-10-19 17:57:33 -04:00
Andrew Sy Kim 27b9f7b8a1 Add myself as a reviewer 2017-10-19 16:58:20 -04:00
wlan0 d3143ec3cc add Cloud Controller Manager addon 2017-10-19 12:33:44 -07:00
Matt Schurenko 90c7ccb6c8 adding etcd settings to EtcdClusterSpec 2017-10-18 18:29:00 -04:00
Kubernetes Submit Queue 429f750cb1 Merge pull request #3660 from chrislovecnm/bazel-upup-tests-fix
Automatic merge from submit-queue.

fixing bazel testing for upup

Fixes: https://github.com/kubernetes/kops/issues/3626
2017-10-18 09:11:14 -07:00
Kubernetes Submit Queue 7b0919127b Merge pull request #3662 from choang/export-aws
Automatic merge from submit-queue.

simplified AWS tutorial instruction to export AWS env variables

Since we already run `aws configure`, we can simply use the AWS CLI to fetch the key and secret instead of relying on the user to replace the value in the templated command.
2017-10-18 08:34:16 -07:00
Chi Hoang feaf7d6b6e updated aws tutorial so reader can copy and paste command instead of searching for aws key and secret 2017-10-18 06:09:14 -07:00
Kubernetes Submit Queue 38952a1645 Merge pull request #3655 from kenden/add_template_doc
Automatic merge from submit-queue.

Add kops toolbox template docs

Document the template format of new command `kops toolbox template` (https://github.com/kubernetes/kops/pull/3040)
2017-10-17 13:34:05 -07:00
chrislovecnm 3a7a4ebf7c fixing bazel testing for upup 2017-10-17 13:53:40 -06:00
Quentin Nerden bc7e5a0649 Add kops toolbox template docs 2017-10-17 20:33:14 +02:00
Kubernetes Submit Queue b4c4afb8e7 Merge pull request #3657 from justinsb/missing_bazel_1
Automatic merge from submit-queue.

Fix misssing bazel dependency
2017-10-17 10:45:01 -07:00
Justin Santa Barbara 1d5a19b30c Fix misssing bazel dependency
Forgot to run gazelle again
2017-10-17 11:44:17 -04:00
Kubernetes Submit Queue 4282d1d477 Merge pull request #3656 from justinsb/avoid_spurious_mirroring
Automatic merge from submit-queue.

Avoid spurious mirror tasks in plan
2017-10-17 08:30:06 -07:00
Justin Santa Barbara 552d04589e Avoid spurious mirror tasks in plan 2017-10-17 09:59:50 -04:00
tallaxes ffb2923eb8 Bump kubernetes-dashboard to v1.7.1 2017-10-16 23:38:11 -07:00
tallaxes 69e541e1b3 update kubernetes-dashboard image version to v1.7.1 2017-10-16 22:18:05 -07:00
Kubernetes Submit Queue 41074c4b2f Merge pull request #3641 from chrislovecnm/fix-bazel-protokube
Automatic merge from submit-queue.

fixing bazel missed BUILD stuff
2017-10-16 22:12:21 -07:00
Kubernetes Submit Queue c5eb4d751b Merge pull request #3648 from alifa20/bug/fix-doc-link-for-cve-fix
Automatic merge from submit-queue.

link to cve Advisory release doc fixed

This is a quick fix for the link to CVE Advisory doc
2017-10-16 19:51:13 -07:00
Kubernetes Submit Queue 1d5b2814d9 Merge pull request #3623 from KashifSaadat/canal-v2.5
Automatic merge from submit-queue.

Add Calico v2.5 support for Kubernetes v1.8+

Added support for Canal (Calico) v2.5.1, which is required to work with Kubernetes v1.8.0+.

Older versions of Calico relied on ThirdPartyResources API to store it's config data, however this is now fully deprecated in Kubernetes v1.8 and has moved over to CustomResourceDefinitions (CRD). Calico v2.5+ has been updated to use CRD, however there is a manual upgrade process involved to migrate the configuration data across: https://github.com/projectcalico/calico/blob/master/upgrade/v2.5/README.md
2017-10-16 19:51:08 -07:00
Ali Fathieh 583bcab6bf link to cve Advisory release doc fixed 2017-10-17 12:44:29 +11:00
Kubernetes Submit Queue f63a8aacf5 Merge pull request #3640 from willaustin/patch-1
Automatic merge from submit-queue.

Add missing "-nanny" in image name.

The instructions for hot-fixing the recent dnsmasq vulnerability use a different image name than what is in use by the dnsmasq container. When the command in question is run it causes the container to fail on startup. Using the "nanny" image works, though.
2017-10-16 10:45:09 -07:00
Kubernetes Submit Queue 3c01e26cca Merge pull request #3638 from bboreham/weave-critical
Automatic merge from submit-queue.

Weave Net: add critical-pod annotation and toleration for rescheduler

Fixes #3420 

Background at https://kubernetes.io/docs/tasks/administer-cluster/guaranteed-scheduling-critical-addon-pods/
2017-10-16 10:06:03 -07:00