hongbo-miao/hongbomiao.com

View on GitHub
kubernetes/argo-cd/applications/production-hm/netdata/kubernetes-manifests/hm-netdata-tracking-server-storage-class.yaml

Summary

Maintainability
Test Coverage
---
apiVersion: storage.k8s.io/v1
kind: StorageClass
metadata:
  name: hm-netdata-storage-class
  annotations:
    # https://argo-cd.readthedocs.io/en/stable/user-guide/resource_hooks
    argocd.argoproj.io/hook: PreSync
provisioner: kubernetes.io/aws-ebs
volumeBindingMode: Immediate
reclaimPolicy: Retain
# https://github.com/kubernetes-sigs/aws-ebs-csi-driver/blob/master/docs/parameters.md
parameters:
  csi.storage.k8s.io/fstype: ext4
  type: gp3
  encrypted: "false"
allowedTopologies:
  - matchLabelExpressions:
      - key: topology.kubernetes.io/zone
        values:
          - us-west-2a