Setting up Metrics Server
Platformer Console support Kubernetes native metrics to display current Pod Utilization metrics. It also supports Horizontal Pod AutoScaling
Before you begin¶
- Ensure that you have a cluster connected at Platformer Console. Read more on Cluster Connection here
Installing using Platformer Shell¶
-
Run the following commands to install the metrics server.
helm repo add stable https://charts.helm.sh/stable
helm install --namespace kube-system metrics-server stable/metrics-server \ --set "args[0]=--logtostderr,args[1]=--kubelet-preferred-address-types=InternalIP,args[2]=--kubelet-insecure-tls"
Hint
You can change the passed in variables any way you want. Please refer NGINX Ingress Helm Repository
Manual Installation¶
Please run the following command in your cluster. The following configuration is tested with AWS EKS.
You can actually run the following command by launching Platformer Kubernetes Shell
kubectl apply -f https://github.com/kubernetes-sigs/metrics-server/releases/download/v0.3.7/components.yaml
Install the latest version¶
Please follow the steps for your specific Kubernetes infrastructure provider: Metrics Server Installation Guide