Metrics Server

Metrics Server #

More information about an be found at Metrics and ResourceUsage.

Fetch default metrics usage #

wget https://github.com/kubernetes-sigs/kwok/releases/download/v0.5.1/metrics-usage.yaml

Set up Cluster #

kwokctl create cluster --enable-metrics-server -c metrics-usage.yaml

Create Node and Pod #

kwokctl scale node --replicas 2
kwokctl scale pod --replicas 8

Test Metrics #

Wait about 45 seconds for the metrics server to collect the data.

kubectl top node
kubectl top pod