- 04 May, 2017 24 commits
-
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue Update glusterfs vendor dependencies to sha@7a54b6fc903feab1e7cb65731… …77ca09b544eb1e2 Signed-off-by:Humble Chirammal <hchiramm@redhat.com> ```NONE ```
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue remove useless code in kubelet **What this PR does / why we need it**: This code has logical error as the etc-hosts file will be recreated even it already exists. In addition, if do not recreate etc-hosts file when it exists, the pod ip in it will be out of date when pod ips change. So remove this code as it is not needed. **Which issue this PR fixes**: **Special notes for your reviewer**: xrefer: #44481, #44473 **Release note**: ```release-note NONE ```
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue Fix typo in lister-gen, regenerate NamespaeLister -> NamespaceLister @stevekuznetsov, just for you
😄 -
Kubernetes Submit Queue authored
Automatic merge from submit-queue use our own serve mux that directs how we want alternative to https://github.com/kubernetes/kubernetes/pull/44405 I really wanted to avoid writing my own, but the gorilla mux works via redirect, which would be a change. This does exact pattern matches only unless someone explicitly requests a prefix match. @liggitt happier?
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue (batch tested with PRs 45316, 45341) Move hollow-node's initContainer from annotation to field In 1.6, we have moved init containers spec from beta annotation to field. Updating this in kubemark hollow-node. This should solve issues with setting of default fields (like ImagePullPolicy) in the container spec for older versions of apiservers too (as annotation->field change has been cherry picked for older releases too). We noticed this issue in https://github.com/kubernetes/kubernetes/issues/45290 where an old apiserver apparently wasn't setting default ImagePullPolicy for container spec inside annotations. cc @wojtek-t @gmarek @gamename
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue (batch tested with PRs 45316, 45341) Pass NoOpLegacyHost to dockershim in --experimental-dockershim mode This allows dockershim to use network plugins, if needed. /cc @Random-Liu
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue Deployment e2e fixes * don't expect availability on Deployment creations * switch to framework.Logf everywhere for consistency * better use of Expect
-
Shyam Jeedigunta authored
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue (batch tested with PRs 45285, 45162) mounter.go: format return err. **What this PR does / why we need it**: when an error returned is nil, it's preferred to explicitly return nil. **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 use of --local should completely eliminate communication with API server This PR is a bug fix for #45223 It allows --local flag to completely avoid communication with api server. **Which issue this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close that issue when PR gets merged)*: fixes # fixes #45223 This is a simple change, to set the value of boolean flag "local" on o.Local variable
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue Add reference to gluster-kubernetes repo. PR# https://github.com/kubernetes/kubernetes/pull/38932 Signed-off-by: joeblackwaslike Signed-off-by:
Humble Chirammal <hchiramm@redhat.com>
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue [WIP] Skip resize of nf_conntrack/parameters/hashsize if not necessary **What this PR does / why we need it**: Linux does not support writing to `/sys/module/nf_conntrack/parameters/hashsize` when the writer process is not in the initial network namespace (https://github.com/torvalds/linux/blob/v4.10/net/netfilter/nf_conntrack_core.c#L1795-L1796). Usually that's fine. But in some configurations such as with https://github.com/kinvolk/kubeadm-nspawn, kube-proxy is in another netns. Therefore, check if writing in hashsize is necessary and skip the writing if not. **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 ```
-
supereagle authored
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue Adding note on how to use datastore cluster for volume provisioning **What this PR does / why we need it**: Recently https://github.com/kubernetes/kubernetes/pull/44868 is merged which allows using datastore cluster for static and dynamic PVs. Sample is required in the Read me file to help user, how they can specify path in the yaml for datastore within cluster. **Which issue this PR fixes** fixes # https://github.com/vmware/kubernetes/issues/129 **Special notes for your reviewer**: @BaluDontu @tusharnt **Release note**: ```release-note NONE ```
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue (batch tested with PRs 44068, 45292) Add the seccomp profile loading test to dockershim The test was originally in docker_manager_test.go (now removed). I copied and adapated the logic for the new test. Also move the origina test fixtures needed for the test. ref: the original test is at https://github.com/kubernetes/kubernetes/blob/v1.6.2/pkg/kubelet/dockertools/docker_manager_linux_test.go#L294 This is part of #43234
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue Use Docker API Version instead of docker version **What this PR does / why we need it**: **Which issue this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close that issue when PR gets merged)*: fixes # Fixes #42492 **Special notes for your reviewer**: **Release note**: `Update cadvisor to latest head to use docker APIversion exposed by cadvisor`
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue (batch tested with PRs 45056, 44904, 45312) Update repo-infra dependency to support multiple upload paths **What this PR does / why we need it**: pulls in https://github.com/kubernetes/repo-infra/pull/17, which I think will be necessary for integrating the bazel build into e2e CI. **Release note**: ```release-note NONE ``` /assign @mikedanese @thockin
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue (batch tested with PRs 45056, 44904, 45312) CRI: clarify the behavior of PodSandboxStatus and ContainerStatus **What this PR does / why we need it**: Currently, we define that ImageStatus should return `nil, nil` when requested image doesn't exist, and kubelet is relying on this behavior now. However, we haven't clearly defined the behavior of PodSandboxStatus and ContainerStatus. Currently, they return error when requested sandbox/container doesn't exist, and kubelet is also relying on this behavior. **Which issue this PR fixes** Fixes #44885. **Special notes for your reviewer**: **Release note**: ```release-note NONE ```
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue bump(golang.org/x/oauth2): a6bd8cefa1811bd24b86f8902872e4e8225f74c4 As I tackle https://github.com/kubernetes/kubernetes/issues/42654 kubectl's OpenID Connect plugin will start using golang.org/x/oauth2 for refreshing, instead of go-oidc's own hand rolled oauth2 implementation. In preparation, update golang.org/x/oauth2 to include https://github.com/golang/oauth2/commit/7374b3f1ecc8adceb22d365168403eb328a845f4 which fixes refreshing with Okta. We also somehow removed the dependency on `google.golang.org/appengine`. Maybe https://github.com/golang/oauth2/commit/8cf58155e4a90a3a73149652cc36528e892c58cf? cc @kubernetes/sig-auth-pr-reviews
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue (batch tested with PRs 45314, 45250, 41733) CRI: add ImageFsInfo API **What this PR does / why we need it**: kubelet currently relies on cadvisor to get the ImageFS info for supported runtimes, i.e., docker and rkt. This PR adds ImageFsInfo API to CRI so kubelet could get the ImageFS correctly for all runtimes. **Which issue this PR fixes** First step for #33048 ~~also reverts temporary ImageStats in #33870~~. **Special notes for your reviewer**: **Release note**: ```release-note NONE ```
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue (batch tested with PRs 45314, 45250, 41733) Rename //:ci-artifacts rule to //:push-build, and add a deprecated alias **What this PR does / why we need it**: this rule has a larger scope than just CI artifacts now, so it seems like the name should be updated to match. WDYT? This is a separate PR to facilitate easy cherry-picking; I'd rather test-infra jobs not need to special-case. /assign @spxtr @mikedanese **Release note**: ```release-note NONE ```
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue kuberuntime: remove the unused network plugin Network plugin is completely handled by the container runtimes. Remove this unused field in the kuberuntime manager.
-
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 16 commits
-
-
Yu-Ju Hong authored
-
Yu-Ju Hong authored
Network plugin is completely handled by the container runtimes. Remove this unused field in the kuberuntime manager.
-
Jeff Grafton authored
-
Chao Xu authored
-
Suyog Barve authored
fix testcase use of --local should completely eliminate communication with API server
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue More dockertools cleanup This is part of #43234.
-
deads2k authored
-
Yu-Ju Hong authored
The test was originally in docker_manager_test.go (now removed). I copied and adapated the logic for the new test. Also move the original test fixtures needed for the test.
-
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" ```
-