Skip to content
Install prometheus and elastic-stack in dev cluster authored by Remco Haszing's avatar Remco Haszing
# Development Cluster
This guide assumes any commands are run from a cloned version of this wiki.
## Cluster Info
The review cluster was created with the following settings
......@@ -129,10 +131,30 @@ kubectl create secret generic oauth2 \
Create a service account so GitLab can deploy into the cluster.
```sh
kubectl apply -f https://gitlab.com/appsemble/infra/wikis/config/gitlab-admin-service-account.yaml
kubectl apply -f config/gitlab-admin-service-account.yaml
```
Create a namespace for Prometheus and Elastic Stack.
```sh
kubectl create namespace gitlab-managed-apps
```
### Prometheus
```sh
helm repo add prometheus-community https://prometheus-community.github.io/helm-charts
helm repo update
helm install prometheus prometheus-community/prometheus --namespace gitlab-managed-apps --values config/prometheus-values.yaml
```
> **!!!Note!!!**: Do not install GitLab managed applications in the cluster.
# Elastic Stack
```sh
helm repo add gitlab https://charts.gitlab.io
helm repo update
helm install elastic-stack gitlab/elastic-stack -n gitlab-managed-apps --values config/elastic-stack-values.yaml
```
### Staging
......
......