- 19 Jul, 2016 9 commits
-
-
k8s-merge-robot authored
Automatic merge from submit-queue Return (bool, error) in Authorizer.Authorize() Before this change, Authorize() method was just returning an error, regardless of whether the user is unauthorized or whether there is some other unrelated error. Returning boolean with information about user authorization and error (which should be unrelated to the authorization) separately will make it easier to debug. Fixes #27974
-
k8s-merge-robot authored
Automatic merge from submit-queue The directory of file "request.go" has been changed, need to modify In file "docs/devel/api_changes.md", line 402: "library](../../pkg/client/unversioned/request.go) has custom conversion code for" Here the directory of request.go "pkg/client/unversioned" has been changed to "pkg/client/restclient", need to modify.
-
k8s-merge-robot authored
Automatic merge from submit-queue Update docker engine-api to dea108d3aa #29129
-
k8s-merge-robot authored
Automatic merge from submit-queue Fixing kube-up for CVM masters. @roberthbailey @zmerlynn
-
k8s-merge-robot authored
Automatic merge from submit-queue Node E2E: Make it possible to share test between e2e and node e2e This PR is part of the plan to improve node e2e test coverage. * Now to improve test coverage, we have to copy test from e2e to node e2e. * When adding a new test, we have to decide its destiny at the very beginning - whether it is a node e2e or e2e. This PR makes it possible to share test between e2e and node e2e. By leveraging the mechanism of ginkgo, as long as we can import the test package in the test suite, the corresponding `Describe` will be run to initialize the global variable `_`, and the test will be inserted into the test suite. (See https://github.com/onsi/composition-ginkgo-example) In the future, we just need to use the framework to write the test, and put the test into `test/e2e/node`, then it will be automatically shared by the 2 test suites. This PR: 1) Refactored the framework to make it automatically differentiate e2e and node e2e (Mainly refactored the `PodClient` and the apiserver client initialization). 2) Created a new directory `test/e2e/node` and make it shared by e2e and node e2e. 3) Moved `container_probe.go` into `test/e2e/node` to verify the change. @kubernetes/sig-node []()
-
k8s-merge-robot authored
Automatic merge from submit-queue fix logrotate config (again) we need to add the dateformat option so that the logrotate can create unique logfiles for each rotation. Without this, logrotation is skipped with message like (generated in verbose mode of logrotate): rotating log /var/log/rotate-test.log, log->rotateCount is 5 dateext suffix '-20160718' glob pattern '-[0-9][0-9][0-9][0-9][0-9][0-9][0-9][0-9]' destination /var/log/rotate-test2.log-20160718.gz already exists, skipping rotation Tested as follows: # config in '/etc/logrotate.d/rotate-test': /var/log/rotate-test.log { rotate 5 copytruncate missingok notifempty compress maxsize 100M daily dateext dateformat -%Y%m%d-%s create 0644 root root } # create 150Mb of /var/log/rotate-test.log $ dd if=/dev/zero of=/var/log/rotate-test.log bs=1048576 count=150 conv=notrunc oflag=append # run logrotate $ /usr/sbin/logrotate -v /etc/logrotate.conf ... rotating pattern: /var/log/rotate-test.log after 1 days (5 rotations) empty log files are not rotated, log files >= 104857600 are rotated earlier, old logs are removed considering log /var/log/rotate-test.log log needs rotating rotating log /var/log/rotate-test.log, log->rotateCount is 5 Converted ' -%Y%m%d-%s' -> '-%Y%m%d-%s' dateext suffix '-20160718-1468875268' glob pattern '-[0-9][0-9][0-9][0-9][0-9][0-9][0-9][0-9]-[0-9][0-9][0-9][0-9][0-9][0-9][0-9][0-9][0-9][0-9]' copying /var/log/rotate-test.log to /var/log/rotate-test.log-20160718-1468875268 truncating /var/log/rotate-test.log compressing log with: /bin/gzip Repeating 'dd' and 'logrotate' commands now generate logfiles correctly. #27754 @bprashanth can you please review? -
k8s-merge-robot authored
Automatic merge from submit-queue Add OpenFile check if device is in use before unmount Fixes #28252
-
k8s-merge-robot authored
Automatic merge from submit-queue GCE bring-up: Differentiate NODE_TAGS from NODE_INSTANCE_PREFIX
-
k8s-merge-robot authored
Automatic merge from submit-queue hyperkube: fix build for 3rd party registry (again) Fixes issue #28487 This is a minor fix for the issue reported in #28487
-
- 18 Jul, 2016 31 commits
-
-
Cindy Wang authored
-
k8s-merge-robot authored
Automatic merge from submit-queue Detect flakes in PR builder e2e runs Won't be mergable until https://github.com/onsi/ginkgo/pull/261 is agreed upon and merged. Tossing a PR here to get the e2e test to run on it.
-
k8s-merge-robot authored
Automatic merge from submit-queue Remove examples moved to docs site Part of https://github.com/kubernetes/kubernetes/issues/23511 Left redirect in md files and deleted files intended for download. <!-- Reviewable:start --> --- This change is [<img src="http://reviewable.k8s.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](http://reviewable.k8s.io/reviews/kubernetes/kubernetes/23513) <!-- Reviewable:end -->
-
Aditya Kali authored
we need to add the dateformat option so that the logrotate can create unique logfiles for each rotation. Without this, we logrotation is skipped with message like (generated in verbose mode of logrotate): rotating log /var/log/rotate-test.log, log->rotateCount is 5 dateext suffix '-20160718' glob pattern '-[0-9][0-9][0-9][0-9][0-9][0-9][0-9][0-9]' destination /var/log/rotate-test2.log-20160718.gz already exists, skipping rotation Tested as follows: # config in '/etc/logrotate.d/rotate-test': /var/log/rotate-test.log { rotate 5 copytruncate missingok notifempty compress maxsize 100M daily dateext dateformat -%Y%m%d-%s create 0644 root root } # create 150Mb of /var/log/rotate-test.log $ dd if=/dev/zero of=/var/log/rotate-test.log bs=1048576 count=150 conv=notrunc oflag=append # run logrotate $ /usr/sbin/logrotate -v /etc/logrotate.conf ... rotating pattern: /var/log/rotate-test.log after 1 days (5 rotations) empty log files are not rotated, log files >= 104857600 are rotated earlier, old logs are removed considering log /var/log/rotate-test.log log needs rotating rotating log /var/log/rotate-test.log, log->rotateCount is 5 Converted ' -%Y%m%d-%s' -> '-%Y%m%d-%s' dateext suffix '-20160718-1468875268' glob pattern '-[0-9][0-9][0-9][0-9][0-9][0-9][0-9][0-9]-[0-9][0-9][0-9][0-9][0-9][0-9][0-9][0-9][0-9][0-9]' copying /var/log/rotate-test.log to /var/log/rotate-test.log-20160718-1468875268 truncating /var/log/rotate-test.log compressing log with: /bin/gzip Repeating 'dd' and 'logrotate' commands now generate logfiles correctly. -
Ron Lai authored
-
k8s-merge-robot authored
Automatic merge from submit-queue Do not skip check for cgroup creation in the systemd mount As soon as libcontainer dependency is update in #28410, we can skip check for cgroup creation in the systemd mount. As the latest version of libcontainer should create cgroups in the sytemd mount aswell. This is tied to the upstream issue: #27204 @vishh PTAL
-
k8s-merge-robot authored
Automatic merge from submit-queue Do not query the metadata server to find out if running on GCE. Retry metadata server query for gcr if running on gce. Retry the logic for determining is gcr is enabled to workaround metadata unavailability. Note: This patch does not retry fetching registry credentials.
-
Maisem Ali authored
-
Zach Loafman authored
Kubernetes-side fix to #29074 (GKE-side fix necessary as well)
-
Random-Liu authored
and make container probing test shared to validate.
-
k8s-merge-robot authored
Automatic merge from submit-queue [flake fix] Wait for the podInformer to observe the pod Fix #29065 The problem is that the rc manager hasn't observed pod1, so it creates another pod and scales down, pod1 might get deleted. To fix it, wait for the podInformer to observe the pod before running the rc manager. Marked as P0 as it's fixing a P0 flake.
-
k8s-merge-robot authored
Automatic merge from submit-queue Change maxsize to size in logrotate. How do I trigger a test? I usually test logrotate with `logrotate -s` and that works as expected.
-
k8s-merge-robot authored
Automatic merge from submit-queue Apiserver ServeHTTP() modify In File "pkg\apiserver\watch.go", line 123: "// Serve serves a series of encoded events via HTTP with Transfer-Encoding: chunked" Here "Serve" should be "ServeHTTP" because the func name is ServeHTTP: "func (s *WatchServer) ServeHTTP(w http.ResponseWriter, req *http.Request)"
-
Eric Tune authored
Part of https://github.com/kubernetes/kubernetes/issues/23511 Left redirect in md files and deleted files intended for download.
-
k8s-merge-robot authored
Automatic merge from submit-queue Drop support for --gce-service-account, require activated creds Now that `gcloud auth activate-service-account` is in remove support in the test framework for default service accounts -- testing GCE/GKE now requires prior gcloud activation.
-
k8s-merge-robot authored
Automatic merge from submit-queue Make sure --record=false is acknowledged when passed to commands ```release-note Change setting "kubectl --record=false" to stop updating the change-cause when a previous change-cause is found. ``` Ensures that when `--record=false` is explicity set that no `ChangeCauseAnnotation`s are set on the object. Previously, if `--record=true` was used then all following actions triggered a `ChangeCauseAnnotation` even if `--record=false` was set, due to the prior `ChangeCauseAnnotation` existing. Reference to bug report: https://bugzilla.redhat.com/show_bug.cgi?id=1351127 []()
-
Prashanth Balasubramanian authored
-
Chao Xu authored
-
k8s-merge-robot authored
Automatic merge from submit-queue kubectl apply add --overwrite flag ```release-note Add "kubectl --overwrite" flag to automatically resolve conflicts between the modified and live configuration using values from the modified configuration. ``` fixes #17238 This PR just add the `--overwrite` flag, pkg/strategicpatch has already support overwrite. @bgrant0607 @jackgr ptal.
-
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
-
Michal Rostecki authored
Before this change, Authorize() method was just returning an error, regardless of whether the user is unauthorized or whether there is some other unrelated error. Returning boolean with information about user authorization and error (which should be unrelated to the authorization) separately will make it easier to debug. Fixes #27974
-
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
-
lixiaobing10051267 authored
-
k8s-merge-robot authored
Automatic merge from submit-queue kubelet: remove outdated TODOs
-