add metrics-server

This commit is contained in:
Mans Ziesel 2024-11-06 20:14:04 +01:00
parent 0d2a1a8952
commit c8a257436d
4 changed files with 33 additions and 0 deletions

View File

@ -0,0 +1,20 @@
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: argo-app-metrics-server
namespace: argocd
spec:
destination:
name: ''
namespace: default
server: https://kubernetes.default.svc
source:
path: metrics-server
repoURL: https://git.mziesel.nl/mans/argocd-test
targetRevision: HEAD
sources: []
project: default
syncPolicy:
automated:
prune: true
selfHeal: true

View File

@ -18,3 +18,4 @@ resources:
- ./base/keycloak-application.yaml
- ./base/mediaserver-application.yaml
- ./base/uptime-kuma-application.yaml
- ./base/metrics-server-application.yaml

View File

@ -0,0 +1,4 @@
apiVersion: v1
kind: Namespace
metadata:
name: metrics-server

View File

@ -0,0 +1,8 @@
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
namespace: metrics-server
resources:
- ./base/metrics-server-namespace.yaml
- https://github.com/kubernetes-sigs/metrics-server/releases/download/v0.7.2/components.yaml