Open PranitRout07 opened 5 months ago
I have a different experience, If I download the components.yaml file using the https://github.com/kubernetes-sigs/metrics-server/releases/latest/download/components.yaml I am getting empty components.yaml. I am using EKS 1.26 version with fargate nodes. Please suggest me for the fix.
sh "curl -o components.yaml https://github.com/kubernetes-sigs/metrics-server/releases/latest/download/components.yaml" sh "ls -ltr"
output:
curl -o components.yaml https://github.com/kubernetes-sigs/metrics-server/releases/latest/download/components.yaml % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 [Pipeline] sh
The Kubernetes project currently lacks enough contributors to adequately respond to all issues.
This bot triages un-triaged issues according to the following rules:
lifecycle/stale
is appliedlifecycle/stale
was applied, lifecycle/rotten
is appliedlifecycle/rotten
was applied, the issue is closedYou can:
/remove-lifecycle stale
/close
Please send feedback to sig-contributor-experience at kubernetes/community.
/lifecycle stale
The Kubernetes project currently lacks enough active contributors to adequately respond to all issues.
This bot triages un-triaged issues according to the following rules:
lifecycle/stale
is appliedlifecycle/stale
was applied, lifecycle/rotten
is appliedlifecycle/rotten
was applied, the issue is closedYou can:
/remove-lifecycle rotten
/close
Please send feedback to sig-contributor-experience at kubernetes/community.
/lifecycle rotten
/kind support /triage accepted
ISSUE : Metrics server unable to fetch the target metrics after downloading components.yaml file from the metrics server installation URL .
Metrics Server Installation URL : https://github.com/kubernetes-sigs/metrics-server/releases/latest/download/components.yaml
ISSUE DESCRIPTION :
Here i have first downloaded the components.yaml using the above URL . Then applied the components.yaml , but it is unable to detect the target metrics . Here in the below screenshot you can see the hpa resource is unable fetch the target metrics .
Then added the following lines at line number 140 .
After adding the lines , then again i have applied the components.yaml file using kubectl . Now hpa can detect the target metrics .
Question
Why the lines are not directly included at line number 140 in the components.yaml , so that it can work directly after downloaded from the URL ?
/kind bug