question

JuanPerez-9865 avatar image
0 Votes"
JuanPerez-9865 asked srbose-msft answered

Self-Managed Instance of Gitlabs, New Values in Minio After Reconfiguring No Being Applied

I need to reconfigure Minio after a standard Gitlab install via Helm Charts, would like to increase to 100GB from the 9GB installed, however any time I run the upgrade with the file change looks like successfully upgraded, but the changes have not been applied and Minio Browser still showing 9GB

USER-SUPPLIED VALUES:
certmanager-issuer:
email:
gitlab-runner:
install: true
gitlab-runner.runners.privileged: true
gitlab-runner.imagePullPolicy: IfNotPresent
global:
edition: ce
hosts:
domain:

minio:
persistence:
size: 100Gi
imagePullPolicy: IfNotPresent
init:
image:
imagePullPolicy: IfNotPresent

(looks like the indentation of my yaml file is gone!)

Then applied my changes
![115641-image.png][1]

image
Found the problem when launching
kubectl get events -w -n gitlabs

115559-image.png

Any ideas how to workaround or fix this issue?

azure-kubernetes-service
image.png (1.8 KiB)
image.png (12.7 KiB)
image.png (29.8 KiB)
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

srbose-msft avatar image
0 Votes"
srbose-msft answered

@JuanPerez-9865 , Thank you for your question.

If the Azure managed disk is already attached to a running VM, disk resize will fail.

Before running kubectl edit pvc pvc-azuredisk operation, please make sure this PVC is not mounted by any pod (change the replica count to 0, this will terminate the pod and detach the disk, need wait a few minutes) otherwise there would be resize error. Now run kubectl edit pvc pvc-azuredisk to change azuredisk PVC size.

Please refer to this GitHub PR for detailed instructions.


Hope this helps.

Please "Accept as Answer" if it helped, so that it can help others in the community looking for help on similar topics.


5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.