Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

improve app status visibility #56

Closed
mms-gianni opened this issue Dec 21, 2022 · 4 comments · Fixed by #57
Closed

improve app status visibility #56

mms-gianni opened this issue Dec 21, 2022 · 4 comments · Fixed by #57
Assignees
Labels
enhancement New feature or request
Milestone

Comments

@mms-gianni
Copy link
Member

mms-gianni commented Dec 21, 2022

I'd like to add some basic stats. This will require adding the metrics server :
https://github.com/kubernetes-sigs/metrics-server

But this was required by HPA anyway.

@mms-gianni mms-gianni added this to the v1.5.0 milestone Dec 21, 2022
@mms-gianni
Copy link
Member Author

mms-gianni commented Dec 21, 2022

install the metrics server

kubectl apply -f https://github.com/kubernetes-sigs/metrics-server/releases/latest/download/components.yaml

@mms-gianni
Copy link
Member Author

mms-gianni commented Dec 21, 2022

Need to add --kubelet-insecure-tls

described here : https://k21academy.com/docker-kubernetes/the-server-is-currently-unable-to-handle-the-request/

kubectl edit deployments.apps metrics-server -n kube-system 

@mms-gianni
Copy link
Member Author

Not to bad

image

@mms-gianni mms-gianni linked a pull request Dec 22, 2022 that will close this issue
@mms-gianni mms-gianni added the enhancement New feature or request label Dec 22, 2022
@mms-gianni mms-gianni self-assigned this Dec 22, 2022
@mms-gianni mms-gianni reopened this Dec 22, 2022
@mms-gianni
Copy link
Member Author

If there is a problem with the metrics server cert :

kubectl patch deployment metrics-server -n kube-system --type=json -p='[{"op": "add", "path": "/spec/template/spec/containers/0/args/1", "value": "--kubelet-insecure-tls"}]'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

1 participant