Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

21/08/25 #1

Open
wants to merge 17 commits into
base: main
Choose a base branch
from
9 changes: 7 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
+ # Prometheus Installtion(with Grafana)
# - RaspberryPI on K3S worker node

+ ## Prometheus Installtion(with Grafana)
```
kubectl create ns monitoring
kubectl create -f promethues/prometheus/
kubectl create -f promethues/node-exporter/
kubectl create -f promethues/kube-state-metrics-configs/
kubectl create -f promethues/grafana/
```

### Prometheus_PORT: 30000, Grafana_PORT: 30001
File renamed without changes.
File renamed without changes.
4 changes: 1 addition & 3 deletions kube-state-metrics-configs/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ spec:
app.kubernetes.io/version: v1.8.0
spec:
containers:
- image: quay.io/coreos/kube-state-metrics:v1.8.0
- image: carlosedp/kube-state-metrics:v1.9.6
livenessProbe:
httpGet:
path: /healthz
Expand All @@ -37,6 +37,4 @@ spec:
port: 8081
initialDelaySeconds: 5
timeoutSeconds: 5
nodeSelector:
kubernetes.io/os: linux
serviceAccountName: kube-state-metrics
File renamed without changes.
File renamed without changes.
4 changes: 4 additions & 0 deletions prometheus/1.namespace.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
apiVersion: v1
kind: Namespace
metadata:
name: monitoring
File renamed without changes.
File renamed without changes.