<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <p>Hi,</p>
    <p>thanks a lot for the hint. It works fine under Yoga as you said:</p>
    <p>$ kubectl get apiservice | grep metrics<br>
      v1beta1.metrics.k8s.io                
      kube-system/magnum-metrics-server   True        9m11s<br>
      $ kubectl top nodes<br>
      NAME                             CPU(cores)   CPU%  
      MEMORY(bytes)   MEMORY%<br>
      k8s-test-dhgkjeop7o3v-master-0   139m         3%    
      1227Mi          15%<br>
      k8s-test-dhgkjeop7o3v-node-0     29m          1%    
      495Mi           12%<br>
      k8s-test-dhgkjeop7o3v-node-1     38m          1%    
      567Mi           14%<br>
    </p>
    <p>just out of curiosity, will this be fixed in e.g. Wallaby or Xena
      as well?</p>
    <p>Cheers,</p>
    <p>Oliver<br>
    </p>
    <div class="moz-cite-prefix">Am 04.05.2022 um 09:04 schrieb Oliver
      Weinmann:<br>
    </div>
    <blockquote type="cite"
      cite="mid:96370E58-E99F-426F-9990-DC12233AAA5D@me.com">
      <meta http-equiv="content-type" content="text/html; charset=UTF-8">
      Hi ammad,
      <div><br>
      </div>
      <div>Thanks for your reply. I will try this.</div>
      <div><br>
      </div>
      <div>Best regards<br>
        <br>
        <div dir="ltr">Von meinem iPhone gesendet</div>
        <div dir="ltr"><br>
          <blockquote type="cite">Am 04.05.2022 um 09:00 schrieb Ammad
            Syed <a class="moz-txt-link-rfc2396E" href="mailto:syedammad83@gmail.com"><syedammad83@gmail.com></a>:<br>
            <br>
          </blockquote>
        </div>
        <blockquote type="cite">
          <div dir="ltr">
            <div dir="auto">Hi,</div>
            <div dir="auto"><br>
            </div>
            <div dir="auto">You can use yoga release of magnum. Metrics
              server has fixed in it.</div>
            <div dir="auto"><br>
            </div>
            <div dir="auto">On the older release use metrics server
              enable label to false.</div>
            <div dir="auto"><br>
            </div>
            <div dir="auto">Ammad</div>
            <div>
              <div class="gmail_quote">
                <div dir="ltr" class="gmail_attr">On Tue, May 3, 2022 at
                  11:36 PM Oliver Weinmann <<a
                    href="mailto:oliver.weinmann@me.com"
                    moz-do-not-send="true" class="moz-txt-link-freetext">oliver.weinmann@me.com</a>>
                  wrote:<br>
                </div>
                <blockquote class="gmail_quote" style="margin:0px 0px
                  0px
0.8ex;border-left-width:1px;border-left-style:solid;padding-left:1ex;border-left-color:rgb(204,204,204)">
                  <div dir="auto">Hi,
                    <div><br>
                    </div>
                    <div>Is the metrics-server broken by default in
                      magnum? I tried for several hours to get it
                      running, but running kubectl top nodes fails.</div>
                    <div><br>
                    </div>
                    <div>
                      <div>
                        <p class="MsoNormal" style="margin:0cm 0cm
                          0.0001pt;font-size:11pt;font-family:Calibri,sans-serif"><span
                            style="font-family:Calibri,sans-serif"
                            lang="EN-GB">Message:               failing
                            or missing response from <span dir="ltr"
style="text-decoration:underline;font-family:Calibri,sans-serif;color:rgb(149,79,114)"><a
href="https://10.100.2.4:8443/apis/metrics.k8s.io/v1beta1"
                                target="_blank"
                                style="font-family:Calibri,sans-serif"
                                moz-do-not-send="true"
                                class="moz-txt-link-freetext">https://10.100.2.4:8443/apis/metrics.k8s.io/v1beta1</a>:</span> Get
                            "<span dir="ltr"
style="text-decoration:underline;font-family:Calibri,sans-serif;color:rgb(149,79,114)"><a
href="https://10.100.2.4:8443/apis/metrics.k8s.io/v1beta1"
                                target="_blank"
                                style="font-family:Calibri,sans-serif"
                                moz-do-not-send="true"
                                class="moz-txt-link-freetext">https://10.100.2.4:8443/apis/metrics.k8s.io/v1beta1</a></span>":
                            net/http: request canceled while waiting for
                            connection (Client.Timeout exceeded while
                            awaiting headers)</span></p>
                      </div>
                      <br>
                    </div>
                    <div>I also googled a lot but only found similar
                      issues for k8s clusters not deployed via magnum. I
                      remembered from my other cluster that I had to
                      enable enable-aggregator-routing=true in
                      kupe-apiserver and <span style="font-family:"Roboto Mono",monospace;font-size:13.600000381469727px;white-space:pre-wrap;background-color:rgb(255,255,255);color:rgb(0,0,0)">--kubelet-insecure-tls for the metrics-server.</span></div>
                    <div><span style="font-family:"Roboto Mono",monospace;font-size:13.600000381469727px;white-space:pre-wrap;background-color:rgb(255,255,255);color:rgb(0,0,0)">
</span></div>
                    <div><span style="font-family:"Roboto Mono",monospace;font-size:13.600000381469727px;white-space:pre-wrap;background-color:rgb(255,255,255);color:rgb(0,0,0)">But this also doesn’t help. Any help would be highly appreciated.</span></div>
                    <div><br>
                      <div dir="ltr">Best regards,</div>
                    </div>
                    <div dir="ltr">Oliver</div>
                  </div>
                </blockquote>
              </div>
            </div>
            -- <br>
            <div dir="ltr" class="gmail_signature"
              data-smartmail="gmail_signature">Regards,
              <div><br>
              </div>
              <div><br>
              </div>
              <div>Syed Ammad Ali</div>
            </div>
          </div>
        </blockquote>
      </div>
    </blockquote>
  </body>
</html>