Skip to content

Commit

Permalink
add kubelet-insecure-tls arg + warning on using it for metrics server
Browse files Browse the repository at this point in the history
Without it, since kubefirst don't generate custom signed certificate for kubelet, metrics server will generate the 'failed to verify certificate: x509: cannot validate certificate for XXX.XXX.X.X because it doesn't contain any IP SANs' error and won't work at all.
  • Loading branch information
fharper committed May 28, 2024
1 parent 969c4d5 commit ea91557
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions metrics-server/components/metrics-server/application.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,11 @@ spec:
repoURL: 'https://kubernetes-sigs.github.io/metrics-server'
targetRevision: 3.12.0
chart: metrics-server
# It's not suggested to run in production with this parameter: you should deploy a signed certificate for kubelet instead
helm:
values: |
args:
- --kubelet-insecure-tls
destination:
name: <CLUSTER_DESTINATION>
namespace: metrics-server
Expand Down

0 comments on commit ea91557

Please sign in to comment.