Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

351
Visualizações
(How) can I use a dynamic volume with mongodb in GKE through gitlab?

I am attempting to create a MongoDB through the gitlab-ci using helm (a DB similar to the postgres offering by Gitlab). Using only helm charts, I am trying to enable the service. [I am deploying on my own cluster but eventually it will be on a cluster that I do not have direct kubectl rights to.] I am adapting the setup based on this video walkthrough.

I am receiving this error:

wait.go:53: [debug] beginning wait for 7 resources with timeout of 5m0s
wait.go:216: [debug] PersistentVolumeClaim is not bound: angular-23641052-review-86-sh-mousur/review-86-sh-mousur-mongodb

This is the application.yml file:

kind: Deployment
apiVersion: apps/v1
metadata:
  name: {{ template "chart.fullname" .}}-deployment
spec: 
  replicas: 1
  selector:
    matchLabels: 
      app: {{ template "chart.fullname" .}}-example
  template: 
    metadata:
      labels:
        app: {{ template "chart.fullname" .}}-example
    spec:
      containers:
        - name:  example
          image: angular-example:1.0.1
          env:  
            - name: MONGO_URL
              value: mongodb://{{ template "mongodb.fullname" . }}.default.svc.cluster.local:27017/{{ .Values.DbName }}

Currently, this is for testing - and the database is very small based on a few JSONs.
How can I move to use dynamic storage for the interim using only helm charts i.e. without access to kubectl?

over 4 years ago · Santiago Trujillo
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda