- 17 Aug, 2016 30 commits
-
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue Added warning msg for `kubectl get` - added warning description regarding terminated pods to `get` long help message - added printing of warning message in case of `get pods` if there are hidden pods Fixes #22986 (initiall PR and discussion are here #26417) ## **Output examples:** ### # kubectl get pods ``` NAME READY STATUS RESTARTS AGE dapi-test-pod1 0/1 Terminating 0 22h liveness-http 0/1 CrashLoopBackOff 11245 22d ubuntu1-1206318548-oh9tc 0/1 CrashLoopBackOff 2336 8d info: 1 completed object(s) was(were) not shown in pods list. Pass --show-all to see all objects. ``` ### # kubectl get pods,namespaces ``` NAME READY STATUS RESTARTS AGE po/dapi-test-pod1 0/1 Terminating 0 22h po/liveness-http 1/1 Running 11242 22d po/ubuntu1-1206318548-oh9tc 0/1 CrashLoopBackOff 2335 8d info: 1 completed object(s) was(were) not shown in pods list. Pass --show-all to see all objects. NAME STATUS AGE ns/default Active 89d ns/kube-system Active 41d ``` ### # kubectl get pods -a ``` NAME READY STATUS RESTARTS AGE busybox 0/1 Error 0 27d dapi-test-pod1 0/1 Terminating 0 22h liveness-http 0/1 CrashLoopBackOff 11245 22d ubuntu1-1206318548-oh9tc 0/1 CrashLoopBackOff 2336 8d ``` ### # kubectl get -h ``` Display one or many resources. Possible resource types include (case insensitive): pods (aka 'po'), services (aka 'svc'), deployments (aka 'deploy'), replicasets (aka 'rs'), replicationcontrollers (aka 'rc'), nodes (aka 'no'), events (aka 'ev'), limitranges (aka 'limits'), persistentvolumes (aka 'pv'), persistentvolumeclaims (aka 'pvc'), resourcequotas (aka 'quota'), namespaces (aka 'ns'), serviceaccounts (aka 'sa'), ingresses (aka 'ing'), horizontalpodautoscalers (aka 'hpa'), daemonsets (aka 'ds'), configmaps (aka 'cm'), componentstatuses (aka 'cs), endpoints (aka 'ep'), petsets (alpha feature, may be unstable) and secrets. This command will hide resources that have completed. For instance, pods that are in the Succeeded or Failed phases. You can see the full results for any resource by providing the '--show-all' flag. By specifying the output as 'template' and providing a Go template as the value of the --template flag, you can filter the attributes of the fetched resource(s). Examples: ......... ````
-
Marek Grabowski authored
[GarbageCollector] Fix waitForRCPodsGone
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue use Reader.ReadLine instead of bufio.Scanner to support bigger yaml @smarterclayton ptal. Also refer #19603 #23125 for more details.
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue Hpa ext client ```release-note Removed support for HPA in extensions client. ``` fix #21578
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue Add GetDeviceNameFromMount in mount_unsupported.go
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue Fix verbosity flag in cluster autoscaler manifest cc: @piosz
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue pkg/storage: remove Codec() from interface What? Removes Codec() from storage.Interface. Why? - storage interface doesn't need to expose Codec(). - Codec() isn't used anywhere.
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue Add validation conditions for autoscale When validate the value of max and min in autoscale.go, it should append all the invalid conditions to errs, and print the value.
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue Modify IsInvalidObj name and description IsInvalidObj note incorrect, modify it.
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue Add note: kubelet manages only k8s containers. Kubelet wrote log when accesing container which was not created in k8s, what could confuse users. That's why we added note about it in documentation and lowered log level of the message to 5. Here is example of the message: ``` > Apr 19 11:50:32 openshift-114.lab.sjc.redhat.com atomic-openshift-node[9551]: I0419 11:50:32.194020 9600 docker.go:363] Docker Container: /tiny_babbage is not managed by kubelet. ``` bug 1328441 Bugzilla link https://bugzilla.redhat.com/show_bug.cgi?id=1328441
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue add shortname for certificate signing request in kubectl #30163
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue Correct the url in comment and optimise the code style The PR modified two aspects: 1) Correct the url in comment, the original url can't be accessed; 2) Optimise the code style according to the go style guide.
-
Wojciech Tyczynski authored
Revert part of #30424
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue Adding top-level OWNERS file. Fixes #29575
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue remove duplicate word in CHANGELOG <!-- 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-note remove duplicate word in CHANGELOG ``` Signed-off-by:
Xianglin Gao <xlgao@zju.edu.cn>
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue Node Conformance Test: Start e2e services in a separate process For https://github.com/kubernetes/kubernetes/issues/30122. This is the first step of https://github.com/kubernetes/kubernetes/issues/30174. This PR added a `start-services-only` mode in the test suite, and start all e2e services in a separate process by run the test binary again in `start-services-only` mode.
-
Wojciech Tyczynski authored
-
Marcin Wielgus authored
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue Update dnsprovider multi-type support test to test for an A-record and an AAAA-record. Having an A-record and a CNAME-record in the tests led to a confusion that dns providers support such configurations. This change avoids that confusion by putting only compatible records for the same domain name in the tests. cc @kubernetes/sig-cluster-federation
-
Anirudh authored
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue Support percentage threshold for eviction
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue Implement DisruptionController. Part of #12611 This currently also includes a pending commit from #25895
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue Node E2E: Stop throwing fatal error in buildGo to fix vm leak. Fixes https://github.com/kubernetes/kubernetes/issues/30719. Avoid throwing out fatal error during `buildGo`. As is pointed out in https://github.com/kubernetes/kubernetes/issues/30719#issuecomment-240283268, we delete vm instances in `defer`. However, `defer` will not be called if there is a fatal error (process exits immediately) http://stackoverflow.com/questions/17888610/are-deferred-functions-called-when-calling-log-fatalln. This PR: * changes all fatal error during create/delete instance to normal error so as to make sure we have a chance to delete the instance. * adds log for instance deletion so as to better surface similar error in the future. @dchen1107 @yujuhong /cc @kubernetes/sig-node
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue Fixing the error in registering /v1 api Temporary fix for https://github.com/kubernetes/kubernetes/issues/30635. Am working on a proper fix, but its much bigger. Would be good to unblock devs in the meantime. cc @lavalamp @kubernetes/sig-api-machinery
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue Create a kubekins-e2e image with runner and dependencies Update dockerized-e2e-runner.sh to just run an image with the appropriate e2e environment variables set. e2e-runner.sh, upload-to-gcs.sh and e2e.go now live inside the container.
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue re-organize development.md Addresses issue #13876; reorganizes and cleans up parts of development.md; splits out the godep section for managing `vendor/` tree dependencies into a new godep.md file. ```release-note The developer guide has been reorganized to facilitate the majority of new developers working on Kubernetes. ``` Signed-off-by:Mike Brown <brownwm@us.ibm.com>
-
Daniel Smith authored
Revert "syncNetworkUtil in kubelet and fix loadbalancerSourceRange on GCE"
-
Daniel Smith authored
-
Random-Liu authored
-
Chao Xu authored
-
- 16 Aug, 2016 10 commits
-
-
Jing Xu authored
Add GetDeviceNameFromMount in mount_unsupported.go
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue syncNetworkUtil in kubelet and fix loadbalancerSourceRange on GCE fixes: #29997 #29039 @yujuhong Can you take a look at the kubelet part? @girishkalele KUBE-MARK-DROP is the chain for dropping connections. Marked connection will be drop in INPUT/OUTPUT chain of filter table. Let me know if this is good enough for your use case.
-
Matt Liggett authored
Part of #12611
-
Madhusudan.C.S authored
Having an A-record and a CNAME-record in the tests led to a confusion that dns providers support such configurations. This change avoids that confusion by putting only compatible records for the same domain name in the tests.
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue Add NodeName to EndpointAddress object Adding a new string type `nodeName` to api.EndpointAddress. We could also do *ObjectReference to the api.Node object instead, which would be more precise for the future. ``` type ObjectReference struct { Kind string `json:"kind,omitempty"` Namespace string `json:"namespace,omitempty"` Name string `json:"name,omitempty"` UID types.UID `json:"uid,omitempty"` APIVersion string `json:"apiVersion,omitempty"` ResourceVersion string `json:"resourceVersion,omitempty"` // Optional. If referring to a piece of an object instead of an entire object, this string // should contain information to identify the sub-object. For example, if the object // reference is to a container within a pod, this would take on a value like: // "spec.containers{name}" (where "name" refers to the name of the container that triggered // the event) or if no container name is specified "spec.containers[2]" (container with // index 2 in this pod). This syntax is chosen only to have some well-defined way of // referencing a part of an object. // TODO: this design is not final and this field is subject to change in the future. FieldPath string `json:"fieldPath,omitempty"` } ``` -
Kubernetes Submit Queue authored
Automatic merge from submit-queue Check resource leaks only when needed @fejta Broken by #28575
-
Erick Fejta authored
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue Fix resource leak check in case of run that cleans up after failed one @fejta Broken by #28575
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue Add back the original liveness check timeout. Fixes https://github.com/kubernetes/kubernetes/issues/30342. Fixes https://github.com/kubernetes/kubernetes/issues/30335. When I moved the test into common directory, I removed the original 10s timeout - https://github.com/kubernetes/kubernetes/pull/29814/commits/0362789283d06c31b42e94ac7e81c1ba981a0b87#diff-0f856ff011970dca55a2cd916b9ddcf0L1128. It turns out that the default 1s timeout is not enough. In all the flake, the probe request is cancelled on the kubelet side. This PR added back a 5s timeout to eliminate the flake. Mark P0 to match the corresponding issue. @freehan /cc @matchstick :)
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue Bump cluster autoscaler to 0.3.0-beta1 cc: @piosz @fgrzadkowski @jszczepkowski
-