generated from kubernetes/kubernetes-template-project
-
Notifications
You must be signed in to change notification settings - Fork 203
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
10 changed files
with
138 additions
and
93 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
--- | ||
title: "With Argo" | ||
title: "Argo" | ||
--- | ||
|
||
# Argo | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
--- | ||
title: "With Istio" | ||
title: "Istio" | ||
--- | ||
|
||
# Istio | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
--- | ||
title: "With Linkerd" | ||
title: "Linkerd" | ||
--- | ||
|
||
# Linkerd | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
--- | ||
title: "Metrics Server" | ||
--- | ||
|
||
# Metrics Server | ||
|
||
More information about an be found at [Metrics] and [ResourceUsage]. | ||
|
||
## Fetch default metrics usage | ||
|
||
``` bash | ||
wget https://github.com/kubernetes-sigs/kwok/releases/download/v0.5.1/metrics-usage.yaml | ||
``` | ||
|
||
## Set up Cluster | ||
|
||
``` bash | ||
kwokctl create cluster --enable-metrics-server -c metrics-usage.yaml | ||
``` | ||
|
||
## Create Node and Pod | ||
|
||
``` bash | ||
kwokctl scale node --replicas 2 | ||
kwokctl scale pod --replicas 8 | ||
``` | ||
|
||
## Test Metrics | ||
|
||
Wait about 45 seconds for the metrics server to collect the data. | ||
|
||
``` bash | ||
kubectl top node | ||
kubectl top pod | ||
``` | ||
|
||
[Metrics]: {{< relref "/docs/user/metrics-configuration" >}} | ||
[ResourceUsage]: {{< relref "/docs/user/resource-usage-configuration" >}} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters