k3s/pkg/kubectl
Kubernetes Submit Queue 17ee588c3e Merge pull request #31510 from mksalawa/kubectltop
Automatic merge from submit-queue

Print a message if metrics are not yet available.

**What this PR does / why we need it**:
It takes about 80s to gather first metrics for the newly created pod. We would like to indicate this to the user, so that they don't mistake it for the command failure.

In case no metrics are found, we check whether there should be any, and if yes, print the appropriate message to the user.

**Which issue this PR fixes**
#30826 

```release-note
NONE
```
2016-09-01 11:30:16 -07:00
..
cmd Merge pull request #31510 from mksalawa/kubectltop 2016-09-01 11:30:16 -07:00
metricsutil Print message if metrics are not yet available. 2016-08-31 11:54:53 +02:00
resource Removed non-md files from docs. Moved doc yamls to test/fixtures. 2016-08-25 15:09:27 -07:00
testing Update generated files due to dependency shift. 2016-08-09 10:41:09 -05:00
OWNERS
apply.go
autoscale.go
bash_comp_utils.go
configmap.go
configmap_test.go
custom_column_printer.go Added warning msg for `kubectl get` 2016-08-15 22:49:37 +00:00
custom_column_printer_test.go
deployment.go Add "create deployment" sub-command 2016-08-08 13:24:30 +10:00
deployment_test.go Add "create deployment" sub-command 2016-08-08 13:24:30 +10:00
describe.go Merge pull request #30730 from janetkuo/prevent-overlapping-deployment 2016-08-25 21:50:56 -07:00
describe_test.go Initial Quobyte support 2016-08-18 17:13:50 +02:00
doc.go Use Go canonical import paths 2016-07-16 13:48:21 -04:00
explain.go
generate.go
generate_test.go
history.go kubectl: refactor rollout history to be more configurable 2016-07-12 10:36:14 +02:00
interfaces.go
kubectl.go use valid_resources to replace kubectl.PossibleResourceTypes 2016-08-19 09:42:46 +08:00
kubectl_test.go
namespace.go
namespace_test.go Fix namespace_test error message 2016-08-08 12:08:57 +10:00
proxy_server.go Fix various typos in kubectl 2016-08-02 19:51:51 +03:00
proxy_server_test.go Make "attach" and "exec" rejection in proxy more explicit 2016-07-19 20:50:19 +02:00
quota.go Add --scopes to kubectl-create-quota and add tests 2016-07-26 14:12:35 +02:00
quota_test.go Add --scopes to kubectl-create-quota and add tests 2016-07-26 14:12:35 +02:00
resource_printer.go Merge pull request #31358 from screeley44/k8-get-pv 2016-08-25 23:56:20 -07:00
resource_printer_test.go Added warning msg for `kubectl get` 2016-08-15 22:49:37 +00:00
rollback.go
rolling_updater.go make correction to two variables in inverse order 2016-08-05 16:17:01 +08:00
rolling_updater_test.go Merge pull request #29971 from caesarxuchao/fix-kubectl-rolling-update-with-gc 2016-08-04 20:48:10 -07:00
rollout_status.go
run.go kubectl run add pull-policy flag to control image pull policy 2016-08-17 11:26:27 +08:00
run_test.go kubectl run add pull-policy flag to control image pull policy 2016-08-17 11:26:27 +08:00
scale.go Fix scale x->x in kubectl for ReplicationController 2016-08-25 11:44:11 +02:00
scale_test.go fix RC watch in scale 2016-08-24 10:26:08 -07:00
secret.go
secret_for_docker_registry.go
secret_for_docker_registry_test.go
secret_for_tls.go
secret_for_tls_test.go
secret_test.go
service.go Merge pull request #28239 from ApsOps/kubectl-expose-headless-svc 2016-08-02 01:18:19 -07:00
service_basic.go Add "create service" sub-commands 2016-08-08 12:31:21 +10:00
service_basic_test.go Add "create service" sub-commands 2016-08-08 12:31:21 +10:00
service_test.go Merge pull request #28239 from ApsOps/kubectl-expose-headless-svc 2016-08-02 01:18:19 -07:00
serviceaccount.go
serviceaccount_test.go
sorted_event_list.go
sorted_event_list_test.go
sorted_resource_name_list.go
sorted_resource_name_list_test.go
sorting_printer.go Added warning msg for `kubectl get` 2016-08-15 22:49:37 +00:00
sorting_printer_test.go
stop.go kubectl: cast notFound error to struct 2016-08-25 10:40:44 +02:00
stop_test.go Merge pull request #31375 from kargakis/cast-to-actual-type 2016-08-26 04:39:31 -07:00
version.go
watchloop.go