feat: migrate vm-system to ArgoCD
Migrate Victoria Metrics operator from Terragrunt to ArgoCD/Kustomize. Deploys victoria-metrics-operator v0.57.1 with 2 replicas in vm-system. 💘 Generated with Crush Assisted-by: Claude Sonnet 4.6 via Crush <crush@charm.land>
This commit is contained in:
@@ -0,0 +1,6 @@
|
|||||||
|
---
|
||||||
|
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||||
|
kind: Kustomization
|
||||||
|
|
||||||
|
resources:
|
||||||
|
- namespace.yaml
|
||||||
@@ -0,0 +1,7 @@
|
|||||||
|
---
|
||||||
|
apiVersion: v1
|
||||||
|
kind: Namespace
|
||||||
|
metadata:
|
||||||
|
labels:
|
||||||
|
app.kubernetes.io/name: vm-system
|
||||||
|
name: vm-system
|
||||||
@@ -0,0 +1,16 @@
|
|||||||
|
---
|
||||||
|
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||||
|
kind: Kustomization
|
||||||
|
|
||||||
|
namespace: vm-system
|
||||||
|
|
||||||
|
resources:
|
||||||
|
- ../../../base/vm-system
|
||||||
|
|
||||||
|
helmCharts:
|
||||||
|
- name: victoria-metrics-operator
|
||||||
|
repo: https://victoriametrics.github.io/helm-charts/
|
||||||
|
version: "0.57.1"
|
||||||
|
releaseName: victoria-metrics-operator
|
||||||
|
namespace: vm-system
|
||||||
|
valuesFile: values.yaml
|
||||||
@@ -0,0 +1,9 @@
|
|||||||
|
logLevel: "info"
|
||||||
|
replicaCount: 2
|
||||||
|
resources:
|
||||||
|
limits:
|
||||||
|
cpu: 500m
|
||||||
|
memory: 512Mi
|
||||||
|
requests:
|
||||||
|
cpu: 50m
|
||||||
|
memory: 128Mi
|
||||||
@@ -12,16 +12,17 @@ spec:
|
|||||||
directories:
|
directories:
|
||||||
- path: apps/overlays/*/artifactapi
|
- path: apps/overlays/*/artifactapi
|
||||||
- path: apps/overlays/*/cattle-system
|
- path: apps/overlays/*/cattle-system
|
||||||
- path: apps/overlays/*/certificates
|
|
||||||
- path: apps/overlays/*/cert-manager
|
- path: apps/overlays/*/cert-manager
|
||||||
|
- path: apps/overlays/*/certificates
|
||||||
- path: apps/overlays/*/cnpg-system
|
- path: apps/overlays/*/cnpg-system
|
||||||
- path: apps/overlays/*/externaldns
|
- path: apps/overlays/*/externaldns
|
||||||
- path: apps/overlays/*/inteldeviceplugins-system
|
- path: apps/overlays/*/inteldeviceplugins-system
|
||||||
|
- path: apps/overlays/*/jfrog
|
||||||
- path: apps/overlays/*/node-feature-discovery
|
- path: apps/overlays/*/node-feature-discovery
|
||||||
|
- path: apps/overlays/*/puppet
|
||||||
- path: apps/overlays/*/reflector-system
|
- path: apps/overlays/*/reflector-system
|
||||||
- path: apps/overlays/*/reloader-system
|
- path: apps/overlays/*/reloader-system
|
||||||
- path: apps/overlays/*/jfrog
|
- path: apps/overlays/*/vm-system
|
||||||
- path: apps/overlays/*/puppet
|
|
||||||
- path: apps/overlays/*/woodpecker
|
- path: apps/overlays/*/woodpecker
|
||||||
template:
|
template:
|
||||||
metadata:
|
metadata:
|
||||||
|
|||||||
@@ -8,14 +8,15 @@ spec:
|
|||||||
description: Platform infrastructure and core services
|
description: Platform infrastructure and core services
|
||||||
sourceRepos:
|
sourceRepos:
|
||||||
- https://git.unkin.net/unkin/argocd-apps
|
- https://git.unkin.net/unkin/argocd-apps
|
||||||
|
- https://charts.jetstack.io
|
||||||
|
- https://cloudnative-pg.github.io/charts
|
||||||
|
- https://intel.github.io/helm-charts/
|
||||||
|
- https://kubernetes-sigs.github.io/external-dns/
|
||||||
|
- https://releases.rancher.com/server-charts/stable
|
||||||
|
- https://victoriametrics.github.io/helm-charts/
|
||||||
|
- oci://gcr.io/k8s-staging-nfd/charts
|
||||||
- oci://ghcr.io/emberstack/helm-charts
|
- oci://ghcr.io/emberstack/helm-charts
|
||||||
- oci://ghcr.io/woodpecker-ci/helm/woodpecker
|
- oci://ghcr.io/woodpecker-ci/helm/woodpecker
|
||||||
- https://releases.rancher.com/server-charts/stable
|
|
||||||
- https://charts.jetstack.io
|
|
||||||
- https://kubernetes-sigs.github.io/external-dns/
|
|
||||||
- https://cloudnative-pg.github.io/charts
|
|
||||||
- oci://gcr.io/k8s-staging-nfd/charts
|
|
||||||
- https://intel.github.io/helm-charts/
|
|
||||||
destinations:
|
destinations:
|
||||||
- namespace: '*-system'
|
- namespace: '*-system'
|
||||||
server: https://kubernetes.default.svc
|
server: https://kubernetes.default.svc
|
||||||
|
|||||||
Reference in New Issue
Block a user