taigaio / taiga-docker

Mozilla Public License 2.0
1.22k stars 305 forks source link

[Q] Deploying Taiga on Kubernetes #77

Closed abhishekrai43 closed 2 years ago

abhishekrai43 commented 2 years ago

> READ THIS FIRST!: We recently announced Taiga plans for the future and they greatly affect how we manage this repository and the current Taiga 6 release. Check it here.chore: readme announce taiga-next

I have been able to generate kubernetes deployment files using Kompose and finally got all the containers running in kibernetes after struggling a bit with the volumes.

taiga-async-6c7d9dbd7b-hl4lh             1/1     Running   1          91m

taiga-async-rabbitmq-86979cf759-x2lrx    1/1     Running   0          91m

taiga-back-cbd4b68f4-fbwx9               1/1     Running   0          24s

taiga-db-cb496d58c-mdsfw                 1/1     Running   0          80m

taiga-events-74f494df97-hqxpt            1/1     Running   0          91m

taiga-events-rabbitmq-7f558ddf88-rz6nz   1/1     Running   4          91m

taiga-front-5487d594b8-6vml8             1/1     Running   0          13m

taiga-gateway-7487554979-2d9ct           1/1     Running   0          44m

taiga-protected-7794949d49-bws46         1/1     Running   0          91m](url)

However, I see that the taiga-back servive is unstable. It keeps giving this error. This is the cluster endpoint IP.

        Is the server running on host "3x.1x3.88.xx6" and accepting
        TCP/IP connections on port 5432?

and I am not able to access the application from outside. kubernetes ClusterIP 10.116.0.1 <none> 443/TCP 109m taiga-gateway LoadBalancer 10.116.10.159 3x.x8x.5x.2x3 9000:32087/TCP 105m

I have provided my cluster endpoint IP here

              value: "True"
            - name: POSTGRES_DB
              value: taiga
            - name: POSTGRES_HOST
              value: 34.123.88.206
            - name: POSTGRES_PASSWORD
              value: taiga
            - name: POSTGRES_USER
              value: taiga
            - name: RABBITMQ_PASS
              value: taiga
            - name: RABBITMQ_USER
              value: taiga
            - name: TAIGA_SECRET_KEY
              value: taiga-back-secret-key
            - name: TAIGA_SITES_DOMAIN
              value: 34.123.88.206:9000
            - name: TAIGA_SITES_SCHEME
              value: http
            - name: TAIGA_SUBPATH
          image: taigaio/taiga-back:latest
          name: taiga-back

However, it is different from the loadbalancer's IP. I am a bit confused about this. Is this the reason why I am not able to access this? or is it something I missed entirely? Please guide a little.

abhishekrai43 commented 2 years ago

I was able to deploy it. Now when I try to create a superuser the pod gives error 137 and has a huge memory usage. No clue why.