Commit Graph

4238 Commits

Author SHA1 Message Date
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
Justin Santa Barbara dfa89c096e Bump kopeio networking to 20171015 2017-10-20 23:12:15 -04: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
chrislovecnm 91d4e7e3e8 fixing bazel missed BUILD stuff 2017-10-16 10:38:53 -06:00
William Austin a21dfafa0d Add missing "-nanny" in image name. 2017-10-16 10:29:34 -06:00
Bryan Boreham e2357f8568 Add critical-pod annotation and toleration for rescheduler
Background at
https://kubernetes.io/docs/tasks/administer-cluster/guaranteed-scheduling-critical-addon-pods/

Note the extra toleration is not strictly necessary, because
rescheduler adds CriticalAddonsOnly with effect NoSchedule, so it's
covered by the existing toleration, but that isn't documented so going
by the book we add both.
2017-10-16 13:50:10 +00:00
Kashif Saadat 6d624c7ad5 Add Calico v2.5 support for Kubernetes v1.8+ 2017-10-16 12:23:53 +01:00
Kubernetes Submit Queue 2c2f9fd6cd Merge pull request #3632 from justinsb/kopeio_cricial
Automatic merge from submit-queue.

kopeio-vxlan: mark critical, remove cpu limit
2017-10-15 14:44:57 -07:00
Kubernetes Submit Queue 2c5da715a2 Merge pull request #3619 from chrislovecnm/phase-integration-test
Automatic merge from submit-queue.

Phase integration tests

This depends on https://github.com/kubernetes/kops/pull/3616 in order to pass.  

Please only review eeafe6467c

## Use Cases

This improvement of phases and lifecycles will allow a user to:

1. allows users to have complex networking patterns that kops does not support out of the box: no IG, custom nat gw, vpn, etc
2. allows users to just run a single phase w/o dependencies
3. allows users to output tf for certain sections of phase
4. allow users to have validation fail, but still run kops

## Design

### Phase / Lifecycle Improvement

Break down lifecycles and corresponding phases into:

1. IAM - already exists
1. Network - already exists, but need to remove components
1. Security Groups - new, pretty self explanitory
1. Cluster - exists already but has too much in it
1. ELB - new will include ELBs and DNS, if required

The implementation will consist of new phases and lifecycles

### Capability for kops to fail validation but run

Currently, if kops fails validation in a lifecycle it will not run.  Along with these lifecycles, I am recommending a mode where a user can allow for validation to fail.  

I would like to introduce into kops a cli or API mapping that allows users to fail particular phase validation.  We can start with the cli options, but with a kops server, I think we will need it in the API.

An idea

```
kops update cluster --phase cluster --allow-validate-fail=iam,network
```

This would run update cluster and allow the IAM and network validation to fail.  But security groups validation would need to pass.

## This PR - test cases

This is creating the tests for the reworking of phases, and the work allowing failed validation.  The cluster test, for instance, will not pass, until we allow for kops phase validation to fail, but then still allow `kops update` to run.

The TF files are pretty solid for the tests, once the work has been completed.  I filed a couple of other issues in regards to no DNS for the bastion exists, and the outputs are also clashing with each other if you have TF broken into the Phases.
2017-10-15 14:11:01 -07:00
Kubernetes Submit Queue 496575b1e4 Merge pull request #3616 from chrislovecnm/fixing-route-table-task
Automatic merge from submit-queue.

adding missing lifecycle to route table task

We missed one
2017-10-15 13:37:37 -07:00
Justin Santa Barbara 0d7e72e43c kopeio-vxlan: mark critical, remove cpu limit 2017-10-15 14:30:44 -04:00
Kubernetes Submit Queue b0e275ccec Merge pull request #3629 from justinsb/gce_storage_class
Automatic merge from submit-queue.

GCE: Install correct storage class
2017-10-14 10:44:53 -07:00
Justin Santa Barbara a6ab7c3c61 GCE: Install correct storage class
We only want to install the AWS storage class on AWS, and on GCE we want
to install the GCE storage class.
2017-10-14 11:36:58 -04:00
Kubernetes Submit Queue 8718b4a4a0 Merge pull request #3628 from justinsb/rhel7_docker_1_12_6_deps
Automatic merge from submit-queue.

Docker dependencies for docker 1.12.6 on RHEL
2017-10-13 23:38:42 -07:00
Kubernetes Submit Queue 3a1f866144 Merge pull request #3621 from justinsb/protokube_mount_using_nsenter
Automatic merge from submit-queue.

Simplify protokube mounter using nsenter executor
2017-10-13 19:49:46 -07:00
Justin Santa Barbara 437a4c832c Docker dependencies on RHEL
Add missing docker depednencies
2017-10-13 22:27:04 -04:00
Kubernetes Submit Queue 471e04e480 Merge pull request #3627 from chrislovecnm/bazel-makefile-tweak
Automatic merge from submit-queue.

updating bazel test to output failed tests
2017-10-13 19:13:22 -07:00
Justin Santa Barbara 9517a1c4a7 Simplify protokube mounter using nsenter executor
Makes it much clearer, and avoids problems when systemd is in the host
but not the container.
2017-10-13 21:37:15 -04:00
Kubernetes Submit Queue 922fa5ade8 Merge pull request #3622 from justinsb/reduce_protokube_logs
Automatic merge from submit-queue.

Reduce log level in protokube
2017-10-13 17:13:58 -07:00