Gerrit review minikube
Deploy gerrit on kubernetes
Download git repository with helm charts
git clone https://gerrit.googlesource.com/k8s-gerrit
cd k8s-gerritCreate namespace
kubectl create ns gerrit-operatorUpdate helm dependencies
helm dependency build helm-charts/gerrit-operator/Install k8s operator
helm -n gerrit-operator install gerrit-operator helm-charts/gerrit-operator/Install NFS
kubectl create ns nfs
helm repo add nfs-ganesha-server-and-external-provisioner \
https://kubernetes-sigs.github.io/nfs-ganesha-server-and-external-provisioner/
helm upgrade \
--install nfs \
nfs-ganesha-server-and-external-provisioner/nfs-server-provisioner \
-n nfsCreate gerrit namespace and sample secrets
kubectl create ns gerrit
kubectl apply -f Documentation/examples/gerrit.secret.yamlCreate single gerrit cluster
Create gerrit-ingress.yaml file to generate an ingress to the Web UI.
Host IP is the output of minikube ip command
Create the ingress
Create IngressRouteTcp to allow git through SSH
PreviousGitlab CI minikube development environmentNextGerrit and gitlab replication and CI job hooks on k8s
Last updated
Was this helpful?