- 19 Sep, 2016 5 commits
-
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue Hack local-up-cluster should enforce cpu limits by default CPU CFS quota should be enforced by default. /cc @vishh
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue Support Quobyte as StorageClass This PR allows Users to use Quobyte as StorageClass for dynamic volume provisioning and implements the Provisioner/Deleter Interface. @quolix @kubernetes/sig-storage @rootfs
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue Support for storage class for vSphere volume plugin. Custom disk format for dynamic provisioning. This PR does following, 1. Add support for storage class for vSphere volume plugin. 2. Add option for user to provision disk with different disk formats. Format choices are "thin" (default), "zeroedthick", "eagerzeroedthick". Sample storageclass (yaml): ``` kind: StorageClass apiVersion: storage.k8s.io/v1beta1 metadata: name: slow provisioner: kubernetes.io/vsphere-volume parameters: diskformat: thin ``` -
Kubernetes Submit Queue authored
Automatic merge from submit-queue Implemented KUBE_DELETE_NODES flag in kube-down. Implemented KUBE_DELETE_NODES flag in kube-down script. It prevents removal of nodes when shutting down a HA master replica.
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue api: types: document NodeSpec ID fields Document MachineID as the preferred field from the discussion here: https://groups.google.com/d/msg/kubernetes-sig-node/_3mXXB1ohZs/EuYtCzHvBgAJ I couldn't get the generated things to update. I ran: ``` hack/update-generated-runtime.sh hack/update-codegen.sh hack/update-generated-swagger-docs.sh hack/update-generated-protobuf.sh hack/update-codecgen.sh ``` What did I miss?! cc @dchen1107 @thockin
-
- 18 Sep, 2016 6 commits
-
-
Phillip Wittrock authored
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue Fix minor nits in test cases Found a group of nits when doing #30844, fixed them in a this PR since 30844 requires a long time to review.
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue Avoid unnecessary API calls from GC Ref #32571
-
Wojciech Tyczynski authored
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue [Controller Manager] Fix certificates controller hotloop and use utilruntime.HandleError to replace glog.Errorf <!-- 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**: Fix certificates controller hotloop on unexpected API server rejections. **Which issue this PR fixes** Related issue is #30629 **Special notes for your reviewer**: @deads2k @derekwaynecarr PTAL. I find there is no unit test for certificates controller, and I will implement unit tests for it later.
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue [Controller Manager] Fix endpoint controller hot loop and use utilruntime.HandleError to replace glog.Errorf <!-- 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 --> **Why**: Fix endpoint controller hot loop and use `utilruntime.HandleError` to replace `glog.Errorf` **What** 1. Fix endpoint controller hot loop in `pkg/controller/endpoint` 2. Fix endpoint controller hot loop in `contrib/mesos/pkg/service` 3. Sweep cases of `glog.Errorf` and use `utilruntime.HandleError` instead. **Which issue this PR fixes** Fixes #32843 Related issue is #30629 **Special notes for your reviewer**: @deads2k @derekwaynecarr The changes on `pkg/controller/endpoints_controller.go` and `contrib/mesos/pkg/service/endpoints_controller.go` are almost the same except `contrib/mesos/pkg/service/endpoints_controller.go` does not pass `podInformer` as the parameter of `NewEndpointController()`. So, I didn't wait `podStoreSynced` before `syncService()`(Just leave it as it was). Will it lead to a problem?
-
- 17 Sep, 2016 21 commits
-
-
Brandon Philips authored
Document MachineID as the preferred field from the discussion here: https://groups.google.com/d/msg/kubernetes-sig-node/_3mXXB1ohZs/EuYtCzHvBgAJ
-
Phillip Wittrock authored
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue [kubelet] Fix oom-score-adj policy in kubelet Fixes #32238 We have been having this regression since v1.3. It is critical for GKE/GCE deployments of k8s because docker daemon has a high likelihood of being OOM killed which will end up nuking all containers. The reason for moving from mnt to pid is that docker daemon moves itself into a new mnt namespace with systemd based deployments.
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue Improve error message when kubectl rolling-update fail due to version skew <!-- 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**: follow up #32751, we should print the real error message first, the workaround later **Before:** ```console $ kubectl rolling-update nginx --image=redis Created nginx-6ee4372891ec51a97dfbf83ed0846886 Scaling up nginx-6ee4372891ec51a97dfbf83ed0846886 from 0 to 1, scaling down nginx from 1 to 0 (keep 1 pods available, don't exceed 2 pods) Scaling nginx-6ee4372891ec51a97dfbf83ed0846886 up to 1 Scaling nginx down to 0 Update succeeded. Deleting old controller: nginx Renaming nginx-6ee4372891ec51a97dfbf83ed0846886 to nginx Error from server: Note: if you are using "kubectl rolling-update" and your kubectl version is older than v1.4.0, your rolling-update has probably failed, though the pods are correctly updated. Please see https://github.com/kubernetes/kubernetes/blob/master/CHANGELOG.md#kubectl-rolling-update for a workaround. : object is being deleted: replicationcontrollers "nginx" already exists ``` **After:** (see the error message) ```console $ kubectl rolling-update nginx --image=redis Created nginx-12b5782bcdff627fca46537e9e1045f8 Scaling up nginx-12b5782bcdff627fca46537e9e1045f8 from 0 to 1, scaling down nginx from 1 to 0 (keep 1 pods available, don't exceed 2 pods) Scaling nginx-12b5782bcdff627fca46537e9e1045f8 up to 1 Scaling nginx down to 0 Update succeeded. Deleting old controller: nginx Renaming nginx-12b5782bcdff627fca46537e9e1045f8 to nginx Error from server: object is being deleted: replicationcontrollers "nginx" already exists: if you're using "kubectl rolling-update" with kubectl version older than v1.4.0, your rolling update has failed, though the pods are correctly updated. Please see https://github.com/kubernetes/kubernetes/blob/master/CHANGELOG.md#kubectl-rolling-update for a workaround ``` **Which issue this PR fixes** *(optional, in `fixes #<issue number>(, #<issue_number>, ...)` format, will close that issue when PR gets merged)*: fixes # **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 NONE ``` Print the real error message first, the workaround later @lavalamp @gmarek
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue bump master cidr range from /30 to /29 Fixes P1 item in the 1.4 milestone ref: https://github.com/kubernetes/kubernetes/issues/32844
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue Allow kubectl describe ns to pass if server does not support resource quotas and limit ranges Fixes https://github.com/kubernetes/kubernetes/issues/32629 Context: federation-apiserver does not support limit ranges and resource quotas. Hence `kubectl describe ns` fails right now. Fixing it so that `kubectl describe ns` does not error out and atleast prints information about the namespace. cc @kubernetes/sig-cluster-federation @kubernetes/kubectl
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue Increase default memory of vagrant slave nodes to 2048 With current default number (1024) i am not able to spawn all required for e2e tests kube-system pods. I had problems with heapster replicas, and it was obvious from kube-scheduler logs that it is in Pending exaclty because of insufficient memory. To reproduce: 1. KUBERNETES_PROVIDER=vagrant ./cluster/kube-up.sh 2. Run any e2e test
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue Fix storage API endpoint in Ceph example
-
Johannes Scheuermann authored
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue Don't update NodeNetworkUnavailable condition if it's already set cor… Ref #32571
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue delete a unused function in the 'pkg/kubectl/cmd/util/helpers.go' Delete the function `getFlag` in the `pkg/kubectl/cmd/util/helpers.go`, because it is not used anywhere in the project. Signed-off-by:Yanqiang Miao <miao.yanqiang@zte.com.cn>
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue Fix error message around gcloud calls in node e2e and gubernator Fixes some janky error messages around gcloud calls.
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue make rbac authorizer use rule comparison, not covers Updates the rbac authorizer to use rule comparisons and not a covers check to perform authorization.
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue change factorization of listers to make them easier to add `Listers` have a tremendous amount of duplicate code. This factors that out. @smarterclayton ptal.
-
Paul Morie authored
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue Pet Set Example for Cassandra - updating cassandra to 3.7 - added pet set example - adding pet set for Cassandra e2e tests - changed service as we do not want a lb service, as we are running C* - updated docs cc @bgrant0607 cc @kubernetes/examples We can probably close a couple of other open PR, since I did some other stuff.
-
Yanqiang Miao authored
Signed-off-by:
Yanqiang Miao <miao.yanqiang@zte.com.cn> update Signed-off-by:
Yanqiang Miao <miao.yanqiang@zte.com.cn>
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue test: add/remove myself from tests appropriately Added/removed myself from tests and run the pythong script that updates the csv @fejta ptal
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue Fixes #30562: Refactor kubectl command options to use common struct for common file params Fixes #30562 : Refactor common go struct options in pkg/kubectl/cmd/*.go. @pwittrock
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue Revert "Merge pull request #31023 from vishh/gci-default" This reverts PR #31023, which had made GCI the default node image for open source. This revert makes container-vm the default for open source again.
-
Abrar Shivani authored
-
- 16 Sep, 2016 8 commits
-
-
Vish Kannan authored
-
Michael Taufen authored
This reverts PR #31023, which had made GCI the default node image for open source. This revert makes container-vm the default for open source again.
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue dockershim: support annotations and filtering by sandbox ID
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue Add separate build process for node test. This PR is part of https://github.com/kubernetes/kubernetes/pull/31093. However, because currently node e2e is built on `KUBE_TEST_PLATFORMS`, which includes linux/amd64, darwin/amd64, windows/amd64 and linux/arm, it caused #32251 to fail. In fact, node e2e is running on the same node with kubelet, and it also has built-in apiserver, etcd and namespace controller. All of them are only built on `KUBE_SERVER_PLATFORMS`, so node e2e should also only be built on those platforms. ``` KUBE_SERVER_PLATFORMS=( linux/amd64 linux/arm linux/arm64 ) ``` This PR added a separate build process for node e2e to address this. @vishh Do you need this for v1.4? because this blocks your #32251. /cc @dchen1107
-
Phillip Wittrock authored
-
chrislovecnm authored
-
Minhan Xia authored
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue Make sh2ju not print 'error: 0' lines. They cause false positives on Gubernator when it's looking for error reasons.
-