Commit Graph

6228 Commits

Author SHA1 Message Date
Justin Santa Barbara fc75536c3f Fix typo: HONE -> HOME 2018-06-11 12:34:54 -04:00
Justin Santa Barbara 1df4d03a70
Merge pull request #4737 from jsenon/feature-2435-s3configfile
Add feature with s3 state store from configfile
2018-06-11 12:33:00 -04:00
k8s-ci-robot 070d8c9055
Merge pull request #5305 from justinsb/5110_quickfix
Fix gofmt
2018-06-11 09:28:34 -07:00
Justin Santa Barbara b334650c68
Merge branch 'master' into feature-2435-s3configfile 2018-06-11 11:53:23 -04:00
Justin Santa Barbara 1fb79bd4a8 Fix gofmt
Follow on to #5110, where I messed up the merge commit (sorry!)
2018-06-11 11:33:42 -04:00
Justin Santa Barbara 5bdd69f1ba
Merge pull request #5304 from justinsb/4977_quickfix
Fixup bazel
2018-06-11 11:31:56 -04:00
Justin Santa Barbara 2d7aca4776
Merge pull request #5110 from zetaab/sshkey
implement keypair task for OpenStack platform
2018-06-11 11:31:25 -04:00
Justin Santa Barbara 6ae21517d1 Fixup bazel
Follow on to #4977
2018-06-11 11:27:53 -04:00
Justin Santa Barbara a8738458b9
Merge pull request #5303 from justinsb/5030_quickfix
Update expected TF output for latest master
2018-06-11 11:26:14 -04:00
Justin Santa Barbara 89dc7b22f9
Merge branch 'master' into sshkey 2018-06-11 11:23:28 -04:00
Justin Santa Barbara 8681095af4
Merge pull request #4977 from zengchen1024/router_interface
implement router interface task for OpenStack platform
2018-06-11 11:17:49 -04:00
Justin Santa Barbara e2debd99a6 Update expected TF output for latest master 2018-06-11 11:12:23 -04:00
Justin Santa Barbara 93b5e24801
Merge pull request #5030 from chrissnell/export-addl-tf-outputs
Export outputs to aid with VPC peering in Terraform
2018-06-11 11:11:52 -04:00
Justin Santa Barbara e05dbb3177
Merge pull request #5146 from kaspernissen/master
fix broken link to example policy file in the cluster_spec docs
2018-06-11 10:42:26 -04:00
k8s-ci-robot dd8066954a
Merge pull request #5301 from appvia/alitasks-loadbalancer-typo
Fix alitasks loadbalancer typo causing test failures
2018-06-11 06:35:26 -07:00
Kashif Saadat 6efe2a0a0e Fix alitasks loadbalancer typo causing test failures 2018-06-11 13:48:06 +01:00
Rohith 6a2c542c02 - fixing up the spelling mistake; was probably added before the verify-misspelling PR 2018-06-11 13:44:00 +01:00
Rohith d2bae64dd1 - adding the enable-bootstrap-token-auth to the kubeapi and fixing up the various compoents 2018-06-11 09:57:26 +01:00
Rohith 2d5bd2cfd9 - update the IAM policy to ensure the kubelet permision is skipped
- update the PKI to ensure on new clusters the certificate it not created
2018-06-11 09:57:26 +01:00
Rohith 96eb0fbf0e - adding the fix for the psp for kubelet manifest since the kubelet no longer exists 2018-06-11 09:57:26 +01:00
Rohith 4531384649 This PR attempts to solve two issues
a) The current implementation use's a static kubelet which doesn't not conform to the Node authorization mode (i.e. system:nodes:<nodename>)
b) As present the kubeconfig is static and reused across all the masters and nodes

The PR firstly introduces the ability for users to use bootstrap tokens and secondly when enabled ensure the kubelets for the masters as have unique usernames.  Note, this PR does not attempt to address the distribution of the bootstrap tokens themselves, that's for cluster admins. One solution for this would be a daemonset on the masters running on hostNetwork and reuse dns-controller to annotated the pods and give as the DNS

Notes:
- the master node do not use bootstrap tokens, instead given they have access to the ca anyhow, we generate certificates for each.
- when bootstrap token is not enabled the behaviour will stay the same; i.e. a kubelet configuration brought down from the store.
- when bootstrap tokens are enabled, the Nodes sit in a timeout loop waiting for the configuration to appear (by third party).
- given the nodeup docker and manifests builders are executed before the kubelet builder, the assumption here is a unit file kicks of a custom container to bootstrap the rest.
- the current firewalls on between the master and nodes are fairly open so no need to open ports between the two
- much of the work was ported from @justinsb PR [here](https://github.com/kubernetes/kops/pull/4134/)
- we add a very presumptuous server and client certificates for use with an authorizer (node-bootstrap-internal.dns_zone)

I do have an additional PR which performs the entire thing. The process being a node_authorizer which runs on the master nodes via a daemonset, the service implements a series of authorizers (i.e. alwaysallow, aws, gce etc). For aws, the process is similar to how vault authorizes nodes [here](https://www.vaultproject.io/docs/auth/aws.html). Nodeup no then calls out to the node_authorizer on bootstrap and provisions the kubelet.
2018-06-11 09:56:32 +01:00
k8s-ci-robot f8ef03091c
Merge pull request #5254 from justinsb/dont_print_keyset_yaml
ListKeypairs: don't print 'keyset.yaml' as the key id
2018-06-11 01:41:27 -07:00
Jesse Haka 83db6a29ce fix typos in alicloud 2018-06-11 10:09:44 +03:00
Jesse Haka 59fa25f2de remove fingerprint computation from run
fix bazel
2018-06-11 09:54:57 +03:00
Jesse Haka 924e44afff add a==nil usecase 2018-06-11 09:54:57 +03:00
Jesse Haka ed8d03d402 add keypair role 2018-06-11 09:54:54 +03:00
k8s-ci-robot 02daea62ae
Merge pull request #5119 from ripta/avpc-custom-image
Amazon VPC CNI: Upgrade to v1.0 and Allow Custom Images
2018-06-10 22:40:27 -07:00
Kasper Nissen 9e18a95dd2 fix broken link to example policy file in the cluster_spec docs 2018-06-11 07:10:42 +02:00
k8s-ci-robot 8a470580ef
Merge pull request #5250 from gambol99/verify_admissions
Admission Controller Validation
2018-06-10 21:54:10 -07:00
k8s-ci-robot 7a004d7c10
Merge pull request #5207 from AliyunContainerService/loadBalancer
implement LoadBalancer task for ALICloud
2018-06-10 21:54:00 -07:00
k8s-ci-robot f470e77139
Merge pull request #5072 from bhack/patch-2
Add hooks example for cachefiled
2018-06-10 20:25:00 -07:00
k8s-ci-robot aef1afbc02
Merge pull request #4724 from gambol99/custom_kube_dns
Customize KubeDNS
2018-06-10 18:52:01 -07:00
k8s-ci-robot dd3381dc89
Merge pull request #5194 from chrisz100/feature/s3_bucket_encryption
Feature/s3 bucket encryption - Implements PR #4235
2018-06-10 15:32:01 -07:00
k8s-ci-robot 1b29b54d5b
Merge pull request #4171 from rifelpet/rifelpet_iam
Add support for external IAM Instance Profiles
2018-06-10 14:54:00 -07:00
k8s-ci-robot a57a6de4a8
Merge pull request #5139 from justinsb/fix_subnet_egress_indexing
Fix issue where we assumed that private zone were in order
2018-06-09 09:27:01 -07:00
k8s-ci-robot 06224f2984
Merge pull request #4985 from xianlubird/master
Fix typo
2018-06-08 16:42:58 -07:00
k8s-ci-robot 3e58faa215
Merge pull request #5297 from andrewsykim/revert-4990-external-cloud-1.10
Revert "digitalocean: don't set --cloud-provider=external on control plane starting v1.10"
2018-06-08 12:34:37 -07:00
k8s-ci-robot 5ef2e8f02f
Merge pull request #5294 from moritzheiber/master
Destinctive names for ClusterRoleBindings in prometheus-operator addon
2018-06-08 11:41:52 -07:00
Chris Snell 32b7770e07 Remove check for additional CIDR 2018-06-08 12:39:09 -05:00
Peter Rifel 5f0b63100d Add support for using existing instance profiles 2018-06-08 10:33:09 -07:00
Chris Snell 78b81dd172
Merge branch 'master' into export-addl-tf-outputs 2018-06-08 12:22:43 -05:00
Chris Snell 426c9603af
Merge pull request #1 from justinsb/export-addl-tf-outputs
Terraform outputs
2018-06-08 11:55:31 -05:00
chrislovecnm 9cbc81fe33 adding API for IAM Profile 2018-06-08 09:51:26 -07:00
Andrew Sy Kim 5004652505
Revert "digitalocean: don't set --cloud-provider=external on control plane starting v1.10" 2018-06-08 11:41:07 -04:00
Moritz Heiber 29531e7541
Rename ClusterRoleBindings to avoid overwriting their definitions 2018-06-08 14:30:03 +02:00
k8s-ci-robot ba93282c63
Merge pull request #5258 from justinsb/use_docker_overlay2
Support overlay2 in docker
2018-06-07 14:57:23 -07:00
Justin Santa Barbara 2b4888a596 Delay overlay2 to 1.11
Gives us more time to consider image support.
2018-06-07 17:11:19 -04:00
Justin Santa Barbara ef5936d8b5 Support overlay2 in docker
We also have to stop passing the flag on ContainerOS, because it's set
in /etc/docker/default.json and it's now an error to pass the flag.

That in turn means we move those options to code, which are the last of
those legacy config options.  (We still have a few tasks declaratively
defined though)
2018-06-07 17:11:11 -04:00
k8s-ci-robot 36feaeb8fb
Merge pull request #5287 from ripta/new-instance-types-june2018
Add support for M5D instance family on AWS
2018-06-07 12:29:23 -07:00
k8s-ci-robot 79c1529eb0
Merge pull request #5286 from tvi/local-ip
Enable override bind address for kube-proxy.
2018-06-07 07:35:23 -07:00