- 10 Dec, 2016 6 commits
-
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue (batch tested with PRs 34002, 38535, 37330, 38522, 38423) Node E2E: `make test-e2e-node` runs the same test with pr builder by default. This PR makes `make test-e2e-node` run non-serial, non-flaky, non-slow test by default. This will make it easier to use. /cc @timstclair
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue (batch tested with PRs 34002, 38535, 37330, 38522, 38423) Rename pet to stateful pods in statefulset e2e tests logs Follow up https://github.com/kubernetes/kubernetes/pull/37243#discussion_r89193790 Note that only mentions of pet in logs are renamed, but not variable name, or file name / import path @foxish ```release-note NONE ```
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue Remove hack/verify-munge-docs.sh from pre-commit hooks Follow up of #38309
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue fix broken cluster/centos and enhance the style replace the PR #33818
-
Random-Liu authored
-
Janet Kuo authored
-
- 09 Dec, 2016 34 commits
-
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue fix typo in pet_set fix typo in pet_set.
-
Chao Xu authored
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue (batch tested with PRs 37677, 38519) Better deal with failures under golang 1.8beta1 If there is any error in the initial parsing then we should just try adding the scheme. url.Parse(base) has changed in 1.8. Please see the following change https://github.com/golang/go/commit/c5ccbdd22bdbdc43d541b7e7d4ed66ceb559030e Fixes #38380
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue Proper fix for non-receiving watchers Follow up on #37195
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue (batch tested with PRs 37270, 38309, 37568, 34554) Ability to quota storage by storage class Adds the ability to quota storage by storage class. 1. `<storage-class>.storageclass.storage.k8s.io/persistentvolumeclaims` - quota the number of claims with a specific storage class 2. `<storage-class>.storageclass.storage.k8s.io/requests.storage` - quota the cumulative request for storage in a particular storage class. For example: ``` $ cat quota.yaml apiVersion: v1 kind: ResourceQuota metadata: name: storage-quota spec: hard: requests.storage: 100Gi persistentvolumeclaims: 100 gold.storageclass.storage.k8s.io/requests.storage: 50Gi gold.storageclass.storage.k8s.io/persistentvolumeclaims: 5 silver.storageclass.storage.k8s.io/requests.storage: 75Gi silver.storageclass.storage.k8s.io/persistentvolumeclaims: 10 bronze.storageclass.storage.k8s.io.kubernetes.io/requests.storage: 100Gi bronze.storageclass.storage.k8s.io/persistentvolumeclaims: 15 $ kubectl create -f quota.yaml $ cat pvc-bronze.yaml kind: PersistentVolumeClaim apiVersion: v1 metadata: generateName: pvc-bronze- annotations: volume.beta.kubernetes.io/storage-class: "bronze" spec: accessModes: - ReadWriteOnce resources: requests: storage: 8Gi $ kubectl create -f pvc-bronze.yaml $ kubectl get quota storage-quota -o yaml apiVersion: v1 kind: ResourceQuota ... status: hard: bronze.storageclass.storage.k8s.io/persistentvolumeclaims: "15" bronze.storageclass.storage.k8s.io/requests.storage: 100Gi gold.storageclass.storage.k8s.io/persistentvolumeclaims: "5" gold.storageclass.storage.k8s.io/requests.storage: 50Gi persistentvolumeclaims: "100" requests.storage: 100Gi silver.storageclass.storage.k8s.io/persistentvolumeclaims: "10" silver.storageclass.storage.k8s.io/requests.storage: 75Gi used: bronze.storageclass.storage.k8s.io/persistentvolumeclaims: "1" bronze.storageclass.storage.k8s.io/requests.storage: 8Gi gold.storageclass.storage.k8s.io/persistentvolumeclaims: "0" gold.storageclass.storage.k8s.io/requests.storage: "0" persistentvolumeclaims: "1" requests.storage: 8Gi silver.storageclass.storage.k8s.io/persistentvolumeclaims: "0" silver.storageclass.storage.k8s.io/requests.storage: "0" ``` -
Kubernetes Submit Queue authored
Automatic merge from submit-queue (batch tested with PRs 37270, 38309, 37568, 34554) kubeadm UX improvements for the v1.5 stable release This PR targets the next stable kubeadm release. It's work in progress, but please comment on it and review, since there are many changes. I tried to group the commits logically, so you can review them separately. Q: Why this large PR? Why not many small? A: Because of the Submit Queue and the time it takes. PTAL @kubernetes/sig-cluster-lifecycle _Edit:_ This work was splitted up in three PRs in total
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue (batch tested with PRs 37270, 38309, 37568, 34554) Remove update/verify-munge-docs.sh These scripts are no long needed because: 1. most docs are moved to other repos 2. the mungers are pre-processing the docs for gh pages, which are created with a whole different process now. cc @bgrant0607 @thockin
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue (batch tested with PRs 37270, 38309, 37568, 34554) Remove duplicate get errs old: ```shell $ kubectl get ns NAME STATUS AGE default Active 2m kube-system Active 2m $ kubectl get ns --all-namespaces NAMESPACE NAME STATUS AGE error: namespace is not namespaced error: namespace is not namespaced ``` new: ```shell $ kubectl get ns --all-namespaces NAMESPACE NAME STATUS AGE error: namespace is not namespaced ```
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue (batch tested with PRs 37860, 38429, 38451, 36050, 38463) HPA e2e tests: fixed waiting for service creation.
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue (batch tested with PRs 37860, 38429, 38451, 36050, 38463) [Part 2] Adding s390x cross-compilation support for gcr.io images in this repo <!-- 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 enables s390x support to kube-dns , pause, addon-manager, etcd, hyperkube, kube-discovery etc. This PR also includes the changes due to which it can be cross compiled on x86 host architecture. **Which issue this PR fixes #34328 **Special notes for your reviewer**: In existing file "build-tools/build-image/cross/Dockerfile" the repository mentioned for installing cross build tool chains for supporting architecture does not have a tool chain for s390x hence in my PR I am changing the repository so that it will be cross compiled for s390x. **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`. --> ``` Allows cross compilation of Kubernetes on x86 host for s390x also enables s390x support to kube-dns , pause, addon-manager, etcd, hyperkube, kube-discovery etc ```
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue (batch tested with PRs 37860, 38429, 38451, 36050, 38463) Stop generating openapi spec for internal types Extracted from https://github.com/kubernetes/kubernetes/pull/38406 I don't think we should be generating openapi specs for the internal types, since they are never intended to be interacted with via the API. #38406 makes that very clear by removing the json tags, at which point the openapi spec field names mimic the go structs
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue (batch tested with PRs 37860, 38429, 38451, 36050, 38463) Remove "pod xxx deleted" message from kubectl run --rm This is a follow-on to https://github.com/kubernetes/kubernetes/issues/28695 Its unnecessary to print the message when the user asked for it. We should only show a msg (error) when we didn't do what they asked. Also showing this in a "kubectl run" is bad because it then gets appended to the user's output and they would then have to strip it off if they want to use the output in some follow-on processing. Signed-off-by:
Doug Davis <dug@us.ibm.com> ```release-note kubectl run --rm no longer prints "pod xxx deleted" ```
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue Add documentation for FinalizerName Fixes https://github.com/kubernetes/kubernetes.github.io/issues/1829 /cc @caesarxuchao
-
Lucas Käldström authored
Fix review feedback, bazel files, tests and the dnsmasq-metrics spec. Set --kubelet-preferred-address-types on v1.5 and higher clusters
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue (batch tested with PRs 36692, 37871) Use PatchStatus to update node status in kubelet. Fixes https://github.com/kubernetes/kubernetes/issues/37771. This PR changes kubelet to update node status with `PatchStatus`. @caesarxuchao @ymqytw told me that there is a limitation of current `CreateTwoWayMergePatch`, it doesn't support primitive type slice which uses strategic merge. * I checked the node status, the only primitive type slices in NodeStatus are as follows, they are not using strategic merge: * [`ContainerImage.Names`](https://github.com/kubernetes/kubernetes/blob/master/pkg/api/v1/types.go#L2963) * [`VolumesInUse`](https://github.com/kubernetes/kubernetes/blob/master/pkg/api/v1/types.go#L2909) * Volume package is already [using `CreateStrategicMergePath` to generate node status update patch](https://github.com/kubernetes/kubernetes/blob/master/pkg/controller/volume/attachdetach/statusupdater/node_status_updater.go#L111), and till now everything is fine. @yujuhong @dchen1107 /cc @kubernetes/sig-node
-
Davanum Srinivas authored
If there is any error in the initial parsing then we should just try adding the scheme. url.Parse(base) has changed in 1.8. Please see the following change https://github.com/golang/go/commit/c5ccbdd22bdbdc43d541b7e7d4ed66ceb559030e Fixes #38380
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue Fix OSX hyperkube packaging with updated "mktemp -d" usage <!-- 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**: Before this patch, the ```make release``` command does not finish successfully. The reason is the ```kube::release::package_hyperkube``` can't succeed, because the usage of ```mktemp -d``` needs to be updated for OSX version of ```mktemp``` **Which issue this PR fixes** *(optional, in `fixes #<issue number>(, #<issue_number>, ...)` format, will close that issue when PR gets merged)*: didn't find any existing issues **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 ``` The PR title sounds good enough for the release note
-
Derek Carr authored
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue (batch tested with PRs 38284, 38403, 38265, 38378) glusterfs: properly check gidMin and gidMax values from SC individually <!-- 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 fixes a misleading debug message, and also prevents the glusterfs provisioner from adapting a misconfiguration of the gid-range in the storage class. Instead it will fail with proper error messages. **Which issue this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close that issue when PR gets merged)*: fixes # https://bugzilla.redhat.com/show_bug.cgi?id=1402286 **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 ``` Don't override explict out-of max-range configuration, but fail with an error message instead. Signed-off-by:
Michael Adam <obnox@redhat.com>
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue (batch tested with PRs 38284, 38403, 38265) Display config map data, not byte count. Begins to address https://github.com/kubernetes/kubernetes/issues/36222 Next step is: `kubectl edit configmap <name> --key=<file-name>` @kubernetes/sig-cli
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue (batch tested with PRs 38284, 38403, 38265) Fix local up cluster dns with RBAC The DNS server needs permissions to run using RBAC. This does it with a big hammer before we sort out tight permissions. @fabianofranz for the CLI change @xilabao for the local-up-cluster change
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue Increase Kibana e2e test timeout 10 minutes is not always enough to start kibana instance, most probably increasing the timeout will fix https://github.com/kubernetes/kubernetes/issues/36809 Follow-up of https://github.com/kubernetes/kubernetes/pull/36192 CC @piosz
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue Add Daemons to Load/Density tests cc @jeremyeder @timstclair @sjug
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue Revert "Make logging for gcl e2e test more verbose" Revert test change in favor of https://github.com/kubernetes/kubernetes/pull/38213 CC @piosz
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue Make resource gatherer print the data about resource usage in case of…
-
Jerzy Szczepkowski authored
HPA e2e tests: fixed waiting for service creation. Fixes #32512.
-
gmarek authored
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue Avoid exporting fluentd-es own logs Follow-up of https://github.com/kubernetes/kubernetes/pull/38213 for fluentd-es version CC @piosz
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue Add ResolveImage function to CLI factory This functions helps to integrate third-party mechanism for resolving the image names. For example, this function can be used in OpenShift to add support for resolving the ImageStreamTag and ImageStreamImage. See: https://github.com/openshift/origin/pull/10995
-
deads2k authored
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue (batch tested with PRs 38354, 38371) Add GetOptions parameter to Get() calls in client library Ref #37473 This PR is super mechanical - the non trivial commits are: - Update client generator - Register GetOptions in batch/v2alpha1 group
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue trimspace on user specified env params **What this PR does / why we need it**: before this PR, for example, if user `export KUBE_REPO_PREFIX=" "`, kubeadm will get an absolutely invalid repo_prefix. this PR trims all leading and trailing white spaces from user specified env params. Signed-off-by:bruceauyeung <ouyang.qinhua@zte.com.cn>
-
Michal Fojtik authored
-
gmarek authored
-