- 04 Dec, 2016 2 commits
-
-
Clayton Coleman authored
-
Clayton Coleman authored
-
- 03 Dec, 2016 38 commits
-
-
Clayton Coleman authored
-
Clayton Coleman authored
-
Clayton Coleman authored
-
Clayton Coleman authored
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue kubectl top pod|node should handle when Heapster is somewhere else OpenShift runs Heapster on HTTPS, which means `top node` and `top pod` are broken because they hardcode 'http' as the scheme. Provide an options struct allowing users to specify `--heapster-namespace`, `--heapster-service`, `--heapster-scheme`, and `--heapster-port` to the commands (leveraging the existing defaults). @kubernetes/sig-metrics makes top a little more useful in other spots
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue (batch tested with PRs 38049, 37823, 38000, 36646) kubectl: add create pdb subcommand @mwielgus @mml @kubernetes/kubectl ```release-note Add kubectl create poddisruptionbudget command ```
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue (batch tested with PRs 38049, 37823, 38000, 36646) Fixes kubedns logging level We should have bumped up the verbose level to v=2 for `kubedns` after cutting the last release, as the TODO indicates. @bowei @thockin
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue (batch tested with PRs 38049, 37823, 38000, 36646) Test 0-length-arrays in fuzzing tests While hacking on #37289 I noticed that our fuzzing tests test nil slices and slices of length 1, but not slices of length 0, meaning we aren't testing that 0-length slices get treated the same as nil in all the places we expect them to (and in particular, we aren't ensuring that comparisons always use api.Semantic.DeepEqual rather than reflect.DeepEqual). (Though in fact, changing the fuzzer didn't turn up any bugs, so maybe this effectively gets tested somewhere else...) `fuzz.New().NilChance(.5).NumElements(0, 1)` means we end up generating `nil` 50% of the time, a length 0 array 25% of the time, and a length 1 array 25% of the time... maybe it should be `fuzz.New().NilChance(.33).NumElements(0, 1)` instead? The gofuzz rebase is to pull in https://github.com/google/gofuzz/pull/20, and the other fix is just a drive-by.
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue (batch tested with PRs 38049, 37823, 38000, 36646) Revert "test: update rollover test to wait for available rs before adopting" This reverts commit 5b7bf78f from pr #36439 which appears to have mostly broken the gci-gke test.
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue Cut genericapserver->registry dependency Towards moving genericapiserver into staging.
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue (batch tested with PRs 37692, 37785, 37647, 37941, 37856) Verify misc container in summary test Should detect issue from https://github.com/kubernetes/kubernetes/issues/35214, https://github.com/kubernetes/kubernetes/issues/37453 /cc @piosz @dchen1107
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue (batch tested with PRs 37692, 37785, 37647, 37941, 37856) Use unified gcp fluentd image for gci and cvm Follow-up of https://github.com/kubernetes/kubernetes/pull/37681 Actually unify the pod specs for CVM and GCI, to simplify the configuration CC @piosz
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue (batch tested with PRs 37692, 37785, 37647, 37941, 37856) Remove extraneous curl, pods, etc from privileged pod test
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue (batch tested with PRs 37692, 37785, 37647, 37941, 37856) fix scheduler extender example <!-- 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**: Fix scheduler extender example , refer to [kubernetes/plugin/pkg/scheduler/api/types.go](https://github.com/kubernetes/kubernetes/blob/master/plugin/pkg/scheduler/api/types.go) Thanks! **Special notes for your reviewer**: **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`. --> ```release-note ```
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue Handle RV in Get calls to storage interface. Ref #37473
-
Clayton Coleman authored
This reverts commit 5b7bf78f.
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue cluster: fix gcloud check for python3 cc @jlowdermilk as the author of the regressing commit.
-
Dr. Stefan Schimanski authored
-
Dr. Stefan Schimanski authored
-
Dr. Stefan Schimanski authored
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue (batch tested with PRs 35300, 36709, 37643, 37813, 37697) simplify the authorization attribute getter Construct the authorization attributes directly from the context. This eliminates unnecessary redirection. @sttts
-
Kubernetes Submit Queue authored
Merge pull request #37813 from kubernetes/revert-36625-branch-eliminate-recursive-call-attemptToUpdateMasterRoleLabelsAndTaints Automatic merge from submit-queue (batch tested with PRs 35300, 36709, 37643, 37813, 37697) Revert "[kubeadm] use iteration instead of recursion in function" Reverts kubernetes/kubernetes#36625 Removing the recursive call means that `n` is never updated, so you never succeed in the update, and you've creating an infinite loop. Also, this entire bit of functionality should be a patch and you won't have to worry about conflicts. @luxas
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue (batch tested with PRs 35300, 36709, 37643, 37813, 37697) Add generated informers Add informer-gen and the informers it generates. We'll do follow-up PRs to convert everything currently using the hand-written informers to the generated ones. TODO: - [x] switch to `GroupVersionResource` - [x] finish godoc @deads2k @caesarxuchao @sttts @liggitt
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue (batch tested with PRs 35300, 36709, 37643, 37813, 37697) [etcd] test cleanup: remove unnecessary AddPrefix() What? Remove etcdtest.AddPrefix() in tests. They will be automatically prepended in etcd storage. Why? ref: #36290 #36374 After the change, it will double prepend.
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue (batch tested with PRs 35300, 36709, 37643, 37813, 37697) add rbac action to subjects type This adds the ability to go from an authorization action to the list subjects who have the power to perform the action. This will be used to either back an RBAC specific endpoint or generic authorization endpoint. Because of the way authorization works today, the set of subjects returned will always be a subset of those with access since any authorizer can say yes. @kubernetes/sig-auth
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue (batch tested with PRs 37094, 37663, 37442, 37808, 37826) Fix the PATH that install-etcd.sh tells you to use After you run install-etcd.sh, it tells you: etcd v3.0.14 installed. To use: export PATH=${PATH}:/home/danw/rh/go/src/k8s.io/kubernetes/third_party/etcd which doesn't work if you have an older etcd installed in /usr/bin: danw@w541:kubernetes (master)> PATH=${PATH}:/home/danw/rh/go/src/k8s.io/kubernetes/third_party/etcd etcd --version etcd Version: 2.2.5 You need to put the local etcd dir first in PATH, not last. -
Kubernetes Submit Queue authored
Automatic merge from submit-queue (batch tested with PRs 37094, 37663, 37442, 37808, 37826) Add some sleep between each retry to set container's oom scroe Ref https://github.com/kubernetes/kubernetes/issues/23607#issuecomment-264135015
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue (batch tested with PRs 37094, 37663, 37442, 37808, 37826) fix if condition question in kubelet run() function Here variable err returned by function NewForConfig(&eventClientConfig) if CreateAPIServerClientConfig() function runs correctly . And we should not print "invalid kubeconfig" info. Should we use else instead of if.
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue (batch tested with PRs 37094, 37663, 37442, 37808, 37826) Node E2E: Fix node e2e firewall configure. Get rid of the misleading error message: ``` W1129 12:57:16.967] E1129 12:57:16.967130 29815 remote.go:204] Failed to configured firewall: command [ssh -i /home/jenkins/.ssh/google_compute_engine -o UserKnownHostsFile=/dev/null -o IdentitiesOnly=yes -o CheckHostIP=no -o StrictHostKeyChecking=no -o ServerAliveInterval=30 -o LogLevel=ERROR 104.154.201.208 -- sudo sh -c 'iptables -L INPUT | grep "Chain INPUT (policy DROP)"&&(iptables -C INPUT -w -p TCP -j ACCEPT || iptables -A INPUT -w -p TCP -j ACCEPT)&&(iptables -C INPUT -w -p UDP -j ACCEPT || iptables -A INPUT -w -p UDP -j ACCEPT)&&(iptables -C INPUT -w -p ICMP -j ACCEPT || iptables -A INPUT -w -p ICMP -j ACCEPT)'] failed with error: exit status 1 output: W1129 12:57:17.271] E1129 12:57:17.271169 29815 remote.go:213] Failed to configured firewall: command [ssh -i /home/jenkins/.ssh/google_compute_engine -o UserKnownHostsFile=/dev/null -o IdentitiesOnly=yes -o CheckHostIP=no -o StrictHostKeyChecking=no -o ServerAliveInterval=30 -o LogLevel=ERROR 104.154.201.208 -- sudo sh -c 'iptables -L FORWARD | grep "Chain FORWARD (policy DROP)" > /dev/null&&(iptables -C FORWARD -w -p TCP -j ACCEPT || iptables -A FORWARD -w -p TCP -j ACCEPT)&&(iptables -C FORWARD -w -p UDP -j ACCEPT || iptables -A FORWARD -w -p UDP -j ACCEPT)&&(iptables -C FORWARD -w -p ICMP -j ACCEPT || iptables -A FORWARD -w -p ICMP -j ACCEPT)'] failed with error: exit status 1 output: W1129 12:57:17.557] E1129 12:57:17.556683 29815 remote.go:204] Failed to configured firewall: command [ssh -i /home/jenkins/.ssh/google_compute_engine -o UserKnownHostsFile=/dev/null -o IdentitiesOnly=yes -o CheckHostIP=no -o StrictHostKeyChecking=no -o ServerAliveInterval=30 -o LogLevel=ERROR 104.154.128.178 -- sudo sh -c 'iptables -L INPUT | grep "Chain INPUT (policy DROP)"&&(iptables -C INPUT -w -p TCP -j ACCEPT || iptables -A INPUT -w -p TCP -j ACCEPT)&&(iptables -C INPUT -w -p UDP -j ACCEPT || iptables -A INPUT -w -p UDP -j ACCEPT)&&(iptables -C INPUT -w -p ICMP -j ACCEPT || iptables -A INPUT -w -p ICMP -j ACCEPT)'] failed with error: exit status 1 output: W1129 12:57:17.771] I1129 12:57:17.771236 29815 remote.go:231] Killing any existing node processes on tmp-node-e2e-a1212c32-gci-dev-56-8977-0-0 W1129 12:57:17.877] E1129 12:57:17.877123 29815 remote.go:213] Failed to configured firewall: command [ssh -i /home/jenkins/.ssh/google_compute_engine -o UserKnownHostsFile=/dev/null -o IdentitiesOnly=yes -o CheckHostIP=no -o StrictHostKeyChecking=no -o ServerAliveInterval=30 -o LogLevel=ERROR 104.154.128.178 -- sudo sh -c 'iptables -L FORWARD | grep "Chain FORWARD (policy DROP)" > /dev/null&&(iptables -C FORWARD -w -p TCP -j ACCEPT || iptables -A FORWARD -w -p TCP -j ACCEPT)&&(iptables -C FORWARD -w -p UDP -j ACCEPT || iptables -A FORWARD -w -p UDP -j ACCEPT)&&(iptables -C FORWARD -w -p ICMP -j ACCEPT || iptables -A FORWARD -w -p ICMP -j ACCEPT)'] failed with error: exit status 1 output: W1129 12:57:17.898] I1129 12:57:17.898711 29815 remote.go:239] Extracting tar on tmp-node-e2e-a1212c32-gci-dev-56-8977-0-0 W1129 12:57:17.941] E1129 12:57:17.941566 29815 remote.go:204] Failed to configured firewall: command [ssh -i /home/jenkins/.ssh/google_compute_engine -o UserKnownHostsFile=/dev/null -o IdentitiesOnly=yes -o CheckHostIP=no -o StrictHostKeyChecking=no -o ServerAliveInterval=30 -o LogLevel=ERROR 104.154.154.237 -- sudo sh -c 'iptables -L INPUT | grep "Chain INPUT (policy DROP)"&&(iptables -C INPUT -w -p TCP -j ACCEPT || iptables -A INPUT -w -p TCP -j ACCEPT)&&(iptables -C INPUT -w -p UDP -j ACCEPT || iptables -A INPUT -w -p UDP -j ACCEPT)&&(iptables -C INPUT -w -p ICMP -j ACCEPT || iptables -A INPUT -w -p ICMP -j ACCEPT)'] failed with error: exit status 1 output: W1129 12:57:18.020] I1129 12:57:18.019802 29815 remote.go:231] Killing any existing node processes on tmp-node-e2e-a1212c32-coreos-alpha-1122-0-0-v20160727 W1129 12:57:18.024] E1129 12:57:18.024044 29815 remote.go:213] Failed to configured firewall: command [ssh -i /home/jenkins/.ssh/google_compute_engine -o UserKnownHostsFile=/dev/null -o IdentitiesOnly=yes -o CheckHostIP=no -o StrictHostKeyChecking=no -o ServerAliveInterval=30 -o LogLevel=ERROR 104.154.154.237 -- sudo sh -c 'iptables -L FORWARD | grep "Chain FORWARD (policy DROP)" > /dev/null&&(iptables -C FORWARD -w -p TCP -j ACCEPT || iptables -A FORWARD -w -p TCP -j ACCEPT)&&(iptables -C FORWARD -w -p UDP -j ACCEPT || iptables -A FORWARD -w -p UDP -j ACCEPT)&&(iptables -C FORWARD -w -p ICMP -j ACCEPT || iptables -A FORWARD -w -p ICMP -j ACCEPT)'] failed with error: exit status 1 output: ``` The problem is that the command 'iptables -L FORWARD | grep "Chain FORWARD (policy DROP)" returns an error when the rule is not found, which is not expected behaviour. @freehan
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue (batch tested with PRs 37094, 37663, 37442, 37808, 37826) Moved gobindata, refactored ReadOrDie refs **What this PR does / why we need it**: Having gobindata inside of test/e2e/framework prevents external projects from importing the framework. Moving it out and managing refs fixes this problem. **Which issue this PR fixes**: fixes #37007
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue Refactor describe.go with PrefixWriter **What this PR does / why we need it**: refactor describeContainers function and decrease gocyclo result **Special notes for your reviewer**: the new PR for 36032 https://github.com/kubernetes/kubernetes/pull/36032 **Release note**: ```release-note ```NONE
-
Wojciech Tyczynski authored
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue Set kernel.softlockup_panic =1 based on the flag. ref: https://github.com/kubernetes/kubernetes/issues/37853
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue (batch tested with PRs 37608, 37103, 37320, 37607, 37678) Fix issue #37377: Report an event on successful PVC provisioning This is a simple patch to fix the issue #37377: On a successful PVC provisioning an event is emitted so it's clear the provisioning actually succeeded. cc: @jsafrane
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue (batch tested with PRs 37608, 37103, 37320, 37607, 37678) MetricsStatfs GetMetrics() function test
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue (batch tested with PRs 37608, 37103, 37320, 37607, 37678) Remove stray quote from API docs There was a PR that removed backquote from the line recently, but there's also extra quote.
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue (batch tested with PRs 37608, 37103, 37320, 37607, 37678) portfordwardtester: avoid data loss during send+close+exit Following https://blog.netherlabs.nl/articles/2009/01/18/the-ultimate-so_linger-page-or-why-is-my-tcp-not-reliable when closing the sending connection in the port-forward-tester container. Potentially fixing https://github.com/kubernetes/kubernetes/issues/27680
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue (batch tested with PRs 37608, 37103, 37320, 37607, 37678) add some help info about the 'all' arg **What this PR does / why we need it**: There is an arg named "all" in the get command, we can use it like "kubectl get all". But we can get nothing about this arg in the help description. Users may not know how to use it without looking into the source code. So here I'm going to add some description about this arg. **Which issue this PR fixes** We discussed about this in In pkg/kubectl/cmd/get.go there is a confused arg named "all" [#37533](https://github.com/kubernetes/kubernetes/issues/37533)
-