- 17 Dec, 2016 9 commits
-
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue cluster/gce/coreos: add OWNERS See #33965 for context. The code in `cluster/gce/coreos` has mostly been written/maintained by @yifan-gu and myself thusfar, so I added our names to the owner list. @ethernetdan has also volunteered as well (thanks!). **Release note**: ```release-note NONE ``` cc @roberthbailey
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue Remove two zany unit tests. These two tests aren't unit tests in the usual sense. We can consider switching them to run as verify checks, but I'm not convinced that they're even necessary. They essentially work by searching their code for public functions with signatures that look like `FitPredicate`, then they shell out to grep to see that they're used somewhere in the source tree. This will never work in bazel.
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue (batch tested with PRs 37468, 36546, 38713, 38902, 38614) Remove extensions/v1beta1 Job Fixes https://github.com/kubernetes/kubernetes/issues/32763. This endpoint was deprecated in 1.5 and was planned to be removed in 1.6. **Release note**: ```release-note Remove extensions/v1beta1 Jobs resource, and job/v1beta1 generator. ```
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue (batch tested with PRs 37468, 36546, 38713, 38902, 38614) [Federation] Remove unnecessary functions from develop.sh as part of … This is part of a big refactor to deprecate a short-lived deploy.sh mechanism that nobody really could use due to bugs. ```release-note `federation/deploy/deploy.sh` was an interim solution introduced in Kubernetes v1.4 to simplify the federation control plane deployment experience. Now that we have `kubefed`, we are deprecating `deploy.sh` scripts. ``` cc @kubernetes/sig-federation-misc @irfanurrehman
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue (batch tested with PRs 37468, 36546, 38713, 38902, 38614) local-up-cluster additions **What this PR does / why we need it**: Changes to local-cluster-up: These include: 1) a simple additional help option. 2) additional error message to not being able to run `docker ps`. 3) fail faster when etcd is not found in path. Hopefully these make developing a bit more pleasant. **Release note**: ```NONE ```
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue (batch tested with PRs 37468, 36546, 38713, 38902, 38614) Adds e2e firewall tests for LoadBalancer service, ingress, and e2e cluster Fixes #25488 and fixes #31827. This PR adds e2e firewall test for LoadBalancer type service, ingress and e2e cluster. Test details for LoadBalancer type service as below: - Verifies corresponding firewall rule has correct `sourceRanges`, `ports and protocols` and `target tags`. - Verifies requests can reach all expected instances. - Verifies requests can not reach instances that are not included. Overview of the test procedure: - Creates a LoadBalancer type service. - Validates the corresponding firewall rule. - Creates netexec pods as service backends. - Sends requests from outside of the cluster and examine hitting all instances in range. - Removes tags from one of the instances in order to get it out of firewall rule's range. - Sends requests from outside of the cluster and examine not hitting this instance. - Recovers tags for this instances and verifies its traffic is back. @bprashanth @bowei @thockin
-
Kubernetes Submit Queue authored
Merge pull request #37468 from bruceauyeung/k8s-branch-rename-constant-MaxPatchConflicts-to-maxRetryWhenPatchConflicts Automatic merge from submit-queue (batch tested with PRs 37468, 36546, 38713, 38902, 38614) rename constant MaxPatchConflicts to maxRetryWhenPatchConflicts **What this PR does / why we need it**: 1. literally `MaxPatchConflicts` means max number of patch conflicts allowed during a patch operation. but actually in codes it is used to indicate max number of patch retry when patch conflicts happened. 2. there is no need to export this constant because it is only used in `resthandler.go` and shouldn't be used in other packages. Signed-off-by:bruceauyeung <ouyang.qinhua@zte.com.cn>
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue Admit critical pods in the kubelet Haven't verified in a live cluster yet, just unittested, so applying do-not-merge label.
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue Document known issue for broken local-up-cluster script in 1.5.1 Ref #38847
-
- 16 Dec, 2016 31 commits
-
-
Matt Liggett authored
Node E2E: Disable AU in node e2e test.
-
Maciej Szulik authored
-
Maciej Szulik authored
-
Maciej Szulik authored
-
Maciej Szulik authored
-
Maciej Szulik authored
-
Janet Kuo authored
-
Joe Finney authored
-
Zihong Zheng authored
For LoadBalancer type service: - Verifies corresponding firewall rule has correct sourceRanges, ports & protocols, target tags. - Verifies requests can reach all expected instances. - Verifies requests can not reach instances that are not included. For Ingress resrouce: - Verifies the ingress firewall rule has correct sourceRanges, target tags and tcp ports. For general e2e cluster: - Verifies all required firewall rules has correct sourceRange, ports & protocols, source tags and target tags. - Verifies well know ports on master and nodes are not exposed externally
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue Remove a space in ingress e2e title
-
Euan Kemp authored
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue (batch tested with PRs 38888, 38895) InodeEviction Test failing because of docker race condition. The inode eviciton test was failing because of a bug in docker/docker#21215. Inode eviction test triggers garbage collection of images, which causes an error if kubernetes tries to "docker images list" at the same time. This is not relevant to the inode eviction test, so do not cause the test to fail if this race occurs. @Random-Liu
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue (batch tested with PRs 38888, 38895) Bundle federation/develop directory in the test tarball for federation testing. cc @kubernetes/sig-federation-misc
-
Madhusudan.C.S authored
This is part of a big refactor to deprecate a short-lived deploy.sh mechanism that nobody really could use due to bugs.
-
bprashanth authored
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue Use daemonset in docker registry add on When using registry add on with kubernetes cluster it will be right to use `daemonset` to bring up a pod on each node of cluster, right now the docs suggests to bring up a pod on each node manually by dropping the pod manifests into directory `/etc/kubernetes/manifests`.
-
David Ashpole authored
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue use in-cluster kubeconfig for genericapiserver Allow the use of the in-cluster config to communicate with the core API server for delegated authn/authz for an addon API server. @kubernetes/sig-api-machinery @sttts
-
Madhusudan.C.S authored
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue Don't check nodeport for nginx ingress Services behind a standard nginx ingress don't need nodeport, so don't check that.
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue (batch tested with PRs 38730, 37299) [scheduling] Moved node affinity from annotations to api fields. #35518 Converted node affinity from annotations to api fields Fixes: #35518 Related: #25319 Related: #34508 **Release note**: ```release-note Node affinity has moved from annotations to api fields in the pod spec. Node affinity that is defined in the annotations will be ignored. ```
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue Automatically download missing kube binaries in kube-up/kube-down. **What this PR does / why we need it**: some users extract `kubernetes.tar.gz` and then immediately call `cluster/kube-up.sh` without first calling the new `cluster/get-kube-binaries.sh` script. As a result, the cluster fails to start, but it's not immediately clear why binaries are missing. This PR streamlines this workflow by detecting this condition and prompting the user to download necessary binaries (using `cluster/get-kube-binaries.sh`). **Which issue this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close that issue when PR gets merged)*: fixes #38725 cc @arun-gupta @christian-posta
-
deads2k authored
-
Robert Rati authored
annotations to api fields. #35518
-
Robert Rati authored
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue Fixed infinite loop in cluster validation.
-
Alejandro Escobar authored
local-up-cluster changes: added help option, added error message for why docker ps fails and how to recover, added test to check if etcd is in your path to fail fast when not found. from etcd.sh split the start process into validate fucntion + start function so that the validate piece can be reused elsewhere. the up-cluster script has been changed to remove duplicate docker logic to the one used in buid-tools/common.sh and the validate etcd function is now used here. moved docker daemon check function to util.sh and made function name changes and upstream changes.
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue Remove dead code in `pkg/registry/generic/registry/store.go` Fixes #38822 Depending on the intent of the original code, the correct fix may instead be: ```go if name, ok := p.MatchesSingle(); ok { key, err := e.KeyFunc(ctx, name) if err != nil { return nil, err } w, err := e.Storage.Watch(ctx, key, resourceVersion, p) if err != nil { return nil, err } if e.Decorator != nil { return newDecoratedWatcher(w, e.Decorator), nil } return w, nil // if we cannot extract a key based on the current context, the optimization is skipped } ``` Signed-off-by:Monis Khan <mkhan@redhat.com> cc @deads2k
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue genericapiserver: turn APIContainer.SecretRoutes into a real ServeMux The secret routes `Mux` is actually a `http.ServeMux` and we are type-casting to it. For downstream we want to wrap it into a restful container which also needs a real `http.ServeMux`.
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue kubectl: fix 'create deployment' to set container name correctly @kubernetes/kubectl @kubernetes/sig-cli
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue Fix Recreate for Deployments and stop using events in e2e tests Fixes https://github.com/kubernetes/kubernetes/issues/36453 by removing events from the deployment tests. The test about events during a Rolling deployment is redundant so I just removed it (we already have another test specifically for Rolling deployments). Closes https://github.com/kubernetes/kubernetes/issues/32567 (preferred to use pod LISTs instead of a new status API field for replica sets that would add many more writes to replica sets). @kubernetes/deployment
-