- 27 Jul, 2018 19 commits
-
-
Davanum Srinivas authored
Change-Id: Icf2335e95b0c5505be295b83f6d339269a8d418e
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue (batch tested with PRs 66665, 66707, 66596). If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>. fix kubelet npe panic on device plugin return zero container Signed-off-by:
bingshen.wbs <bingshen.wbs@alibaba-inc.com> **What this PR does / why we need it**: Fix kubelet panic when device plugin return zero containers. Panic logs like follows: ``` Jul 17 12:50:24 iZwz9bqgzuo4i8qu435zk8Z kubelet[25815]: /workspace/anago-v1.10.4-beta.0.68+5ca598b4/src/k8s.io/kubernetes/_output/dockerized/go/src/ k8s.io/kubernetes/vendor/k8s.io/apimachinery/pkg/util/runtime/runtime.go:51 Jul 17 12:50:24 iZwz9bqgzuo4i8qu435zk8Z kubelet[25815]: /workspace/anago-v1.10.4-beta.0.68+5ca598b4/src/k8s.io/kubernetes/_output/dockerized/go/src/ k8s.io/kubernetes/vendor/k8s.io/apimachinery/pkg/util/runtime/runtime.go:65 Jul 17 12:50:24 iZwz9bqgzuo4i8qu435zk8Z kubelet[25815]: /workspace/anago-v1.10.4-beta.0.68+5ca598b4/src/k8s.io/kubernetes/_output/dockerized/go/src/ k8s.io/kubernetes/vendor/k8s.io/apimachinery/pkg/util/runtime/runtime.go:72 Jul 17 12:50:24 iZwz9bqgzuo4i8qu435zk8Z kubelet[25815]: E0717 12:50:24.726856 25815 runtime.go:66] Observed a panic: "index out of range" (runtime error : index out of range) ``` **Release note**: ``` NONE ```
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue (batch tested with PRs 66665, 66707, 66596). If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>. Fix that fails to resize pvc of cinder volume. **What this PR does / why we need it**: Fix that fails to resize pvc of cinder volume. See also #66687. **Which issue(s) this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close the issue(s) when PR gets merged)*: Fixes #66705 **Special notes for your reviewer**: **Release note**: ```release-note NONE ```
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue (batch tested with PRs 66665, 66707, 66596). If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>. Update webhook test image to multi-arch **What this PR does / why we need it**: Use the `image-util.sh` to build the container image so we can generate the full manifest for multi-arch images **Which issue(s) this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close the issue(s) when PR gets merged)*: Fixes # **Special notes for your reviewer**: /cc @mkumatag /cc @luxas **Release note**: ```release-note NONE ```
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue (batch tested with PRs 66554, 66616, 66695, 66681). If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>. [kubeadm] Use KubeletRunDirectory instead of hard-coded way **What this PR does / why we need it**: fix `TODO: Make hard-coded "/var/lib/kubelet" strings reference this constant.` **Which issue(s) this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close the issue(s) when PR gets merged)*: Fixes # **Special notes for your reviewer**: cc @neolit123 **Release note**: ```release-note NONE ```
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue (batch tested with PRs 66554, 66616, 66695, 66681). If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>. Add dnsmasq to test/images/dnsutils **What this PR does / why we need it**: We currently use k8s.gcr.io/k8s-dns-dnsmasq:1.14.5 in the dns_common.go file. Looking deeper, all we need is "/usr/sbin/dnsmasq" from that image. So just enhance the dnsutils image and throw dnsmasq into it. This makes it easier as the dockerfiles/sidecars etc in kubernetes/dns is not really needed. Note that a previous attempt to add manifests to that repo fell through in PR 30 in that repo (since we were moving to coredns). **Which issue(s) this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close the issue(s) when PR gets merged)*: Fixes # **Special notes for your reviewer**: /cc @luxas /cc @ixdy /cc @mkumatag **Release note**: ```release-note NONE ```
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue (batch tested with PRs 66554, 66616, 66695, 66681). If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>. Make the timeout error more specific so users can find it
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue (batch tested with PRs 66554, 66616, 66695, 66681). If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>. fix the watch status when -o=yaml|json option is specfied **Which issue(s) this PR fixes** : `kubectl get pods --watch -o json` only putput once and stop, this PR fix this. **Release note**: ```release-note NONE ```
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue (batch tested with PRs 66333, 65542). If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>. cleanup / simplify convert command Cleans up unnecessary pieces from the convert command, simplifyiing command logic, and readability. **Release note**: ```release-note NONE ``` cc @soltysh @deads2k
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue (batch tested with PRs 66333, 65542). If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>. Add String method to audit.Backend interface **What this PR does / why we need it**: Add `String()` method to `audit.Backend` interface. Should enforce backend to implement this method. Because https://github.com/kubernetes/kubernetes/blob/master/staging/src/k8s.io/apiserver/pkg/audit/union.go#L65 We encountered this issue when we upgrade recently and we implemented our private backend. **Release note**: ```release-note NONE ```
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue. If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>. kubeadm join the cluster with pre-existing client certificate if provided **What this PR does / why we need it**: support `kubeadm join` with a pre-existing client certificate **Which issue(s) this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close the issue(s) when PR gets merged)*: Fixes kubernetes/kubeadm#945 **Special notes for your reviewer**: /cc @luxas @timothysc @kubernetes/sig-cluster-lifecycle-pr-reviews **Release note**: ```release-note kubeadm now can join the cluster with pre-existing client certificate if provided ```
-
Tardis Xu authored
-
Xianglin Gao authored
Signed-off-by:Xianglin Gao <xianglin.gxl@alibaba-inc.com>
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue (batch tested with PRs 63955, 66685, 66671). If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>. remove unused code in pkg/scheduler/algorithm/scheduler_interface_test.go **What this PR does / why we need it**: remove unused code in pkg/scheduler/algorithm/scheduler_interface_test.go **Which issue(s) this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close the issue(s) when PR gets merged)*: Fixes # **Special notes for your reviewer**: **Release note**: ```release-note NONE ```
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue (batch tested with PRs 63955, 66685, 66671). If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>. Add KUBE_CUSTOM_CALICO_NODE_DAEMONSET_YAML and KUBE_CUSTOM_TYPHA_DEPL… **What this PR does / why we need it**: PR https://github.com/kubernetes/kubernetes/pull/65024 Add a helper function to customize K8s addon yamls and use it to customize Calico addons on GKE. This PR will expose CUSTOM_CALICO_NODE_DAEMONSET_YAML and CUSTOM_TYPHA_DEPLOYMENT_YAML so that we can easily overwrite calico yamls on k8s opensource. **Which issue(s) this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close the issue(s) when PR gets merged)*: Fixes # **Special notes for your reviewer**: **Release note**: ```release-note NONRE ```
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue. If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>. Taint node when initializing node. Signed-off-by:
Da K. Ma <klaus1982.cn@gmail.com> **Which issue(s) this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close the issue(s) when PR gets merged)*: Fixes #63897 **Release note**: ```release-note If `TaintNodesByCondition` enabled, taint node with `TaintNodeUnschedulable` when initializing node to avoid race condition. ```
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue. If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>. fix error log **What this PR does / why we need it**: fix error log **Release note**: ```release-note NONE ```
-
Davanum Srinivas authored
We currently use k8s.gcr.io/k8s-dns-dnsmasq:1.14.5 in the dns_common.go file. Looking deeper, all we need is "/usr/sbin/dnsmasq" from that image. So just enhance the dnsutils image and throw dnsmasq into it. This makes it easier as the dockerfiles/sidecars etc in kubernetes/dns is not really needed. Note that a previous attempt to add manifests to that repo fell through in PR 30 in that repo (since we were moving to coredns). Change-Id: Ia6569b968994348d3b3bd741905300cf47b5808c
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue (batch tested with PRs 66658, 66537). If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>. Use GetControllerOf from apimachinery and remove kubernetes copy ```release-note NONE ```
-
- 26 Jul, 2018 21 commits
-
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue. If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>. remove misleading error message on image pulling **What this PR does / why we need it**: Actually all the images needed have already been cached locally already as we have pulled them using `crictl`/`docker` in the preflight checks. The error here is misleading, which should be removed. **Which issue(s) this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close the issue(s) when PR gets merged)*: xref kubernetes/kubeadm#1019 **Special notes for your reviewer**: cc @kubernetes/sig-cluster-lifecycle-pr-reviews **Release note**: ```release-note kubeadm: remove misleading error message regarding image pulling ```
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue (batch tested with PRs 66676, 66624). If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>. Fix jessie-dnsutils image build for arm64 & ppc64el **What this PR does / why we need it**: When we run `make all-container WHAT=jessie-dnsutils` from test/images, the build fails as some of the debian repos in sources.list are stale for arm64 & ppc64el. So we just detect this case and remove the lines. **Which issue(s) this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close the issue(s) when PR gets merged)*: Fixes #66618 **Special notes for your reviewer**: /cc @mkumatag @cjwagner **Release note**: ```release-note NONE ```
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue (batch tested with PRs 66676, 66624). If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>. Bump Heapster to v1.5.4 **What this PR does / why we need it**: Bump Heapster v1.5.4. **Which issue(s) this PR fixes** This Heapster release fixes Stackdriver integration with Kubernetes 1.11. **Release note**: ```release-note Fix Stackdriver integration based on node annotation container.googleapis.com/instance_id. ```
-
Mayank Kumar authored
-
Koonwah Chen authored
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue. If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>. Update http.Transport if it already exists in ExecProvider **What this PR does / why we need it**: This unbreaks ExecPlugin. Without the change, we hit this error https://github.com/kubernetes/kubernetes/blob/master/staging/src/k8s.io/client-go/transport/transport.go#L32 **Release note**: ```release-note Fix kubelet startup failure when using ExecPlugin in kubeconfig ```
-
Davanum Srinivas authored
- Remove debian-security for a couple of arch(es) as they are not available in the debian repos - Also fix up the unbound SED problem with push() method Change-Id: Ibb14ead9581954b66b39c02bcefb5adaa2464fab
-
Karol Wychowaniec authored
-
hangaoshuai authored
-
Anago GCB authored
-
foxyriver authored
-
Di Xu authored
-
Davanum Srinivas authored
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue. If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>. more clear err log **What this PR does / why we need it**: more clear err log **Release note**: ```release-note NONE ```
-
Di Xu authored
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue (batch tested with PRs 66540, 66599). If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>. Invalidate CheckVolumeBinding predicate only when VolumeScheduling feature is enabled **What this PR does / why we need it**: Invalidate CheckVolumeBinding predicate only when VolumeScheduling feature is enabled. **Which issue(s) this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close the issue(s) when PR gets merged)*: Fixes # **Special notes for your reviewer**: **Release note**: ```release-note NONE ```
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue (batch tested with PRs 66540, 66599). If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>. replace predicates string with corresponding const in TestDefaultPredicates **What this PR does / why we need it**: replace predicates string with corresponding const in TestDefaultPredicates. Unify with the const in func defaultPredicates(). **Which issue(s) this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close the issue(s) when PR gets merged)*: Fixes # **Special notes for your reviewer**: **Release note**: ```release-note NONE ```
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue. If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>. pkg/controller: remove old clientbuilder methods everything has moved to client-go now so these are the same as the original Client* methods. The only functional change is the collapse of the "horizontal-pod-autoscaler" from one client to two. This should have no effect because the GoClient was used only for discovery. ```release-note NONE ```
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue. If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>. minor cleanup of selector_spreading priority function **What this PR does / why we need it**: Just a minor cleanup **Which issue(s) this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close the issue(s) when PR gets merged)*: Fixes # **Special notes for your reviewer**: **Release note**: ```release-note NONE ``` /sig scheudling
-
Clayton Coleman authored
This makes the error consistent with the timeout filter and also helps the user understand that they requested a specific timeout.
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue. If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>. test(scheduler): add more integration tests for TaintNodesByCondition - refactor test cases to table driven testing style - more scenarios are covered for TaintNodesByCondition part of #62109 **What this PR does / why we need it**: **Which issue(s) this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close the issue(s) when PR gets merged)*: Fixes # **Special notes for your reviewer**: **Release note**: ```release-note NONE ```
-