Replies: 1 comment 1 reply
-
When you use HostPath you should use something like this:
|
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello, my operators on OKD and OpenShift try to install GitLab to create it with the following yaml. GitLab will automatically create 4 PVCs, repo-data-gitlab-gitaly-0, redis-data-gitlab-redis-master-0 , gitlab-minio and data-gitlab-postgresql-0, I used the following to create one of the PVs that was successfully bound to the PVC, and also at 2001-b030-801e-0300-0000-0000-0000-103e.hinet-ip6.hinet The corresponding folder is created on the .net node, but the Pod is always in the ContainerCreating state. The log shows that MountVolume.NewMounter initialization failed for volume "gitlab-minio-pv" : path "/mnt/gitlab/minio" does not exist and Unable to attach or mount volumes: unmounted volumes=[data], unattached volumes=[], failed to process volumes=[]: timed out waiting for the condition, what should I do? Thank you.
create GitLab yaml:
PV yaml:
Beta Was this translation helpful? Give feedback.
All reactions