27 lines
716 B
YAML
27 lines
716 B
YAML
|
---
|
||
|
# yaml-language-server: $schema=https://raw.githubusercontent.com/fluxcd-community/flux2-schemas/main/helmrelease-helm-v2beta2.json
|
||
|
apiVersion: helm.toolkit.fluxcd.io/v2beta2
|
||
|
kind: HelmRelease
|
||
|
metadata:
|
||
|
name: metrics-server
|
||
|
namespace: kube-system
|
||
|
spec:
|
||
|
interval: 30m
|
||
|
chart:
|
||
|
spec:
|
||
|
chart: metrics-server
|
||
|
version: 3.11.0
|
||
|
sourceRef:
|
||
|
kind: HelmRepository
|
||
|
name: kubernetes-sigs-metrics-server
|
||
|
namespace: flux-system
|
||
|
interval: 30m
|
||
|
values:
|
||
|
metrics:
|
||
|
enabled: true
|
||
|
args:
|
||
|
- --kubelet-insecure-tls
|
||
|
- --kubelet-preferred-address-types=InternalIP,ExternalIP,Hostname
|
||
|
- --kubelet-use-node-status-port
|
||
|
- --metric-resolution=15s
|