- 24 Feb, 2017 14 commits
-
-
Mayank Kumar authored
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue Remove ivan4th from reviewers **What this PR does / why we need it**: Per @ivan4th request in #41351 he would like to be removed from the reviewers list in this directory tree. This commit addresses that request. **Special notes for your reviewer**: As Ivan has already investigated the PR in question under 41351 I would like to see that driven to landing before landing this OWNERS file change, unless another reviewer would like to step in and help land that open PR. **Release note**: ```release-note NONE ```
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue Fix for Support selection of datastore for dynamic provisioning in vS… Fixes #40558 Current vSphere Cloud provider doesn't allow a user to select a datastore for dynamic provisioning. All the volumes are created in default datastore provided by the user in the global vsphere configuration file. With this fix, the user will be able to provide the datastore in the storage class definition. This will allow the volumes to be created in the datastore specified by the user in the storage class definition. This field is optional. If no datastore is specified, the volume will be created in the default datastore specified in the global config file. For example: User creates a storage class with the datastore kind: StorageClass apiVersion: storage.k8s.io/v1beta1 metadata: name: slow provisioner: kubernetes.io/vsphere-volume parameters: diskformat: thin datastore: VMFSDatastore Now the volume will be created in the datastore - "VMFSDatastore" specified by the user. If the user creates a storage class without any datastore kind: StorageClass apiVersion: storage.k8s.io/v1beta1 metadata: name: slow provisioner: kubernetes.io/vsphere-volume parameters: diskformat: thin Now the volume will be created in the datastore which in the global configuration file (vsphere.conf) @pdhamdhere @kerneltime
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue Base etcd-empty-dir-cleanup on busybox, run as nobody, and update to etcdctl 3.0.14 **What this PR does / why we need it**: since the `etcd-empty-dir-cleanup` image just uses a simple shell script and `etcdctl`, we can base it on busybox, which is a smaller target than alpine. I've also updated this to use an `etcdctl` from etcd 3.0.14, which matches the version of etcd we're running in 1.6 clusters (I believe), and changed the tag to match the `etcdctl` version. Tested in my own e2e cluster, where it seems to work. I haven't pushed the image yet, so e2e tests *may* fail. Tagging `do-not-merge`; if you think this looks good, I'll push the image and retest. **Release note**: ```release-note ``` cc @timstclair @mml @wojtek-t
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue (batch tested with PRs 41667, 41820, 40910, 41645, 41361) Refactor ControllerRefManager **What this PR does / why we need it**: To prepare for implementing ControllerRef across all controllers (https://github.com/kubernetes/community/pull/298), this pushes the common adopt/orphan logic into ControllerRefManager so each controller doesn't have to duplicate it. This also shares the adopt/orphan logic between Pods and ReplicaSets, so it lives in only one place. **Which issue this PR fixes**: **Special notes for your reviewer**: **Release note**: ```release-note ``` cc @kubernetes/sig-apps-pr-reviews
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue (batch tested with PRs 41667, 41820, 40910, 41645, 41361) Switch admission to use shared informers Originally part of #40097 cc @smarterclayton @derekwaynecarr @deads2k @liggitt @sttts @gmarek @wojtek-t @timothysc @lavalamp @kubernetes/sig-scalability-pr-reviews @kubernetes/sig-api-machinery-pr-reviews
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue (batch tested with PRs 41667, 41820, 40910, 41645, 41361) Allow multiple mounts in StatefulSet volume zone placement We have some heuristics that ensure that volumes (and hence stateful set pods) are spread out across zones. Sadly they forgot to account for multiple mounts. This PR updates the heuristic to ignore the mount name when we see something that looks like a statefulset volume, thus ensuring that multiple mounts end up in the same AZ. Fix #35695 ```release-note Fix zone placement heuristics so that multiple mounts in a StatefulSet pod are created in the same zone ```
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue (batch tested with PRs 41667, 41820, 40910, 41645, 41361) Changing --use-kubernetes-version to --kubernetes-version for kubeadm beta **What this PR does / why we need it**: to follow-up agreement on SIG-Cluster-Lifecycle on 2017-02-21, flag for `kubeadm init` should be renamed. **Which issue this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close that issue when PR gets merged)*: fixes # **Special notes for your reviewer**: Meeting minutes for SIG-Cluster-Lifecycle 2017-02-21 **Release note**: ```release-note Flag --use-kubernetes-version for kubeadm init renamed to --kubernetes-version ```
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue (batch tested with PRs 41667, 41820, 40910, 41645, 41361) refactor certs in GCE to break up usages TODO: debian
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue Fix references to PetSet Removing PetSet references in scaler/reaper code ```release-note NONE ```
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue Fix comment for struct DeploymentBasicGeneratorV1 **Release note**: ```release-note ```
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue Add approvers to StatefulSet The owners file has no approvers at the moment, adding people from workloads
-
Saad Ali authored
Revert "[Federation][kubefed] Add label selector for etcd pvc"
-
Saad Ali authored
Sort slices before comparing in deployment util test
-
- 23 Feb, 2017 26 commits
-
-
Wojciech Tyczynski authored
add WATCH to list of excluded verbs for latency metrics
-
deads2k authored
-
Janet Kuo authored
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue hack/verify-staging-client-go.sh: use git-archive to survive dirty working tree We used rsync before and copied over the checkout. If some other script, created or changed files, godep refused to run. Now the script uses git-archive against HEAD instead.
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue move kube-dns to a separate service account Switches the kubedns addon to run as a separate service account so that we can subdivide RBAC permission for it. The RBAC permissions will need a little more refinement which I'm expecting to find in https://github.com/kubernetes/kubernetes/pull/38626 . @cjcullen @kubernetes/sig-auth since this is directly related to enabling RBAC with subdivided permissions @thockin @kubernetes/sig-network since this directly affects now kubedns is added. ```release-note `kube-dns` now runs using a separate `system:serviceaccount:kube-system:kube-dns` service account which is automatically bound to the correct RBAC permissions. ```
-
Anirudh Ramanathan authored
-
Alexander Kanevskiy authored
agreed on SIG-Cluster-Lifecycle meeting.
-
Mike Danese authored
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue add deads2k and sttts to kubeapiserver owners Adds @deads2k and @sttts to packages we authored or significantly modified. @lavalamp @smarterclayton
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue (batch tested with PRs 39855, 41433, 41567, 41887, 41652) Switch namespace controller to shared informer @smarterclayton @derekwaynecarr @gmarek @wojtek-t @deads2k @sttts @liggitt @kubernetes/sig-scalability-pr-reviews
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue (batch tested with PRs 39855, 41433, 41567, 41887, 41652) Use watch param instead of deprecated /watch/ prefix Reopen of https://github.com/kubernetes/kubernetes/pull/41722 after reverted in https://github.com/kubernetes/kubernetes/pull/41774 Required https://github.com/kubernetes/kubernetes/pull/41797 to merge first cc @deads2k @wojtek-t
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue (batch tested with PRs 39855, 41433, 41567, 41887, 41652) Add fluentd monitoring to fluentd-gcp image Right now we are not able to monitor the state of fluentd in cluster, which may result in logging subsystem quietly failing. This PR tries to address that problem by introducing the fluentd container monitoring: * fluentd internal metrics, like number of buffers and number of data in buffers * `logging_line_count`, number of lines, read by fluentd from application containers' logs * Has `tag` label, corresponding to the fluentd tag of the entry * `logging_entry_count`, number of entries, emitted to the output plugin * With label `component` set to `container`, generated by application containers * With label `component` set to `system`, generated by system components like kubelet, docker, scheduler, etc. * Has `tag` label, corresponding to the fluentd tag of the entry CC @fabxc @igorpeshansky @edsiper -
Kubernetes Submit Queue authored
Automatic merge from submit-queue (batch tested with PRs 39855, 41433, 41567, 41887, 41652) add --ignore-not-found option Related downstream issue https://github.com/openshift/origin/issues/12867#event-961812896 Adds `--ignore-not-found` option that works similarly to the one found in [delete](https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/delete.go#L154). Allows for scripts to request specific resources that might not exist, without dealing with ambiguous exit code `1`. **Release note**: ```release-note NONE ``` cc @smarterclayton @jupierce @fabianofranz
-
Dr. Stefan Schimanski authored
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue route53: configure verbose authentication errors Otherwise we get an error message which is confusingly written on authentication failures. Probably blocked on #39854
-
Andy Goldstein authored
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue (batch tested with PRs 38702, 41810, 41778, 41858, 41872) Remove changes that accidentally sneaked in during a rebase. ```release-note NONE ```
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue (batch tested with PRs 38702, 41810, 41778, 41858, 41872) [Kubemark] Fixed hollow-npd container command to log to file Fixes #41802 cc @wojtek-t @gmarek @Random-Liu
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue (batch tested with PRs 38702, 41810, 41778, 41858, 41872) fix some typos and var style **Release note**: ```NONE ```
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue (batch tested with PRs 38702, 41810, 41778, 41858, 41872) Always enable RBAC in kubeadm and make a pkg with authorization constants **What this PR does / why we need it**: This PR: - Splits the authz constants out into a dedicated package, so consumers don't have to import lots of other things (informers, etc...) - Makes a `IsValidAuthorizationMode` function for easy checking - Hooks up kubeadm against the new constant package, for example using the validation method when validating the kubeadm API obj - Always enables RBAC in kubeadm as discussed with @liggitt and @jbeda - This because we have to grant some rules in all cases for kubeadm (for instance, making the cluster-info configmap public) - Adds more unit tests **Which issue this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close that issue when PR gets merged)*: fixes # **Special notes for your reviewer**: **Release note**: ```release-note NONE ``` @liggitt @jbeda @errordeveloper @dmmcquay @pires @deads2k
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue (batch tested with PRs 38702, 41810, 41778, 41858, 41872) gce: Reuse unsuccessfully provisioned volumes. GCE PD names generated by Kubernetes are guaranteed to be unique - they contain name of the cluster and UID of the PVC that is behind it. Presence of a GCE PD that has the same name as we want to provision indicates that previous provisioning did not go well and most probably the controller manager process was restarted in the meantime. Kubernetes should reuse this volume and not provision a new one. Fixes #38681
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue Add ClassName attributes to PV and PVC This just adds new attributes to PV/PVC. Real code that uses the attributes instead of beta annotations will follow when we agree on the attribute names / style.
-
Lucas Käldström authored
-
Lucas Käldström authored
-
deads2k authored
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue (batch tested with PRs 41540, 41808, 41710, 41838, 41840) Make make quick-release quick again **What this PR does / why we need it**: fix bug in #39257 which was causing `make quick-release` to build for all platforms. It seems like the `make` target variable line was setting `KUBE_RELEASE_RUN_TESTS` to `n KUBE_FASTBUILD = true`, rather than setting both variables. **Release note**: ```release-note NONE ```
-