Closed MrAmbiG closed 3 years ago
The Gerrit replica does not expose a GUI or Rest API. Gerrit replicas are meant to only serve git fetches and clones, providing the same permissions as the primary Gerrit.
The webpage you opened also seems to be the endpoint of the apache-git-http-backend, which is the component that takes care of receiving the replication pushes from the primary Gerrit. It provides two routes /git
, which should be the route for receiving the replication pushes, and /new
to initially create the repositories.
Looking at your kubectl get pods
output, I can see that the Gerrit replica pod itself seems not to start successfully (not ready and 4 restarts). Since the logs say, that Gerrit has started, this might be an issue with the readiness/liveness probes. Do you see a message stating so in the kubectl describe
output of the pod?
Ceph should do fine as a filesystem. Since the pods started the containers, the volumes were bound correctly.
I agree that setting the IP in the values.yaml
would be useful. Would you be open to implement the change and push it for review on Gerrit https://gerrit-review.googlesource.com/admin/repos/k8s-gerrit ? You contribution would be very welcome.
As a side note, this project is developed on Gerrit (https://gerrit-review.googlesource.com). This repository on GitHub is just a mirror. Also the Gerrit mailing list would be a better place to ask questions: https://groups.google.com/g/repo-discuss.
The above is the values.yaml. I am trying to do a minimal gerrit replica deployment which will mirror the existing gerrit deployed on a physical machine.
What am I missing? If i go to http://gerrit.example.com it just 'It Works'. The ip address of the loadbalancer is added in DNS. Also there should be a way to specify the loadbalancer IP in the values yaml file which is currently missing. Can someone share a working values.yaml for replica. I have a ceph filesystem default storageclass and working. logs of gerritreplica-gerrit-replica-deployment-8444959f99-hjk6k end saying
My ingress.yaml file looks like this
I tried pointing my nginx ingress to both the service (one at a time) but no go. I get
503 Service Temporarily Unavailable
. in DNS gerrit.example.com is pointing to the ip of nginx ingress controller. An ingress pointing to either of the 2 gerrit services is not working. I even tried the built in nginx first and it only says 'It works' when I go to the loadbalancer ip of gerritreplica-git-backend-service.