Deploying GitLab in multiple clusters
Deploying GitLab with Istio service mesh
helminstall
helm -n gitlab template gitlab gitlab/gitlab -f values.yml --version 6.4.1 > gitlab-6.4.1.yml
helm install gitlab gitlab/gitlab -f values.yml --version 6.4.1 -n gitlab
helm upgrade --install gitlab gitlab/gitlab -f values.yml --version 6.4.1 -n gitlabMake sure you can login into GitLab
Credentials
user: root
password: kubectl get secret -n gitlab gitlab-gitlab-initial-root-password -ojsonpath='{.data.password}' | base64 --decode ; echoGet self-signed CA
kubectl -n gitlab get secret gitlab-wildcard-tls-ca -ojsonpath='{.data.cfssl_ca}'Deploying Gateway "ingress"
Configure the
gateway
apiVersion: networking.istio.io/v1alpha3
kind: Gateway
metadata:
name: gitlab-gateway
spec:
selector:
istio: ingressgateway # use Istio default gateway implementation
servers:
- port:
number: 80
name: http
protocol: HTTP
hosts:
- "gitlab.elitebook.tokyo.lab"Configure the
gateway routes
Configure istio sidecars
istio sidecarshelm templates
get
mesh-configvalues
inject
istioside cars
Prometheus
Grafana
https://gitlab.com/gitlab-org/grafana-dashboards/tree/master/omnibus
Last updated