- 05 Dec, 2016 40 commits
-
-
Jess Frazelle authored
Signed-off-by:Jess Frazelle <acidburn@google.com>
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue (batch tested with PRs 38111, 38121) remove rbac super user Cleaning up cruft and duplicated capabilities as we transition from RBAC alpha to beta. In 1.5, we added a secured loopback connection based on the `system:masters` group name. `system:masters` have full power in the API, so the RBAC super user is superfluous. The flag will stay in place so that the process can still launch, but it will be disconnected. @kubernetes/sig-auth
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue (batch tested with PRs 38111, 38121) Prevent SIGPIPE errors causing the version check line to fail The way we use pipe in hack/lib/etcd.sh when processing the version command can lead to 141 failues on some systems. Using a prefix of tail can prevent this. Fixes #38109
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue (batch tested with PRs 36352, 36538, 37976, 36374) etcd3: have prefix always prepended ref: #36290 Previously, the prefix behavior is "sometimes prefixing". If the prefix already exists for the resource path, it will ignore. With this PR, we make sure that prefix is always prepended in etcd3 storage backend. See the discussion in #36290
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue (batch tested with PRs 36352, 36538, 37976, 36374) demonstrate separation of controller intializers Currently, controllers are all initialized in a monster method that make it difficult to individually pick out whether there are side-effects, difficult to group related controllers for selective enablement, and impossible to determine if there are hidden dependencies. This pull demonstrates how we can break apart the monolith and start start the process of grouping and naming controllers for selective enablement. In addition, the use of a map will help expose dependency ordering amongst these controllers and the separate methods will make it a lot harder to have side effects. This also moves us closer to being able to author reflective unit tests that help ensure that basic RBAC bootstrap roles are at least present, even if they aren't correct. @nikhiljindal since you were looking at the federation controller manager @sttts since we're looking at trying out RBAC on these.
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue (batch tested with PRs 36352, 36538, 37976, 36374) Check in YAML versions of bootstrap roles/rolebindings Allows auditing changes to bootstrap roles over time, preventing accidental changes, and gives a place for people to pull bootstrap roles to load directly
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue (batch tested with PRs 36352, 36538, 37976, 36374) test: update deployment helper to return better error messages @kubernetes/deployment the problem with https://github.com/kubernetes/kubernetes/issues/36270 is that the selector key is never added in the deployment but this change would make it clearer.
-
deads2k authored
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue Stratify apiserver cert generation - move self-signed cert generation to `SecureServingOptions.MaybeDefaultWithSelfSignedCerts` - make cert generation only depend on `ServerRunOptions`, not on an unfinished `Config` (this breaks the chicken-egg problem of a finished config in https://github.com/kubernetes/kubernetes/pull/35387#pullrequestreview-5368176) - move loopback client config code into `config_selfclient.go` Replaces https://github.com/kubernetes/kubernetes/pull/35387#event-833649341 by getting rid of duplicated `Complete`.
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue VolumePluginMgrFunc test Add test func to test VolumePluginMgr funcs in pkg/volume/plugins_test.go
-
Jordan Liggitt authored
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue Added missing user setup for RBD StorageClass documentation.
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue (batch tested with PRs 37366, 36373) kubeadm: Let apiserver and controller-manager host-mount /etc/pki when required #<!-- Thanks for sending a pull request! Here are some tips for you: 1. If this is your first time, read our contributor guidelines https://github.com/kubernetes/kubernetes/blob/master/CONTRIBUTING.md and developer guide https://github.com/kubernetes/kubernetes/blob/master/docs/devel/development.md 2. If you want *faster* PR reviews, read how: https://github.com/kubernetes/kubernetes/blob/master/docs/devel/faster_reviews.md 3. Follow the instructions for writing a release note: https://github.com/kubernetes/kubernetes/blob/master/docs/devel/pull-requests.md#release-notes --> **What this PR does / why we need it**: This PR checks if /etc/pki is present on the host machine and adds a host-mount to the apiserver and controller-manager manifest if required. **Which issue this PR fixes** *(optional, in `fixes #<issue number>(, #<issue_number>, ...)` format, will close that issue when PR gets merged)*: fixes #36150 **Special notes for your reviewer**: **Release note**: <!-- Steps to write your release note: 1. Use the release-note-* labels to set the release note state (if you have access) 2. Enter your extended release note in the below block; leaving it blank means using the PR title as the release note. If no release note is required, just write `NONE`. --> ```release-note Fix incompatible host mounts for SSL certificates when deploying on CentOS with kubeadm ```
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue (batch tested with PRs 37366, 36373) extend cmd valid resources information about roles
-
deads2k authored
-
Dr. Stefan Schimanski authored
-
Dr. Stefan Schimanski authored
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue (batch tested with PRs 37370, 37003, 36909) Add verbs to APIResourceInfo for discovery Verbs will be used by generic controllers (gc, namespace) to avoid unnecessary API calls, reducing load on the apiserver. E.g. not all objects can be deleted. Example: ```json { "kind": "APIResourceList", "apiVersion": "v1", "groupVersion": "batch/v1", "resources": [ { "name": "jobs", "namespaced": true, "kind": "Job", "verbs": [ "create", "delete", "deletecollection", "get", "list", "update", "watch" ] }, { "name": "jobs/status", "namespaced": true, "kind": "Job", "verbs": [ "create", "get" ] } ] } ``` -
Kubernetes Submit Queue authored
Automatic merge from submit-queue (batch tested with PRs 37370, 37003, 36909) add auth proxy roundtripper Adds a round tripper which adds auth proxy fields based on user.Info you can pull from a context. It clears existing headers first to be sure that these aren't accidentally set ahead of time. @nikhiljindal per our conversation. This is what I'm using downstream.
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue Make NodeController test utils usable from outside Required to fix tests for #37365 and useful in general.
-
henry.nash@uk.ibm.com authored
The use of pipe when process the version command can lead to 141 failues on some systems. Using a prefix of tail can prevent this.
-
Dr. Stefan Schimanski authored
-
Dr. Stefan Schimanski authored
This removes all dependencies on Config during cert generation, only operating on ServerRunOptions. This way we get rid of the repeated call of Config.Complete and cleanly stratify the GenericApiServer bootstrapping.
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue (batch tested with PRs 37307, 29606, 37986) Allow glusterfs dp volume creation for empty clusterid parameter in sc. Why this patch is needed? The `strings.split()` (https://github.com/kubernetes/kubernetes/pull/37986/files#diff-e97253dd603331ffca81131a4b67264fR700) returns a slice of `single element("empty") ` when the split is attempted on a string. This is expected according to `https://golang.org/pkg/strings/#Split` and `https://github.com/golang/go/issues/13075`. This make the provisioner to fail, if `clusterid` is not defined in the SCs. This patch make sure the split is attempted only when clusterid is mentioned in the sc parameter. Signed-off-by:
Humble Chirammal <hchiramm@redhat.com>
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue (batch tested with PRs 37307, 29606, 37986) scheduler remove init method Fix #29255 , @davidopp ptal.
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue Enable update tests for federated secret controller Enable update tests in secret controller + add option to execute multiple iterations in the same run. cc: @nikhiljindal @madhusudancs
-
deads2k authored
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue (batch tested with PRs 37208, 37446, 37420) Kubelet log modification Keep in line with the other error logs in the function. After return, the caller records the error log.Delete redundant logs
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue (batch tested with PRs 37208, 37446, 37420) Move "-short" to KUBE_TEST_ARGS fixes #37445 **Release note**: <!-- Steps to write your release note: 1. Use the release-note-* labels to set the release note state (if you have access) 2. Enter your extended release note in the below block; leaving it blank means using the PR title as the release note. If no release note is required, just write `NONE`. --> ```release-note NONE ``` "-short" is a argument of "go test", it should be moved to "KUBE_TEST_ARGS".
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue (batch tested with PRs 37208, 37446, 37420) Change 'controller.go' filenames to more meaningfull ones Controller logic should sit in uniquely named file, not `controller.go`, as the latter makes it very hard to understand controller-manager logs. @deads2k @bgrant0607 @soltysh @gtank
-
Marcin authored
-
Marcin Wielgus authored
-
Dr. Stefan Schimanski authored
-
Dr. Stefan Schimanski authored
-
Dr. Stefan Schimanski authored
-
Dr. Stefan Schimanski authored
-
Dr. Stefan Schimanski authored
-
Dr. Stefan Schimanski authored
-
AdoHe authored
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue Increase max mutating inflight requests in large clusters
-