- 20 Sep, 2016 4 commits
-
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue Show errors in tars_from_version Follow up from #32855
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue make --include-extended-apis deprecated and remove plumbing Marks a dead CLI parameter as deprecated and removes the plumbing for it.
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue Add missing kubelet godoc Adds some missing godoc to Kubelet, which I found while triaging a bug.
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue controller: a couple of fixes for csr Fixes: * delete resource handler wasn't taking into account tombstones * csr would requeue twice on update failure @deads2k @mikedanese ptal
-
- 19 Sep, 2016 18 commits
-
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue add GenericAPIServer posthooks for initialization Adds the concept of a `PostStartHook` to the `GenericAPIServer` to allow post-server start hooks. This gives a standard location to perform post-start bootstrapping tasks. The common case usage we have downstream are security related bootstrapping tasks that are performed on the "empty etcd" initialization cases. The RBAC authorizer is a good example of this in kube. It needs a location to create default policies to start a server which is capable of being accessed. Kube is also likely to hit this for things like PSP and breaking the monolithic controller user into separate, scoped service accounts. @kubernetes/sig-api-machinery for the `GenericAPIServer` bits @kubernetes/sig-auth for the particular clusterrole bootstrapping. I've only done one to start, but I suspect we'll start making more and probably introduce a binding so that the RBAC super-user doesn't remain a special case forever.
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue Limit the number of names per image reported in the node status This fixes #32908
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue re-enable dynamic provisioning test on gke fixes https://github.com/kubernetes/kubernetes/issues/32377
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue CRI: Add missing sandbox in runningPod. Add a container that represents pod sandbox when converting the pod status to runningPod. Without the change, `kubeGenericRuntimeManager.killPodWithSyncResult()` will not kill any sandboxes. cc @feiskyer @Random-Liu @yujuhong
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue Make container exec failures in e2e easier to debug Makes container exec failures in e2e tests easier to debug. Found while chasing some SELinux bugs :) @pwittrock I'm adding this to the 1.4 milestone because it makes e2e failures easier to debug.
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue Wrong cron job date in scheduledjob.md It seems we wrote a wrong date? `"0 14 21 7 *"` is July 21.
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue etcd watcher: centralize error handling We should centralize error handling in watcher in run(). Otherwise this could silently return. Also we don't need the grpc code checking anymore. It's fixed.
-
deads2k authored
-
Yifan Gu authored
Append containers that represent pod sandboxes when converting the pod status to runningPod.
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue fix a spell mistake **What this PR does / why we need it**: fixed a spell mistake **Which issue this PR 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 ```
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue Increase schedulingTimeout due to flakiness even at 5m. Hope to fix #32668 and #32644 and #32639.
-
Wojciech Tyczynski authored
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue Check init containers in PodContainerRunning Sometimes when an init container runs and terminates quickly, PodContainerRunning can go into a state where the pod indicates it's still running, but the container is already terminated. Handle that condition by returning ErrContainerTerminated when it happens. See also #29952 @smarterclayton @fabianofranz
-
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 8 commits
-
-
Phillip Wittrock authored
-
Michail Kargakis authored
Fixes: * delete resource handler wasn't taking into account tombstones * csr would requeue twice on update failure
-
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
-
lojies authored
-
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 10 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
-