- 12 Aug, 2016 3 commits
-
-
Daniel Smith authored
-
Daniel Smith authored
-
Daniel Smith authored
-
- 11 Aug, 2016 22 commits
-
-
Daniel Smith authored
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue check validation with no apps client in kubectl util factory autoscaling client already exist: if c.c.AutoscalingClient == nil { return errors.New("unable to validate: no autoscaling client") so following autoscaling client should be apps client: if c.c.AppsClient == nil { return errors.New("unable to validate: no autoscaling client") } <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.kubernetes.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.kubernetes.io/reviews/kubernetes/kubernetes/30362) <!-- Reviewable:end --> -
Kubernetes Submit Queue authored
Automatic merge from submit-queue doc third party resource usage more cleanly fix #29002 release-note-none <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.kubernetes.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.kubernetes.io/reviews/kubernetes/kubernetes/29431) <!-- Reviewable:end -->
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue component feature config proposal This adds a proposal for a simple mechanism to pass runtime config to kube system components. Motivation is to have a consistent way to toggle new features that are not tied to an API group. Feedback appreciated @mikedanese @lavalamp @kubernetes/sig-api-machinery @kubernetes/sig-cluster-lifecycle @kubernetes/sig-node <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.kubernetes.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.kubernetes.io/reviews/kubernetes/kubernetes/30003) <!-- Reviewable:end -->
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue Refactor generators Extracting pure refactoring out of #25526 so I don't have to do it for a 4th time. This makes no changes to the output of the generators. <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.kubernetes.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.kubernetes.io/reviews/kubernetes/kubernetes/30387) <!-- Reviewable:end -->
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue fixed typos, the path is not docker <!-- Reviewable:start --> This change is [<img src="https://reviewable.kubernetes.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.kubernetes.io/reviews/kubernetes/kubernetes/30428) <!-- Reviewable:end -->
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue Federation - common libs - get clientset for cluster Get clientset method builds a clientset for a federated cluster. cc: @quinton-hoole @wojtek-t @kubernetes/sig-cluster-federation <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.kubernetes.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.kubernetes.io/reviews/kubernetes/kubernetes/30439) <!-- Reviewable:end -->
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue Fix glog's --v in kubectl With https://github.com/kubernetes/kubernetes/pull/29147 kubectl lost its glog output to stderr because the `init()` func did not run anymore which had set `logtostderr` to true before. <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.kubernetes.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.kubernetes.io/reviews/kubernetes/kubernetes/30440) <!-- Reviewable:end -->
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue Start etcd-empty-dir-cleanup pod automatically on master etcd-empty-dir-cleanup removes empty directories from etcd every hour. This PR runs the pod automatically on GCI masters. related #30319 fixes #27307 Workaround for non-gci systems: ssh to master and: sudo cp /home/kubernetes/kube-manifests/kubernetes/gci-trusty/etcd-empty-dir-cleanup/etcd-empty-dir-cleanup.yaml /etc/kubernetes/manifests/ <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.kubernetes.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.kubernetes.io/reviews/kubernetes/kubernetes/30393) <!-- Reviewable:end -->
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue Check for CAP_SYS_ADMIN in Kubelet Comment from nsenter_mount.go header: The Kubelet process must have CAP_SYS_ADMIN (required by nsenter); at the present, this effectively means that the kubelet is running in a privileged container. Related to #26093 <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.kubernetes.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.kubernetes.io/reviews/kubernetes/kubernetes/30176) <!-- Reviewable:end -->
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue [Kubelet] Rename `--config` to `--pod-manifest-path`. `--config` is deprecated. This field holds the location of a manifest file or directory of manifest files for pods the Kubelet is supposed to run. The name of the field should reflect that purpose. I didn't change the flag name because that API should remain stable. <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.kubernetes.io/reviews/kubernetes/kubernetes/29999) <!-- Reviewable:end -->
-
Marcin Wielgus authored
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue Fix intermittent failures in TestPidOf {procfs} Bailout if WalkFunc is called with an error. Fixes #30377 <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.kubernetes.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.kubernetes.io/reviews/kubernetes/kubernetes/30402) <!-- Reviewable:end --> -
Kubernetes Submit Queue authored
Automatic merge from submit-queue Mount etcd directories in Kubemark <!-- Reviewable:start --> This change is [<img src="https://reviewable.kubernetes.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.kubernetes.io/reviews/kubernetes/kubernetes/30438) <!-- Reviewable:end -->
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue Fix killing child sudo process in e2e_node tests Fixes #29211; re-doing #29380 which was reverted due to cross-platform build failure #29669. The context is we are trying to kill a process started as `sudo kube-apiserver`, but `sudo` ignores signals from the same process group. Applying `Setpgid` means the `sudo kill` process won't be in the same process group, so will not fall foul of this nifty feature. ~~I also took the liberty of removing some code setting `Pdeathsig` because it claims to be doing something in the same area, but actually it doesn't do that at all. The setting is applied to the forked process, i.e. `sudo`, and it means the `sudo` will get killed if we (`e2e_node.test`) die. This (a) isn't what the comment says and (b) doesn't help because sending SIGKILL to the sudo process leaves sudo's child alive.~~ We do need to use the same 'hack' to access `Setpgid` as the `e2e_node.test` program gets built on Windows (although it doesn't run there). <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.kubernetes.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.kubernetes.io/reviews/kubernetes/kubernetes/29685) <!-- Reviewable:end -->
-
codejuan authored
-
bindata-mockuser authored
pkg/util/logs.go got its own package in a771578a, but it was not imported in the kubelet anymore such that its init() func did not run setting logtostderr to true by default.
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue Run node e2e pull VMs in a separate GCP project I haven't increased quota yet, so we shouldn't merge until I've done so. This is mostly just testing to see if the rest of the plumbing works. Part of #27648. cc @fejta @spxtr @pwittrock <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.kubernetes.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.kubernetes.io/reviews/kubernetes/kubernetes/29584) <!-- Reviewable:end -->
-
Wojciech Tyczynski authored
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue [GarbageCollector] measure latency First commit is #27600. In e2e tests, I measure the average time an item spend in the eventQueue(~1.5 ms), dirtyQueue(~13ms), and orphanQueue(~37ms). There is no stress test in e2e yet, so the number may not be useful. <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.kubernetes.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.kubernetes.io/reviews/kubernetes/kubernetes/28387) <!-- Reviewable:end -->
-
mbohlool authored
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue Juju util fixes The util.sh file was out of date and caused the kube-up script to error out. This work fixes #23198 ```release-note * Updating the util.sh for the juju provider kube-up.sh ``` <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.kubernetes.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.kubernetes.io/reviews/kubernetes/kubernetes/30092) <!-- Reviewable:end -->
-
- 10 Aug, 2016 15 commits
-
-
Daniel Smith authored
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue Simplify canonical element term in deepcopy Replace the old functional canonical element term in deepcopy registration with direct struct instantiation. The old way was an artifact of non-uniform pointer/non-pointer types in the signature of deepcopy function. Since we changed that to always be a pointer, we can simplify the code. <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.kubernetes.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.kubernetes.io/reviews/kubernetes/kubernetes/30341) <!-- Reviewable:end -->
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue Do not require --test_args to be set Fixes kubernetes/kubernetes#30322 Not all jobs set `GINKGO_TEST_ARGS`, such as many of the gke tests. When this is unset all test to run (or just federated tests if in that mode). <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.kubernetes.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.kubernetes.io/reviews/kubernetes/kubernetes/30336) <!-- Reviewable:end -->
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue Support custom Fedora repos in vagrant provider Sometimes `KUBERNETES_PROVIDER=vagrant cluster/kube-up.sh` fails due to problems with Fedora's metalink URL: ``` Timeout was reached for https://mirrors.fedoraproject.org/metalink?repo=fedora-23&arch=x86_64 [Connection timed out after 120002 milliseconds] ``` This PR makes it possible to specify a custom Fedora repository URL: ``` export CUSTOM_FEDORA_REPOSITORY_URL=https://download.fedoraproject.org/pub/fedora/ ``` []() <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.kubernetes.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.kubernetes.io/reviews/kubernetes/kubernetes/28778) <!-- Reviewable:end -->
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue Fix error reporting during vagrant provisioning <!-- Checklist for submitting a Pull Request Please remove this comment block before submitting. 1. Please read our [contributor guidelines](https://github.com/kubernetes/kubernetes/blob/master/CONTRIBUTING.md). 2. See our [developer guide](https://github.com/kubernetes/kubernetes/blob/master/docs/devel/development.md). 3. If you want this PR to automatically close an issue when it is merged, add `fixes #<issue number>` or `fixes #<issue number>, fixes #<issue number>` to close multiple issues (see: https://github.com/blog/1506-closing-issues-via-pull-requests). 4. Follow the instructions for [labeling and writing a release note for this PR](https://github.com/kubernetes/kubernetes/blob/master/docs/devel/pull-requests.md#release-notes) in the block below. --> `release_not_found` shell function can be used both while running `provision-master.sh` and `privision-node.sh` (it's used by `install-salt` function in `provision-utils.sh`, but it was defined in `provision-master.sh`. Because of this, one of my colleagues got the following diagnostic: ``` ==> master: Succeeded: 52 (changed=8) ==> master: Failed: 0 ==> master: ------------- ==> master: Total states run: 52 ==> node-1: Machine already provisioned. Run `vagrant provision` or use the `--provision` ==> node-1: flag to force provisioning. Provisioners marked to run always will still run. ==> node-1: Running provisioner: shell... node-1: Running: /tmp/vagrant-shell20160726-19144-hahnl1.sh ==> node-1: Prepare package manager ==> node-1: Provisioning network on node ==> node-1: Network configuration verified ==> node-1: /tmp/vagrant-shell: line 134: release_not_found: command not found The SSH command responded with a non-zero exit status. Vagrant assumes that this means the command failed. The output for this command should be in the log above. Please read the output to determine what went wrong. ``` ... which is rather confusing. <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.kubernetes.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.kubernetes.io/reviews/kubernetes/kubernetes/29610) <!-- Reviewable:end -->
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue Adding known issues <!-- Reviewable:start --> This change is [<img src="https://reviewable.kubernetes.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.kubernetes.io/reviews/kubernetes/kubernetes/30245) <!-- Reviewable:end -->
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue Add handling empty index key that may cause panic issue if len(indexKeys) == 0, "return indexKeys[0]" will cause unexpected result. <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.kubernetes.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.kubernetes.io/reviews/kubernetes/kubernetes/29672) <!-- Reviewable:end -->
-
Davanum Srinivas authored
Bailout if WalkFunc is called with an error. Fixes #30377
-
Jeff Grafton authored
-
Jeff Grafton authored
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue Use latest GCI image based on a regex in Node e2e This PR also makes it possible to run node e2e against multiple previous images, sorted by creation time. A regex for the image name can be used to instruct node e2e to identify test images. Depends on #29577 <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.kubernetes.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.kubernetes.io/reviews/kubernetes/kubernetes/29815) <!-- Reviewable:end -->
-
Erick Fejta authored
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue Avoid duplicated contrib/ sources This commit removes a part of common.sh script which copied contrib/ sources for enabled contribs, which resulted in the duplicated files inside tarball. Fixes #30150 <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.kubernetes.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.kubernetes.io/reviews/kubernetes/kubernetes/30276) <!-- Reviewable:end -->
-
Chao Xu authored
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue Node e2e memory eviction test This tests memory evictions. See related issue #28619 and fix to cadvisor https://github.com/google/cadvisor/pull/1380. cc @vishh @derekwaynecarr @timstclair <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.kubernetes.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.kubernetes.io/reviews/kubernetes/kubernetes/28693) <!-- Reviewable:end -->
-