- 15 Oct, 2016 20 commits
-
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue Fix typos in juju's metadata.yaml Trivial update to juju's metadata.yaml to fix typos
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue Use same SSH tunnel as kubelet Provides a secure workaround for #11816 by having kube-apiserver use the same SSH tunnel as the kubelet it is trying to connect to. Use in conjunction with iptables or kubelet `--address=127.0.0.1`. The latter will break heapster. Will fallback to random behavior if the tunnel cannot be found.
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue Openstack: Update lb member when node port changes Ensures lb members are update if node port changes. cc @suonto
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue Fix typos and englishify plugin/pkg **What this PR does / why we need it**: Just typos **Which issue this PR fixes**: `None` **Special notes for your reviewer**: Just typos **Release note**: `NONE`
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue Fixed downloading of flannel 0.6.x releases in ubuntu installer, 0.5.x works as well **What this PR does / why we need it**: This PR fixes compatibility of ubuntu installer with flannel release 0.6.0 and 0.6.1 where download url was changed. **Release note**: ```NONE ```
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue PodGCController waits for informer sync before doing anything.
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue Cleanup the commented code for overriding flags with viper. For now,… Minor cleanup for the viper configuration logic, removes commented code into a function of its own. We can decide wether or not to overwrite flag values at a later time...
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue Remove imports of "pkg/client/unversioned" in "pkg/controller" We are trying to deprecate "pkg/client/unversioned", see https://github.com/kubernetes/kubernetes/issues/25442. Also part of https://github.com/kubernetes/kubernetes/issues/29934.
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue Fix typos
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue fix error handling Add missing error handling mentioned in [#33250 Comment](https://github.com/kubernetes/kubernetes/pull/33250#issuecomment-253920315) @janetkuo
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue fix sed command run failed on mac os bash command ```sed -i ... ``` run failed on mac os, it should be ```sed -i.back ..```
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue Add global timeout flag **Release note**: ```release-note Add a new global option "--request-timeout" to the `kubectl` client ``` UPSTREAM: https://github.com/kubernetes/client-go/pull/10 This patch adds a global timeout flag (viewable with `kubectl -h`) with a default value of `0s` (meaning no timeout). The timeout value is added to the default http client, so that zero values and default behavior are enforced by the client. Adding a global timeout ensures that user-made scripts won't hang for an indefinite amount of time while performing remote calls (right now, remote calls are re-tried up to 10 times when each attempt fails, however, there is no option to set a timeout in order to prevent any of these 10 attempts from hanging indefinitely). **Example** ``` $ kubectl get pods # no timeout flag set - default to 0s (which means no timeout) NAME READY STATUS RESTARTS AGE docker-registry-1-h7etw 1/1 Running 1 2h router-1-uv0f9 1/1 Running 1 2h $ kubectl get pods --request-timeout=0 # zero means no timeout no timeout flag set NAME READY STATUS RESTARTS AGE docker-registry-1-h7etw 1/1 Running 1 2h router-1-uv0f9 1/1 Running 1 2h $kubectl get pods --request-timeout=1ms Unable to connect to the server: net/http: request canceled while waiting for connection (Client.Timeout exceeded while awaiting headers) ```
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue Pass whole PVC to provisioner plugins Gluster provisioner is interested in namespace of PVCs that are being provisioned and I don't want to add at as a new field in `volume.VolumeOptions` - it would contain almost whole PVC. Let's rework `VolumeOptions` and pass direct reference to PVC there instead of some "interesting" fields and let the provisioner to pick information it is interested in. There was lot of refactoring in volume plugins to apply this change (too many plugins), however the logic is simple and it's all the same in all plugins. @rootfs @humblec
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue replace kubeclient with kubeclientset in scheduler factory
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue honor SAR verb Verbs on non-resource requests were dropped. This results in always being denied for all the authorizers I know of, so no unintended exposure, but its still ugly. We should probably pick. @liggitt I would have expected the kubelet work to get stuck on this.
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue kubeadm join: wait for API endpoints **What this PR does / why we need it**: enhance kubeadm to allow for parallel provisioning of API endpoints and slave nodes, continued from https://github.com/kubernetes/kubernetes/pull/33543 **Fixes**: https://github.com/kubernetes/kubernetes/issues/33542 **Special notes for your reviewer**: * Introduces a concurrent retry mechanism for bootstrapping with a single API endpoint during `kubeadm join` (this was left out in https://github.com/kubernetes/kubernetes/pull/33543 so that it can be implemented in a separate PR). The polling of the discovery service API itself is yet to come. @errordeveloper @pires
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue Increase buffer sizes in cacher for watchers interested in all/many o… Should increase throughput of cacher in large clusters.
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue Add support for admission controller based on namespace node selectors. This work is to upstream openshift's project node selectors based admission controller. Fixes https://github.com/kubernetes/kubernetes/issues/17151
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue Add 'kubectl set resources' Add "kubectl set resources" for easier updating container memory/cpu limits/requests (for pods or resources with pod templates). **Usage** `kubectl set resources (-f FILENAME | TYPE NAME) ([--limits=LIMITS & --requests=REQUESTS])` **Examples** Set a deployments nginx container cpu limits to "200m and memory to "512Mi" `kubectl set resources deployment nginx -c=nginx --limits=cpu=200m,memory=512Mi` Set the limit and requests for all containers in nginx `kubectl set resources deployment nginx --limits=cpu=200m,memory=512Mi --requests=cpu=100m,memory=256Mi` Print the result (in yaml format) of updating nginx container limits from a local, without hitting the server `kubectl set resources -f path/to/file.yaml --limits=cpu=200m,memory=512Mi --local -o yaml` Remove limits on containers in nginx `kubectl set resources deployment nginx --limits=cpu=0,memory=0` Ref: https://github.com/kubernetes/kubernetes/issues/21648 EDIT: removed the '--remove' flag example
-
Jess Frazelle authored
-
- 14 Oct, 2016 20 commits
-
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue Support trust id as a scope in the OpenStack authentication logic This patch allows the use of Kubernetes with Keystone trust delegation to avoid passing the user credentials in clear inside the config file : a specific user with delegated rights can be created and used instead.
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue kubeadm: fix preflight checks This PR fixes a couple issues cause by some bad rebases: * When a pre-flight check returned errors, `kubeadm` would exit with error code `1` instead of `2` as the original pre-flight PR meant. This would also cause the output of `kubeadm` to include some stuff that was not supposed to be there. * Duplicated `k8s.io/kubernetes/cmd/kubeadm/app/util` import. I also took the freedom to do some output clean-up based on the input from the original pre-flight PR. /cc @dmmcquay @dgoodwin @luxas
-
ymqytw authored
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue Update usage guidelines to reflect the donation to CNCF @sarahnovotny @jbeda
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue fixed absense to absence <!-- Thanks for sending a pull request! Here are some tips for you: 1. If this is your first time, read our contributor guidelines https://github.com/kubernetes/kubernetes/blob/master/CONTRIBUTING.md and developer guide https://github.com/kubernetes/kubernetes/blob/master/docs/devel/development.md 2. If you want *faster* PR reviews, read how: https://github.com/kubernetes/kubernetes/blob/master/docs/devel/faster_reviews.md 3. Follow the instructions for writing a release note: https://github.com/kubernetes/kubernetes/blob/master/docs/devel/pull-requests.md#release-notes --> **What this PR does / why we need it**: **Which issue this PR fixes** just a typo **Special notes for your reviewer**: just a typo **Release note**: <!-- Steps to write your release note: 1. Use the release-note-* labels to set the release note state (if you have access) 2. Enter your extended release note in the below block; leaving it blank means using the PR title as the release note. If no release note is required, just write `NONE`. --> ```NONE ```
-
Ivan Shvedunov authored
-
Wojciech Tyczynski authored
Only wait for cache syncs once in NodeController
-
Andy Goldstein authored
-
deads2k authored
-
Paulo Pires authored
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue NodeController waits for informer sync before doing anything cc @lavalamp @davidopp ```release-note NodeController waits for full sync of all it's informers before taking any action. ```
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue Run rbac authorizer from cache RBAC authorization can be run very effectively out of a cache. The cache is a normal reflector backed cache (shared informer). I've split this into three parts: 1. slim down the authorizer interfaces 1. boilerplate for adding rbac shared informers and associated listers which conform to the new interfaces 1. wiring @liggitt @ericchiang @kubernetes/sig-auth
-
Jędrzej Nowak authored
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue Move RunRC-like functions to test/utils Ref. #34336 cc @timothysc - the "move" part of the small refactoring. @jayunit100
-
juanvallejo authored
-
juanvallejo authored
This patch adds a global timeout flag (viewable with `kubectl -h`) with a default value of `0s` (meaning no timeout). The timeout value is added to the default http client, so that zero values and default behavior are enforced by the client. **Example** ``` $ kubectl get pods # no timeout flag set - default to 0s (which means no timeout) NAME READY STATUS RESTARTS AGE docker-registry-1-h7etw 1/1 Running 1 2h router-1-uv0f9 1/1 Running 1 2h $ kubectl get pods --timeout=0 # zero means no timeout no timeout flag set NAME READY STATUS RESTARTS AGE docker-registry-1-h7etw 1/1 Running 1 2h router-1-uv0f9 1/1 Running 1 2h $kubectl get pods --timeout=1ms Unable to connect to the server: net/http: request canceled while waiting for connection (Client.Timeout exceeded while awaiting headers) ```
-
gmarek authored
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue Introduce additional debug logging to cluster logging tests @piosz
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue Improve edit experience Improve edit experience a bit according [#26050(comment)](https://github.com/kubernetes/kubernetes/issues/26050#issuecomment-246089751) > a) always go back to the editor b) always retain what I hand-edited, even if that has to be in comments @janetkuo
-
gmarek authored
-