卸载前
[root@master1 gitlab-new]# kubectl get pvc
NAME STATUS VOLUME CAPACITY ACCESS MODES STORAGECLASS AGE
data-gitlab-test-postgresql-0 Bound pvc-7c78aea7-296b-4692-a607-8eb1e91080df 20Gi RWO test-cephfs 4h31m
gitlab-data Bound pvc-d17a0c45-252f-43bc-8ed9-627f2572de6d 4Ti RWX test-cephfs 4h40m
gitlab-test-minio Bound pvc-04c74760-8578-49ba-9ace-210b42ff99e3 4Ti RWO test-cephfs 4h31m
gitlab-test-toolbox-tmp Bound pvc-25a9886d-5daa-4e85-b571-3ac9f6091991 1Ti RWO test-cephfs 4h31m
redis-data-gitlab-test-redis-master-0 Bound pvc-82a12ee9-923c-4ae5-8a1c-d9cdec40333a 8Gi RWO test-cephfs 4h31m
repo-data-gitlab-test-gitaly-0 Bound pvc-90ef67d8-4fe0-40a5-bb28-8d62255e257b 200Gi RWO test-cephfs 4h31m
卸载后
[root@master1 gitlab-test]# kubectl get pvc
NAME STATUS VOLUME CAPACITY ACCESS MODES STORAGECLASS AGE
data-gitlab-test-postgresql-0 Bound pvc-7c78aea7-296b-4692-a607-8eb1e91080df 20Gi RWO test-cephfs 4h32m
gitlab-data Bound pvc-d17a0c45-252f-43bc-8ed9-627f2572de6d 4Ti RWX test-cephfs 4h41m
gitlab-test-toolbox-tmp Terminating pvc-25a9886d-5daa-4e85-b571-3ac9f6091991 1Ti RWO test-cephfs 4h32m
redis-data-gitlab-test-redis-master-0 Bound pvc-82a12ee9-923c-4ae5-8a1c-d9cdec40333a 8Gi RWO test-cephfs 4h32m
repo-data-gitlab-test-gitaly-0 Bound pvc-90ef67d8-4fe0-40a5-bb28-8d62255e257b 200Gi RWO test-cephfs 4h32m
配置文件
global:
edition: ce
hosts:
https: false
domain: git.ynhtapp.com
gitlab:
name: git.ynhtapp.com
ssh:
name: git.ynhtapp.com
minio:
name: minio.git.ynhtapp.com
https: false
kas:
https: false
tls:
enabled: false
ingress:
class: nginx
tls:
secretName: https-secret
praefect:
ntpHost: 172.88.0.1
kas:
tls:
enabled: false
appConfig:
defaultProjectsFeatures:
containerRegistry: false
certmanager-issuer:
email: 1445499792@qq.com
postgresql:
image:
tag: 13.6.0
global:
storageClass: app-cephfs
persistence:
size: 20Gi
redis:
global:
storageClass: app-cephfs
minio:
ingress:
tls:
enabled: false
secretName: https-secret
persistence:
enabled: true
size: 4Ti
storageClass: app-cephfs
gitlab:
kas:
privateApi:
tls:
enabled: false
gitaly:
persistence:
storageClass: app-cephfs
size: 200Gi
toolbox:
persistence:
enabled: true
storageClass: app-cephfs-del
size: 1Ti
backups:
cron:
enabled: true
schedule: "0 3 * * * "
persistence:
enabled: true
storageClass: app-cephfs-del
size: 1Ti
nginx-ingress:
enabled: false
gitlab-runner:
install: false
prometheus:
install: false
certmanager:
install: false
gitlab-exporter:
enabled: false
registry:
enabled: false
请问minio的pvc怎么设置不删除?