Docker Kubernetes (Mac) - Autoscaler unable to find metrics

前端 未结 4 872
别跟我提以往
别跟我提以往 2020-12-15 08:41

I have installed a local instance of Kubernetes via Docker on my Mac.

Following the walkthrough on how to activate autoscaling on a deployment I have experienced an

4条回答
  •  情话喂你
    2020-12-15 09:04

    For who are use Internal-IP here may work for you. Follow @Mr.Turtle above at step 4. add more one command.

      containers:
      - name: metrics-server
        image: k8s.gcr.io/metrics-server-amd64:v0.3.3
        command:
          - /metrics-server
          - --kubelet-insecure-tls
          - --kubelet-preferred-address-types=InternalIP
    

提交回复
热议问题