hongbo-miao/hongbomiao.com

View on GitHub
kubernetes/argo-cd/applications/production-hm/metrics-server/argo-cd-manifests/hm-metrics-server-application.yaml

Summary

Maintainability
Test Coverage
---
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
  name: hm-metrics-server
  namespace: production-hm-argo-cd
  labels:
    app.kubernetes.io/name: hm-metrics-server
spec:
  project: production-hm
  source:
    repoURL: https://kubernetes-sigs.github.io/metrics-server
    # https://artifacthub.io/packages/helm/metrics-server/metrics-server
    targetRevision: 3.12.1
    chart: metrics-server
    helm:
      releaseName: hm-metrics-server
      values: |
        # https://github.com/kubernetes-sigs/metrics-server/blob/master/charts/metrics-server/values.yaml
        ---
        resources:
          requests:
            cpu: 50m
            memory: 128Mi
          limits:
            cpu: 100m
            memory: 256Mi
  destination:
    namespace: production-hm-metrics-server
    server: https://kubernetes.default.svc
  syncPolicy:
    syncOptions:
      - ServerSideApply=true
    automated:
      prune: true