Skip to content

Pablo-CC/gitlab-k8

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Gitlab K8 Instance

TL;DR;

Install Tiller:

# Create service account for Tiller
kubectl -n kube-system create serviceaccount tiller
# Grant cluster-admin role to service account
kubectl create clusterrolebinding tiller-cluster-admin \
    --clusterrole=cluster-admin \
    --serviceaccount=kube-system:tiller
# Start Tiller
helm init --service-account tiller --upgrade
# Wait for Tiller to start
kubectl -n kube-system wait --for condition=ready pods -l "app=helm,name=tiller" --timeout 300s

Deploy scenario into Kubernetes:

git clone https://github.com/Pablo-CC/gitlab-k8.git
kubectl apply -f pvs.yaml
kubectl apply -f pvc.yaml
helm repo add gitlab https://charts.gitlab.io/
helm install --name=gitlab gitlab/gitlab -f values.yaml

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published