Deploy k8up backup operator (platform, k8up-system) #363
Reference in New Issue
Block a user
Delete Branch "benvin/k8up-operator"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
The k8up CRDs already exist in the cluster (owned by a separate
k8up-crdsHelm release) but the k8up operator itself was never deployed, so no k8up backup/restore custom resources are reconciled. This installs the operator following the cnpg-system pattern (Helm inflated via kustomizehelmCharts) in theplatformArgoCD project, namespacek8up-system.apps/base/k8up-system/(Namespace + kustomization).apps/overlays/au-syd1/k8up-system/inflating the k8up chart4.10.0(pinned) from the artifactapi virtual-helm proxy:replicaCount: 2(leader election with hot-standby follower), operator resource requests/limits (20m/128Mi req, 500m/256Mi lim), and ServiceMonitor/PrometheusRule disabled (require Prometheus Operator CRDs).PodDisruptionBudget(minAvailable: 1) in the overlay, since the k8up chart exposes no native PDB value.apps/overlays/*/k8up-systemin the platform ApplicationSet.CRD management: The k8up chart ships its CRDs via the Helm
crds/directory (there is noinstallCRDs/skipCrds/enableCRDCreationvalue). The kustomize helm inflator does not emitcrds/, sokustomize buildrenders only the operator (Deployment, RBAC, SA, Service) and no CRDs. ArgoCD therefore does not fight the existingk8up-crdsHelm release over CRD ownership.platform.yaml (AppProject): no change needed. The virtual-helm sourceRepo, the
*-systemdestination, and the ClusterRole/ClusterRoleBinding/CRD/webhook clusterResourceWhitelist entries are already present and cover everything this app renders.Validation:
kustomize build --enable-helm apps/overlays/au-syd1/k8up-systemsucceeds (Deployment replicas 2, PDB, Namespace, RBAC; 0 CRDs).make kubeconformreports k8up-system 14/14 valid; the only failure is the pre-existing, unrelatedcattle-systemrancher chart kubeVersion issue. pre-commit passes.