<p>I have a newly created AWS EKS 1.18 Cluster, applications are deployed on it, everything is fine, test and load test are successful, namely, my HPA and metrics-server is working fine.</p>
<p>But when I make a deployment to a service, metrics-server is giving
<code>unable to fetch pod metrics for pod xxx: no metrics known for pod</code> for the newly deployed pod, then problem is being resolved and everything is fine again.</p>
<p>My question is, is this an expected behaviour for metrics-server? Or should I check my configs again?</p>
<p>Thank you very much.</p>

Oguzhan Aygun
<p>There is a <a href="https://github.com/kubernetes-sigs/metrics-server/issues/299#issuecomment-550030920" rel="nofollow noreferrer">comment</a> about that on github:</p>
<blockquote>
<p>Metrics Server is expected to report &quot;no metrics known for pod&quot; until cache will be populated. Cache can be empty on freshly deployed metrics-server or can miss values for newly deployed pods.</p>
</blockquote>
<p>So if I understand correctly it's working as <strong>expected</strong>. I assume this problem is being solved after 60s as by <a href="https://github.com/kubernetes-sigs/metrics-server/blob/master/FAQ.md#how-often-metrics-are-scraped" rel="nofollow noreferrer">default</a> metrics are scraped every 60s.</p>
