- 04 May, 2017 3 commits
-
-
Phillip Wittrock authored
Fixes #45279
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue (batch tested with PRs 44309, 45258) Control visibility of client-go/pkg/api k8s.io/client-go/pkg/api is going to disappear after https://github.com/kubernetes/kubernetes/issues/44065 is done. We need to add more dependencies on it. Currently we still have a few visibility exceptions, we need to fix all of them.
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue (batch tested with PRs 44309, 45258) Update debug info for scheduler priorities flaky tests
-
- 03 May, 2017 36 commits
-
-
Chao Xu authored
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue More dockertools cleanup This is part of #43234.
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue (batch tested with PRs 45283, 45289, 45248, 44295) Azure disk: dealing with missing disk probe **What this PR does / why we need it**: While Azure disks are expected to attach to SCSI host 3 and above on general purpose instances, on certain Azure instances disks are under SCSI host 2. This fix searches all LUNs but excludes those used by Azure sys disks, based on udev rules [here](https://raw.githubusercontent.com/Azure/WALinuxAgent/master/config/66-azure-storage.rules) **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 ```
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue (batch tested with PRs 45283, 45289, 45248, 44295) Use docker_bundle rule from new rules_docker repo **What this PR does / why we need it**: switched to using the new `docker_bundle` rule from `rules_docker` instead of my patched `docker_build` rule. This also brings in some fixes for the docker rules that were missing from my fork. Additionally, I switched out the `git_repository` rules for `http_archive` rules, since that seems to be recommended by the bazel docs (and might be faster). Lastly, I updated the `pkg_tar` rules to use my patch, which doesn't prepend `./` to files inside the tarballs. This one should likely be merged upstream in the near future. I think this is the last of the changes necessary to have `bazel run //:ci-artifacts` working properly to support using bazel for e2e in CI. **Release note**: ```release-note NONE ```
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue (batch tested with PRs 45283, 45289, 45248, 44295) Remove offending code due to bad rebase **What this PR does / why we need it**: Fix bug introduced by bad rebasing **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**: ``` NONE ```
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue Fixed permissions on namespace actions closes **What this PR does / why we need it**: the newly introduced namespace-* actions are failing proof. Setting them as +x resolves proof errors emitting from `charm proof` **Which issue this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close that issue when PR gets merged)*: fixes https://github.com/juju-solutions/bundle-canonical-kubernetes/issues/273 **Special notes for your reviewer**: **Release note**: ```release-note NONE ```
-
Yu-Ju Hong authored
-
Yu-Ju Hong authored
Also remove unused image tests in docker_test.go
-
Yu-Ju Hong authored
Move some constants/functions to dockershim and remove unused tests.
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue Remove imports of k8s.io/client-go/pkg/api k8s.io/client-go/pkg/api will be eliminated by #44784, so we need to remove all imports of it. This PR is large, but mostly simple changes, like: * using constants defined in the v1 package instead of those in the internal package * using k8s.io/client-go/kubernetes/scheme.Codecs/Schemes instead of those in k8s.io/client-go/pkg/api * using `v1.SchemeGroupVersion` instead of `api.Registry.GroupOrDie(api.GroupName).GroupVersion` in tests * importing `k8s.io/kubernetes/pkg/api` instead of `k8s.io/client-go/pkg/api` if possible With this PR https://github.com/kubernetes/kubernetes/pull/45159, the only remaining imports of `k8s.io/client-go/pkg/api` are from k8s.io/metrics. ``` bash $ git grep "\"k8s.io/client-go/pkg/api\"" | grep -v "staging/src/k8s.io/client-go/pkg/api" staging/src/k8s.io/metrics/pkg/apis/custom_metrics/install/install.go:25: "k8s.io/client-go/pkg/api" Binary file staging/src/k8s.io/metrics/pkg/apis/custom_metrics/types.generated.go matches staging/src/k8s.io/metrics/pkg/apis/custom_metrics/types.go:22: "k8s.io/client-go/pkg/api" staging/src/k8s.io/metrics/pkg/apis/metrics/install/install.go:26: "k8s.io/client-go/pkg/api" staging/src/k8s.io/metrics/pkg/apis/metrics/types.go:21: "k8s.io/client-go/pkg/api" Binary file staging/src/k8s.io/metrics/pkg/apis/metrics/v1alpha1/zz_generated.conversion.go matches Binary file staging/src/k8s.io/metrics/pkg/apis/metrics/zz_generated.deepcopy.go matches staging/src/k8s.io/metrics/pkg/client/clientset_generated/clientset/fake/clientset_generated.go:24: "k8s.io/client-go/pkg/api" staging/src/k8s.io/metrics/pkg/client/custom_metrics/client.go:26: "k8s.io/client-go/pkg/api" staging/src/k8s.io/metrics/pkg/client/custom_metrics/fake/fake_client.go:24: "k8s.io/client-go/pkg/api" ```
-
Huamin Chen authored
Signed-off-by:Huamin Chen <hchen@redhat.com>
-
Jeff Grafton authored
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue Fix flake in sandbox garbage collection **What this PR does / why we need it**: Sorry for introducing a flakiness in #43053: the creation time is not set in `makeGCSandbox`, which caused the garbage collection removes sandboxes randomly if there are more than one dead sandboxes belonging to same pod. This PR fixes the flakiness in sandbox garbage collection. **Which issue this PR fixes** Fixes #45281 #45274. **Special notes for your reviewer**: **Release note**: ```release-note NONE ``` cc/ @Random-Liu @shashidharatd @kubernetes/sig-node-bugs
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue allow kubectl proxy to handle specified reject methods and default to… What this PR does / why we need it: "kubect proxy" command had a bug and was not supporting feature to reject http methods --reject-methods='POST,PUT,PATCH' this was due to missing filter for RejectMethods in kubectl/cmd/proxy.go This PR adds the desired flag, however to retain the current behaviour of "kubectl proxy" the Default Rejected methods are changed from 'POST,PUT,PATCH' to '^$' i.e. none. Issue not created and no existing issue found
-
Konstantinos Tsakalozos authored
-
Charles Butler authored
the newly introduced namespace-* actions are failing proof. Setting them as +x resolves proof errors emitting from `charm proof` closes https://github.com/juju-solutions/bundle-canonical-kubernetes/issues/273
-
Pengfei Ni authored
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue (batch tested with PRs 45272, 45115) initial types for TPRs This pull starts creating the types described by https://github.com/kubernetes/community/blob/master/contributors/design-proposals/thirdpartyresources.md . In the initial pull different names were suggested. I've started this pull with `CustomResource.apiextensions.k8s.io`. The structure begins as a separate API server to facilitate rapid prototyping and experimentation, but the end result will be added to the end of the `kube-apiserver` chain as described in https://github.com/kubernetes/community/blob/master/sig-api-machinery/api-extensions-position-statement.md . Because it is separate to start (not included in any default server), I don't think we need a perfect name, but I'd like to be close. @kubernetes/sig-api-machinery-misc @enisoc @smarterclayton @erictune
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue (batch tested with PRs 45272, 45115) apimachinery: make explicit that meta.KindToResource is only a guess All non-test code using `KindToResource` is suspicious and should be fixed with a real RESTMapper.
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue Add wait for federated service deletion Fixes the flaky kubectl tests https://github.com/kubernetes/kubernetes/pull/44987#issuecomment-298790335, https://github.com/kubernetes/kubernetes/issues/45264 service deletion is not instantaneous in federation. The fix is same as https://github.com/kubernetes/kubernetes/pull/42674. We need the fix now for services since we recently fixed federation service controller so that it runs successfully now. cc @shashidharatd
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue (batch tested with PRs 45005, 43053) kubelet: fix sandbox garbage collection **What this PR does / why we need it**: Currently, kuberuntime garbage collection can't distinguish just-created sandboxes from failed sandboxes. Especially when the time from sandbox creation to ready is longer than GC's minAge. In such cases, those sandboxes may be garbage collected early before they are ready. This PR removes `sandboxMinGCAge` and only garbage collect sandboxes when * they are containing no containers at all * and not the latest sandbox if it is belonging to an existing pod. **Which issue this PR fixes** Fixes #42856. **Release note**: ```release-note NONE ``` cc @yujuhong @Random-Liu
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue (batch tested with PRs 45005, 43053) [Federation]Fix e2e_federation: pass clusterIngress out None
-
Dr. Stefan Schimanski authored
-
Dr. Stefan Schimanski authored
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue (batch tested with PRs 45013, 45166) CRI: remove PodSandboxStatus.Linux.Namespaces.Network **What this PR does / why we need it**: PodSandboxStatus.Linux.Namespaces.Network is not used, so this PR removes it from CRI. **Which issue this PR fixes** Closes: #44972 **Special notes for your reviewer**: **Release note**: ```release-note Remove PodSandboxStatus.Linux.Namespaces.Network from CRI. ``` /assign @Random-Liu @yujuhong
-
Pengfei Ni authored
-
Pengfei Ni authored
Sandboxes are garbage collected only when they are containing no containers at all and not the latest sandbox if it is belonging to an existing pod.
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue Add cinder volume examples I can not find cinder examples,add in packages examples/volume and examples/persistent-volume-provisioning **Release note**: ```release-note NONE ```
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue kubelet/get-pods-from-path: correct description of implemention **What this PR does / why we need it**: I find this description does not follow the current implementation, it should be describe like this according to my understanding of the source code. -
nikhiljindal authored
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue (batch tested with PRs 45219, 45246) Fixed misspelled http URL in the cluster-dns example **What this PR does / why we need it**: Fixes wrong http URL in the examples/cluster-dns. **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**: none **Release note**: none
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue Fix golint verify error I don't know why CI pass the hack/verify-golint.sh test. But in my environment I get this: > staging/src/k8s.io/client-go/util/workqueue/queue_test.go is in package workqueue_test, not workqueue Errors from golint: test/integration/apiserver/apiserver_test.go:102:13: should omit type string from declaration of var cascDel; it will be inferred from the right-hand side Please fix the above errors. You can test via "golint" and commit the result. !!! Error in hack/verify-golint.sh:98 Error in hack/verify-golint.sh:98. 'false' exited with status 1 Call stack: 1: hack/verify-golint.sh:98 main(...) Exiting with status 1 This change fix this err in my environment. **Release note**: ```NONE ```
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue CHANGELOG.md: update outdated link I am not sure that if the file was generated automatically. But I find some links were outdated. Release note: NONE
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue Clean up code in dockertools Move functions and sub packages to dockershim. Part of #43234.
-
Chao Xu authored
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue cleancode:util.go cleancode, the modification point make code clean and light
-
- 02 May, 2017 1 commit
-
-
Jeff Grafton authored
-