-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Robert Szefler
committed
Jul 5, 2024
1 parent
898075b
commit 98eb998
Showing
1 changed file
with
7 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -19,6 +19,13 @@ jobs: | |
# setup a KIND cluster with Prometheus | ||
- name: Create k8s Kind Cluster | ||
uses: helm/[email protected] | ||
- name: Install Prometheus | ||
run: | | ||
helm repo add prometheus-community https://prometheus-community.github.io/helm-charts | ||
helm repo add stable https://charts.helm.sh/stable | ||
helm repo update | ||
kubectl create namespace prometheus | ||
helm install kind-prometheus prometheus-community/kube-prometheus-stack --namespace prometheus --set prometheus.service.nodePort=30000 --set prometheus.service.type=NodePort --set grafana.service.nodePort=31000 --set grafana.service.type=NodePort --set alertmanager.service.nodePort=32000 --set alertmanager.service.type=NodePort --set prometheus-node-exporter.service.nodePort=32001 --set prometheus-node-exporter.service.type=NodePort | ||
- name: Kind deployment diagnostics | ||
run: | | ||
echo "=== CONTEXTS ===" | ||
|
@@ -27,7 +34,6 @@ jobs: | |
kubectl get namespaces | ||
echo "=== PODS ===" | ||
kubectl get pods --all-namespaces | ||
# TODO install Prometheus | ||
# install Prometrix so that we can run tests on it | ||
- name: Install Prometrix | ||
|