Skip to content
GitLab
Menu
Why GitLab
Pricing
Contact Sales
Explore
Why GitLab
Pricing
Contact Sales
Explore
Sign in
Get free trial
Changes
Page history
Install prometheus and elastic-stack in dev cluster
authored
Jul 14, 2021
by
Remco Haszing
Show whitespace changes
Inline
Side-by-side
setup/development.md
View page @
fdb2877a
# 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
...
...
...
...