From 51647b6615f0da9cb82a2f28a74bfe40879e9044 Mon Sep 17 00:00:00 2001 From: Xunzhuo Date: Thu, 13 Jan 2022 13:08:56 +0800 Subject: [PATCH 1/3] optimize: add guide to install kubectl-resources --- README.md | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 7879fc5..2c8a132 100644 --- a/README.md +++ b/README.md @@ -6,7 +6,12 @@ A plugin to access Kubernetes resource requests, limits, and usage. ## Install -`go get github.com/howardjohn/kubectl-resources` +You can download and install kubectl-resources from [release](https://github.com/howardjohn/kubectl-resources/releases/latest). + +Also You can install kubectl-resources by `go install`: +``` shell +go install github.com/howardjohn/kubectl-resources +``` ## Usage @@ -63,4 +68,4 @@ kube-system 82m 1831m 3222m 1312Mi 1203Mi 2365Mi ## Known Issues -While init containers [play a role in resource allocation](https://kubernetes.io/docs/concepts/workloads/pods/init-containers/#resources), they are not accounted for in this tool. \ No newline at end of file +While init containers [play a role in resource allocation](https://kubernetes.io/docs/concepts/workloads/pods/init-containers/#resources), they are not accounted for in this tool. From 4a217ad81fb0848ffe1e66123a9860112cbd81c5 Mon Sep 17 00:00:00 2001 From: Xunzhuo Date: Thu, 13 Jan 2022 13:33:50 +0800 Subject: [PATCH 2/3] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 2c8a132..85148ba 100644 --- a/README.md +++ b/README.md @@ -10,7 +10,7 @@ You can download and install kubectl-resources from [release](https://github.com Also You can install kubectl-resources by `go install`: ``` shell -go install github.com/howardjohn/kubectl-resources +go get github.com/howardjohn/kubectl-resources ``` ## Usage From f5a2dbbcb30a745e6e405962784a5a3834d288fe Mon Sep 17 00:00:00 2001 From: Xunzhuo Date: Thu, 13 Jan 2022 13:34:15 +0800 Subject: [PATCH 3/3] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 85148ba..0b0b230 100644 --- a/README.md +++ b/README.md @@ -8,7 +8,7 @@ A plugin to access Kubernetes resource requests, limits, and usage. You can download and install kubectl-resources from [release](https://github.com/howardjohn/kubectl-resources/releases/latest). -Also You can install kubectl-resources by `go install`: +Also You can install kubectl-resources by `go get`: ``` shell go get github.com/howardjohn/kubectl-resources ```