- 03 Nov, 2016 40 commits
-
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue Switch DisruptionBudget api from bool to int allowed disruptions [only v1beta1] Continuation of #34546. Apparently it there is some bug that prevents us from having 2 different incompatibile version of API in integration tests. So in this PR v1alpha1 is removed until testing infrastructure is fixed. Base PR comment: Currently there is a single bool in disruption budget api that denotes whether 1 pod can be deleted or not. Every time a pod is deleted the apiserver filps the bool to false and the disruptionbudget controller sets it to true if more deletions are allowed. This works but it is far from optimal when the user wants to delete multiple pods (for example, by decreasing replicaset size from 10000 to 8000). This PR adds a new api version v1beta1 and changes bool to int which contains a number of pods that can be deleted at once. cc: @davidopp @mml @wojtek-t @fgrzadkowski @caesarxuchao
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue Node e2e: collect logs if the test fails unexpectedly
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue Fixed kibana image and controller to work through proxy As described in #34969, new kibana image doesn't work properly with proxies without additional configuration. @piosz
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue Disable the test-owners verify step until the merge conflicts are resolved It's causing more pain than it's preventing currently. There should be some simpler ways to fix this.
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue [Federation][init-02] Stop passing command factory to the init command. Please review only the last commit here. This is based on PR #35856 which will be reviewed independently. Design Doc: PR #34484 cc @kubernetes/sig-cluster-federation @nikhiljindal
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue Fix typo in local-up-cluster Use curly braces instead of round ones for bash variable expansion. The script complains about unknown ROOT_CA_FILE when running with KUBE_ENABLE_CLUSTER_DNS=true.
-
Yu-Ju Hong authored
This only works for nodes with journald.
-
Saad Ali authored
fix cross build for kubelet/cm
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue [Federation] Add unit tests for `kubefed init`'s certificate generator. Please review only the last commit here. This is based on PR #35594 which will be reviewed independently. These are a subset of unit tests for code introduced in PR #35594 Design Doc: PR #34484 cc @kubernetes/sig-cluster-federation @quinton-hoole
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue always allow decoding of status when returned from the API `unversioned.Status` should be able to come back from any API version and still be properly decoded. This doesn't happen today by default. @smarterclayton Our projectrequest endpoint returns a `Status` object on a 200 return from list to indicate everything went well. This (or something like it) is needed to make the API accepted by `kubectl`. Alternatively, we change the API to return a different (still not a `Project`) value from list, which still feels wrong.
-
Marcin authored
-
Marcin authored
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue Scheduler Reduce function can use nodeNameToNodeInfo map
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue Populate Node.Status.Addresses with Hostname This PR is supposed to address #22063 Currently `NodeName` has to be a resolvable dns address on the master to allow apiserver -> kubelet communication (exec, log, port-forward operations on a pod). In some situations this is unfortunate (see the discussions on the issue). The PR aims to do the following: - Populate the `Type: Hostname` in the `Node.Status.Addresses` array, the type is already defined, but was not used so far. - Add logic to resolve a Node's Hostname when the apiserver initiates communication with the Kubelet, instead of using the Nodename string as Hostname. ```release-note The hostname of the node (as autodetected by the kubelet, specified via --hostname-override, or determined by the cloudprovider) is now recorded as an address of type "Hostname" in the status of the Node API object. The hostname is expected to be resolveable from the apiserver. ```
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue cr2 e2e: remove experimental-mounter-rootfs flag
-
Seth Jennings authored
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue promote /healthz and /metrics to genericapiserver Promotes `/healthz` to genericapiserver with methods to add healthz checks before running. Promotes `/metrics` to genericapiserver gated by config flag. @lavalamp adds the healthz checks linked to `postStartHooks` as promised.
-
Yu-Ju Hong authored
The commit was reverted and the flag no longer exists.
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue clean up client version negotiation to handle no legacy API Version negotiation fails if the legacy API endpoint isn't available. This tightens up the negotiation interface based to more clearly express what each stage is doing and what the constraints on negotiation are. This is needed to speak to generic API servers. @kubernetes/kubectl
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue Don't rely on device name provided by Cinder See issue #33128 We can't rely on the device name provided by Cinder, and thus must perform detection based on the drive serial number (aka It's cinder ID) on the kubelet itself. This patch re-works the cinder volume attacher to ignore the supplied deviceName, and instead defer to the pre-existing GetDevicePath method to discover the device path based on it's serial number and /dev/disk/by-id mapping. This new behavior is controller by a config option, as falling back to the cinder value when we can't discover a device would risk devices not showing up, falling back to cinder's guess, and detecting the wrong disk as attached.
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue Add BindNetwork to genericapiserver Config This is needed for downstream use: `BindNetwork` is the type of network to bind to - defaults to "tcp4", accepts "tcp", "tcp4", and "tcp6".
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue Corect filtering of OpenStack LBaaS resources to delete Neutron's API ignores unknown parameters. When listing pools etc, K8 attempts to filter on "LoadBalancerID", which is not a valid filter. As such, it is ignored by Neutron, and a list of all pools is returned. K8 then proceeds to delete each of the pools. Instead, we now double check the resources really belong to the LB we're trying to delete. Fixes issue #33759
-
Marcin authored
-
Marcin authored
-
Marcin authored
-
Marcin authored
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue Add node affinity test to scheduler benchmark cc @wojtek-t
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue [Kubelet] Use the custom mounter script for Nfs and Glusterfs only This patch reduces the scope for the containerized mounter to NFS and GlusterFS on GCE + GCI clusters This patch also enabled the containerized mounter on GCI nodes Shepherding multiple PRs through the submit queue is painful. Hence I combined them into this PR. Please review each commit individually. cc @jingxu97 @saad-ali https://github.com/kubernetes/kubernetes/pull/35652 has also been reverted as part of this PR
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue pod and qos level cgroup support ```release-note [Kubelet] Add alpha support for `--cgroups-per-qos` using the configured `--cgroup-driver`. Disabled by default. ```
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue Bump GCI version to gci-dev-56-8938-0-0 for k8s v1.5
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue In error, the first letter should be lowcase **What this PR does / why we need it**: Fix the typo of the first letter in error **Special notes for your reviewer**: Reference here: https://github.com/golang/go/wiki/CodeReviewComments#error-strings Signed-off-by: YuPengZTE yu.peng36@zte.com.cn
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue Fix collisions between different etcds during migration. Ref #20504
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue Move Statefulset (previously PetSet) to v1beta1 **What this PR does / why we need it**: #28718 **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**: depends on #35663 (PetSet rename) cc @erictune @foxish @kubernetes/sig-apps **Release note**: ``` release-note v1beta1/StatefulSet replaces v1alpha1/PetSet. ```
-
Jan Safranek authored
Use curly braces instead of round ones for bash variable expansion. The script complains about unknown ROOT_CA_FILE when running with KUBE_ENABLE_CLUSTER_DNS=true.
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue Fix typo in docs/devel/godep.md
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue Retry "godep restore" once in verify-dockerized.sh This should fix #36110. The current flake rate is 0.5%, so with the unrealistic assumption of uncorrelated flakes, a single retry will bring it down to <0.01% flake rate.
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue Remove a few versioned-warnings that snuck in Some pending PRs still have this in them.
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue fix verify-bazel.sh on mac and windows mac bash doesn't like |& because mac bash is really old. the formating of wc is also slightly different then on linux. ```console $ # on linux $ echo -n | wc -l 0 $ # on mac $ echo -n | wc -l 0 ``` -
Kubernetes Submit Queue authored
Automatic merge from submit-queue Moving annotation to the PodTemplateSpec **What this PR does / why we need it**: Fixes broken tests. **Which issue this PR fixes** *(optional, in `fixes #<issue number>(, #<issue_number>, ...)` format, will close that issue when PR gets merged)*: fixes #35768 **Special notes for your reviewer**: Tested locally. ```release-note NONE ``` cc @kubernetes/sig-apps
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue [Federation][init] Implement `kubefed init` command that performs federation control plane bootstrap. Please review only the last commit here. This is based on PR #35593 which will be reviewed independently. I am intentionally not including the unit tests in this PR to better distribute and parallelize reviews. This PR is already big. I will add a release note separately for this entire feature, so please don't worry too much about the release note here in the PR. Design Doc: PR #34484 cc @kubernetes/sig-cluster-federation @quinton-hoole @nikhiljindal
-