Install metrics-server with Helm on Kubernetes that comes with Docker for Mac

Overview

As the title suggests, this is a note on how to use Helm to install metrics-server on the Kubernetes cluster that comes with Docker for Mac.

Installation method

Basically, just execute the following command.

$ helm repo add bitnami https://charts.bitnami.com/bitnami
$ helm install metrics-server bitnami/metrics-server --namespace kube-system --set rbac.create=false --set apiService.create=true --set extraArgs.kubelet-insecure-tls=true

Each command executes the following.

After waiting for a while, you can get the metrics with kubectl top node etc.

$ kubectl top node
NAME             CPU(cores)   CPU%   MEMORY(bytes)   MEMORY%
docker-desktop   521m         8%     1363Mi          19%

[^ 1]: The simple and difficult method is to specify --kubelet-insecure-tls as the command argument. The metrics-server provides extraArgs, but if you see that the default is[]and specify extraArgs [0] = kubelet-insecure-tls, then --0 = It is converted to kubelet-insecure-tls and does not work.

Recommended Posts

Install metrics-server with Helm on Kubernetes that comes with Docker for Mac
Install Docker Desktop for Mac with Homebrew
When Kubernetes doesn't start on Docker Desktop for Mac
Getting Started with Docker for Mac (Installation)
Run Ubuntu + ROS with Docker on Mac
Install an older version of Docker for Mac
[Docker for Mac] Deal with Credentials store error
How to use nginx-ingress-controller with Docker for Mac
Install gradle on mac
Install Java on Mac
Install Docker on Manjaro
How to make Laravel faster with Docker for Mac
I struggled with pip install on an M1 Mac
Install openjdk11 on mac
Install OpenJDK 8 on mac
Install Composer with Docker
Beginners install docker for mac and prepare php7.0 operating environment
[For beginners] Install JDK + Eclipse on Mac (without Pleiades All-in-One)
A story about speeding up unittest on Docker for Mac
I tried running WordPress with docker preview on M1 Mac.
Measures for permissions when building MySQL with Docker on WSL2
Install Docker on Raspberry Pi
Install Docker on Ubuntu Server 20.04
Install docker on AWS EC2
Install docker, docker-compose for debin10
Install tomcat + eclipse on mac
Prepare a transcendentally simple PHP & Apache environment on Mac with Docker
Programs that use io_uring do not work with Docker on CentOS 8
Install Ubuntu Server 20.04 in VirtualBox on Mac and connect with SSH
Install openjdk8 on Docker image (Debian)
Install Ruby on MSYS2 with pacman
Install Docker on AWS Ubunt 20.04 LTS
Install java with Ubuntu 16.04 based Docker
How to install JMeter for Mac
Steps to run docker on Mac
Install Java with zip on Windows
Try using Redmine on Mac docker
Docker on NILFS2 filesystem (for raspbianOS)
WordPress with Docker Compose on CentOS 8
Use Docker on your M1 Mac
Install ruby on Ubuntu 20.04 with rbenv
Docker For Mac Slow: Countermeasure II
Install Java development environment on Mac
Let's install Docker on Windows 10 and create a verification environment for CentOS 8!
Creating a java web application development environment with docker for mac part1
Create a java web application development environment with docker for mac part2