cluster

Infrastructure files for Nordgedanken and Midnightthoughts.
git clone git://archive.git.mtrnord.blog/MTRNord/cluster.git
Log | Files | Refs | README

release.yaml (1443B)


      1 apiVersion: helm.toolkit.fluxcd.io/v2
      2 kind: HelmRelease
      3 metadata:
      4   name: proxmox-ccm
      5   namespace: kube-system
      6 spec:
      7   releaseName: proxmox-ccm
      8   targetNamespace: kube-system
      9   interval: 30m
     10   chart:
     11     spec:
     12       chart: proxmox-cloud-controller-manager
     13       sourceRef:
     14         kind: HelmRepository
     15         name: sergelogvinov
     16         namespace: kube-system
     17       interval: 1h
     18   install:
     19     remediation:
     20       retries: 3
     21   upgrade:
     22     remediation:
     23       retries: 3
     24   # Sensitive values (Proxmox API credentials) are loaded from the SOPS-encrypted secret.
     25   # Non-sensitive values are set inline below.
     26   valuesFrom:
     27     - kind: Secret
     28       name: proxmox-ccm-values
     29       valuesKey: values.yaml
     30   values:
     31     cluster:
     32       name: cluster-2025
     33 
     34     # Only initialize nodes — node lifecycle (deletion on VM removal) is also safe
     35     # to enable since each CCM only manages its own providerID-prefixed nodes.
     36     enabledControllers:
     37       - cloud-node
     38       - cloud-node-lifecycle
     39 
     40     # Run on existing cloud control-plane nodes so the CCM is available before
     41     # dedicated workers join (and thus can remove the uninitialized taint promptly).
     42     nodeSelector:
     43       node-role.kubernetes.io/control-plane: ""
     44 
     45     tolerations:
     46       - key: node-role.kubernetes.io/control-plane
     47         operator: Exists
     48         effect: NoSchedule
     49 
     50     resources:
     51       requests:
     52         cpu: 50m
     53         memory: 32Mi
     54       limits:
     55         memory: 128Mi