Commit Graph

4236 Commits

Author SHA1 Message Date
chrislovecnm 4711d1596e update to imports that apimachinery is doing now automatically 2017-10-27 14:28:48 -06:00
Kubernetes Submit Queue a4d6895472 Merge pull request #3707 from andrewsykim/droplet
Automatic merge from submit-queue.

Implement DigitalOcean Droplet FI Task

Implements cloudup fi tasks for DigitalOcean droplets. It makes a few assumptions to reduce the size of this PR, those will be addressed in future PRs. 

Also does some cleanup in the DigitalOcean `dns` package.
2017-10-27 08:30:57 -07:00
andrewsykim 45bf2cb3a7 Implement DigitalOcean Droplet FI Task 2017-10-27 09:48:42 -04:00
Kubernetes Submit Queue aab00d7dc3 Merge pull request #3699 from brdude/disable_kube-proxy
Automatic merge from submit-queue.

Allow disabling kube-proxy

This adds the ability to turn off kube-proxy.

My specific use case is the usage of a custom CNI.
2017-10-26 23:05:57 -07:00
Kubernetes Submit Queue 66f7400b06 Merge pull request #3581 from wongnai/master
Automatic merge from submit-queue.

UsePolicyConfigMap for kube-scheduler

Continued from #3546 

In this version, a single option `usePolicyConfigMap` is added that will install scheduler.addons.k8s.io, which contains a default configmap.
2017-10-26 20:11:09 -07:00
Kubernetes Submit Queue 1f4224b50d Merge pull request #3472 from chrislovecnm/global-rate-limiter
Automatic merge from submit-queue.

adding kubernetes core rate limiter handlers

This PR is re-using the handlers from the k8s core project, to create a global rate limiting.

This work starts work on https://github.com/kubernetes/kops/issues/3471
2017-10-26 19:03:26 -07:00
Manatsawin Hanmongkolchai 170bf5200e Updated docs for UsePolicyConfigMap 2017-10-27 08:56:08 +07:00
Manatsawin Hanmongkolchai a708919bf4 Generate scheduler policy by dynamic cluster addons 2017-10-27 08:56:07 +07:00
Kubernetes Submit Queue 68c90369ba Merge pull request #3661 from chrislovecnm/etcd-container
Automatic merge from submit-queue.

etcd using asset builder

Updating etcd to use asset builder
2017-10-26 18:29:31 -07:00
Kubernetes Submit Queue 1cc2c4b592 Merge pull request #3704 from chrislovecnm/fixing-phases
Automatic merge from submit-queue.

Fixing phases for security groups and elbs

Please only review dc338c4829 and  0dc7a6e671

This PR depends on https://github.com/kubernetes/kops/pull/3639
2017-10-26 17:51:32 -07:00
Kubernetes Submit Queue 03e6047071 Merge pull request #3639 from chrislovecnm/new-phases
Automatic merge from submit-queue.

Renaming IAM Phase to Security

Adding new phases for security group and load balancers lifecycles.  PRs that follow will wire this in
2017-10-26 17:15:00 -07:00
chrislovecnm 6dc953c3d4 adding kubernetes core regional global rate limiter that spans all calls 2017-10-26 17:46:21 -06:00
chrislovecnm bc9df922f0 refactored to return err 2017-10-26 17:25:51 -06:00
chrislovecnm 4de78b0055 setting up etcd to use asset builder for its container 2017-10-26 17:25:50 -06:00
chrislovecnm 0dc7a6e671 network and security tests are working 2017-10-26 13:17:34 -06:00
chrislovecnm dc338c4829 Refactoring phases to work in sequence properly 2017-10-26 13:17:34 -06:00
chrislovecnm ceafc684f2 updating documenation for new phases name 2017-10-26 12:37:55 -06:00
chrislovecnm 384c74d66c Refactoring IAM phase to Security Phase 2017-10-26 12:28:50 -06:00
Rodrigo Menezes 8ad9b3c931 fix 2017-10-25 21:33:21 -07:00
Kubernetes Submit Queue f3454f95d7 Merge pull request #3689 from chrislovecnm/go-bindata-bazel
Automatic merge from submit-queue.

bazel updates to generate go-bindata

Fixes: https://github.com/kubernetes/kops/issues/3626
2017-10-25 20:09:08 -07:00
Kubernetes Submit Queue b8a0d71081 Merge pull request #3686 from justinsb/ig_alias
Automatic merge from submit-queue.

kops-server: ig short-name
2017-10-25 19:38:47 -07:00
chrislovecnm 4179c76513 updates to generate go-bin-data 2017-10-25 19:41:47 -06:00
Rodrigo Menezes 1edd99ccc1 Allow disabling kube-proxy 2017-10-25 14:23:58 -07:00
Kubernetes Submit Queue 8df13bd468 Merge pull request #3679 from justinsb/support_api_aggregation
Automatic merge from submit-queue.

Initial aggregation work

Create the keypairs, which are supposed to be signed by a different CA.
    
Set the `--requestheader-...` flags on apiserver.
    
Fix #3152
Fix #2691
2017-10-24 12:08:27 -07:00
Kubernetes Submit Queue f3feadb011 Merge pull request #3677 from mikesplain/fix_storage_version
Automatic merge from submit-queue.

Add a v1.7.0 storage addon resource.

Took a stab at fixing this for both!  Haven't tested it yet though.

Fixes #3298
2017-10-24 11:33:07 -07:00
Kubernetes Submit Queue fbfe24afd9 Merge pull request #3690 from KashifSaadat/iam-ecr
Automatic merge from submit-queue.

Add IAM Permissions so nodes can access AWS ECR

Make the ECR IAM Permissions optional in strict mode, via use of the following IAMSpec:
```yaml
 iam:
    legacy: false
    allowContainerRegistry: true
```
2017-10-24 08:10:10 -07:00
Kashif Saadat 5bfb22ac92 Make the IAM ECR Permissions optional, can be specified within the Cluster Spec. 2017-10-24 09:20:17 +01:00
Mike Splain e000d21673 Add a v1.7.0 storage addon resource.
Fixes #3298
2017-10-23 22:11:28 -04:00
Kubernetes Submit Queue 760da7eeba Merge pull request #3637 from justinsb/bump_kopeio_networking
Automatic merge from submit-queue.

Bump kopeio networking to 20171015
2017-10-23 12:09:56 -07:00
Kashif Saadat 28c4b7aca9 Add IAM Permissions so nodes can access AWS ECR 2017-10-23 10:11:27 +01: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 ed2dab1af5 kops-server: ig short-name
Also cleanup the shared REST subclass
2017-10-23 00:55:55 -04: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
Justin Santa Barbara a879521ba3 Initial aggregation support
Create the keypairs, which are supposed to be signed by a different CA.

Set the `--requestheader-...` flags on apiserver.

Fix #3152
Fix #2691
2017-10-22 14:41:38 -04: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