...
StorageClass 생성
Code Block language yaml $ vi class.yaml apiVersion: storage.k8s.io/v1 kind: StorageClass metadata: name: managed-nfs-storage provisioner: nfs-gitlab reclaimPolicy: Retain allowVolumeExpansion: true parameters: archiveOnDelete: "false"
...
values.yaml 수정
Code Block | ||
---|---|---|
| ||
$ vi /opt/gitlab/embedded/service/gitlab-rails/vendor/prometheus/values.yaml securityContext: fsGroup: 999 runAsUser: 999 alertmanager: enabled: true persistentVolume: accessModes: - ReadWriteOnce annotations: {} existingClaim: "" mountPath: /home/data size: 20Gi storageClass: managed-nfs-storage subPath: "" kubeStateMetrics: enabled: true nodeExporter: enabled: false pushgateway: enabled: false server: fullnameOverride: "prometheus-prometheus-server" persistentVolume: accessModes: - ReadWriteOnce annotations: {} existingClaim: "" mountPath: /home/data size: 20Gi storageClass: managed-nfs-storage subPath: "" ... |
...