- 18 Jul, 2016 20 commits
-
-
Chao Xu authored
-
k8s-merge-robot authored
Automatic merge from submit-queue Func note not consistent with real fun name File "plugin\pkg\webhook.go", line #41 : "// New creates a new GenericWebhook from the provided kubeconfig file." Here "New" not consistant with real fun name "NewGenericWebhook" in line #42 : "func NewGenericWebhook(kubeConfigFile string, groupVersions []unversioned.GroupVersion, initialBackoff time.Duration) (*GenericWebhook, error) {" -
k8s-merge-robot authored
Automatic merge from submit-queue Add proposal for secret and configmap files mode bits This is a proposal to address https://github.com/kubernetes/kubernetes/issues/28317. cc @pmorie (owner) @thockin @thockin: Sorry if you preferred not to be CCed, I thougth you'd be interested :-) I think this is always the case, but let me say it one more time just in case: as this is a PR, ALL the feedback is more than welcome! It's my first time in kubernetes, so sorry in advance if this is obviously wrong. What I realize now is that I forgot to add the headers to the proposal. Is there some script to add them? Or should I just c&p from some other proposal? Thanks a lot, Rodrigo
-
Marek Grabowski authored
Fix the fix - no type-checking...
-
k8s-merge-robot authored
Automatic merge from submit-queue Use Go canonical import paths Add canonical imports only in existing doc.go files. https://golang.org/doc/go1.4#canonicalimports Fixes #29014
-
gmarek authored
-
Rodrigo Campos authored
This is a proposal to address https://github.com/kubernetes/kubernetes/issues/28317.
-
k8s-merge-robot authored
Automatic merge from submit-queue Make discovery summarizer call servers in parallel fixes #26704
-
k8s-merge-robot authored
Automatic merge from submit-queue Re-check assigned CIDR during update Ref. #29064 cc @bgrant0607
-
k8s-merge-robot authored
Automatic merge from submit-queue Fix verify results in MaxPods As we already have "unschedulable" PodCondition we can stop relying on Events, which should make the tests more reliable. cc @davidopp
-
k8s-merge-robot authored
Automatic merge from submit-queue kubelet: remove outdated TODOs
-
gmarek authored
-
k8s-merge-robot authored
Automatic merge from submit-queue Fix crashes in schedulercache Fix #29090 @davidopp
-
k8s-merge-robot authored
Automatic merge from submit-queue Fix port range checking, port should not be greater than 65535. When passing flag `--proxy-port-range` to kube-proxy with an invalid range which is greater than 65535, the proxy doesn't exit. That's not what we want. Should we fix this in v1.3? /cc @thockin @mikedanese @resouer Before fixing: ``` root@vm:/home/paas/zxp# kube-proxy --master=172.16.1.11:8080 --logtostderr=false --log-dir=/home/user/log/kube --proxy-port-range=65536-65599 & [6] 6671 root@vm:/home/paas/zxp# ps -ef | grep kube-proxy root 6671 13507 0 03:48 pts/1 00:00:00 kube-proxy --master=172.16.1.11:8080 --logtostderr=false --log-dir=/home/user/log/kube --proxy-port-range=65536-65599 ``` After: ``` root@vm:/home/paas/zxp# kube-proxy --master=172.16.1.11:8080 --logtostderr=false --log-dir=/home/user/log/kube --proxy-port-range=65536-65599 & [6] 6725 root@vm:/home/paas/zxp# invalid argument "65536-65599" for --proxy-port-range=65536-65599: "65536-65599" is not a valid port range: the port range cannot be greater than 65535: 65536-65599 .............. [6]+ Exit 2 kube-proxy --master=172.16.1.11:8080 --logtostderr=false --log-dir=/home/user/log/kube --proxy-port-range=65536-65599 ``` ``` root@vm:/home/paas/zxp# kube-proxy --master=172.16.1.11:8080 --logtostderr=false --log-dir=/home/user/log/kube --proxy-port-range=6000-65599 & [6] 6732 root@vm:/home/paas/zxp# invalid argument "6000-65599" for --proxy-port-range=6000-65599: "6000-65599" is not a valid port range: the port range cannot be greater than 65535: 6000-65599 .............. [6]+ Exit 2 kube-proxy --master=172.16.1.11:8080 --logtostderr=false --log-dir=/home/user/log/kube --proxy-port-range=6000-65599 ```
-
Wojciech Tyczynski authored
-
k8s-merge-robot authored
Automatic merge from submit-queue Fix typos in volume.go Fixed some minor typos in the docs of `volume.go`.
-
k8s-merge-robot authored
Automatic merge from submit-queue Doc referrence "container-id" incorrect File "docs\proposals\disk-accounting.md", line 154, "Everything under `/var/lib/docker/overlay/<container-id>` are files required for running the container", here "container-id" is incorrect because files under "/var/lib/docker/overlay" are layer files, and "container-id" should be "id" thus consistent with line 148 "Image layers and writable layers are stored under `/var/lib/docker/overlay/<id>`".
-
k8s-merge-robot authored
Automatic merge from submit-queue Update golang.org/x/net godep for http2 issues being seen during scale This is to address https://github.com/kubernetes/kubernetes/issues/29001 , "Header called after Handler finished". There are a number of race fixes.
-
k8s-merge-robot authored
Automatic merge from submit-queue Don't recreate lb cloud resources on kcm restart Absolute dumbest way to fix it right now. Fixes https://github.com/kubernetes/kubernetes/issues/29079
-
Prashanth Balasubramanian authored
-
- 17 Jul, 2016 7 commits
-
-
k8s-merge-robot authored
Automatic merge from submit-queue Document auto-close on stale pull-request Document the change made by https://github.com/kubernetes/contrib/pull/891.
-
David McMahon authored
-
David McMahon authored
-
k8s-merge-robot authored
Automatic merge from submit-queue Custom conversions between RCs/RSs Needed for building storages that still need to work with RCs but also want to facilitate RSs. cc: @deads2k @smarterclayton @liggitt
-
k8s-merge-robot authored
Automatic merge from submit-queue Ignore GREP_OPTIONS/GREP_COLOR On OSX - default BSD grep breaks gen_conversion. Let's just make sure we use --color=never everywhere, so we don't trip over GREP_OPTIONS/GREP_COLOR in a user environment. Fixes #29013
-
k8s-merge-robot authored
Automatic merge from submit-queue authorize based on user.Info Update the `authorization.Attributes` to use the `user.Info` instead of discrete getters for each piece. @kubernetes/sig-auth
-
Davanum Srinivas authored
On OSX - default BSD grep breaks gen_conversion. Let's just make sure we use --color=never everywhere, so we don't trip over GREP_OPTIONS/GREP_COLOR in a user environment. Fixes #29013
-
- 16 Jul, 2016 13 commits
-
-
k8s-merge-robot authored
Automatic merge from submit-queue List all nodes and occupy cidr map before starting allocations Manually tested by starting a 200 node cluster with frequent controller manager restarts. Fixes https://github.com/kubernetes/kubernetes/issues/29058
-
Prashanth Balasubramanian authored
-
k8s-merge-robot authored
Automatic merge from submit-queue Fix GPU resource validation This fixes scheduling of pods with GPU resources. The change was never upstreamed during the 1.3 beta period, as it got lost in the noise of other changes in our fork. Ooops. I'll submit a cherry-pick request for 1.3.1 as soon as this lands in master. Because of defaulting, requests are always set if limits are. Thus, the check can never succeed. Instead, make sure that the two values are equal. Also, remove a few other error messages and remove unnecessary Sprintf calls.
-
Davanum Srinivas authored
Add canonical imports only in existing doc.go files. https://golang.org/doc/go1.4#canonicalimports Fixes #29014
-
k8s-merge-robot authored
Automatic merge from submit-queue Make PD E2E Tests Wait for Detach to Prevent Kernel Errors Fixes https://github.com/kubernetes/kubernetes/issues/28854
-
k8s-merge-robot authored
Automatic merge from submit-queue Added instructions on turning on dynamic provisioning for testing. HostPath volumes are not automatically provisioned unless we pass in `--enable-hostpath-provisioner` to the controller manager. This was not mentioned in the docs previously, leading to questions like [this](https://groups.google.com/forum/#!searchin/kubernetes-dev/mysterious/kubernetes-dev/jVk_RgAkbaY/LRX7IuCEDQAJ).
-
k8s-merge-robot authored
Automatic merge from submit-queue Only run federation tests if FEDERATION==true.
-
k8s-merge-robot authored
Automatic merge from submit-queue Delete duplicated code The code block below is called twice sequentially in func `doTestPlugin`. . ```go if _, err := os.Stat(path); err != nil { if os.IsNotExist(err) { t.Errorf("SetUp() failed, volume path not created: %s", path) } else { t.Errorf("SetUp() failed: %v", err) } } ``` -
lixiaobing10051267 authored
-
k8s-merge-robot authored
Automatic merge from submit-queue rkt: Copy the /etc/hosts /etc/resolv.conf into pod dir before mounting. rkt: Copy the /etc/hosts /etc/resolv.conf into pod dir before mounting. This enables the container to modify the /etc/hosts/ /etc/resolv.conf without changing the host's ones. With this PR, we now match the docker's behavior. Fix https://github.com/kubernetes/kubernetes/issues/29022 cc @kubernetes/sig-rktnetes @quentin-m -
k8s-merge-robot authored
Automatic merge from submit-queue Scale kube-proxy conntrack limits by cores (new default behavior) For large machines we want more conntrack entries than smaller machines. Commence bike-shedding on names and values and semantics. I'd love to get this in as a patch to 1.3.x since we have had some trouble for users on large machines. Fixes #28867
-
Yifan Gu authored
This enables the container to modify the /etc/hosts/ /etc/resolv.conf without changing the host's ones. With this PR, we now match the docker's behavior.
-
k8s-merge-robot authored
Automatic merge from submit-queue Fix a bug in mirror pod node e2e test. Fixed a bug in test/e2e_node/mirror_pod_test.go. The function 'checkMirrorPodDisappear' returns nil even when the pod does not disappear. It should return a non-nil error. @Random-Liu
-