From aa8b6d2a4330cc1420aedabb07b119c3ca649952 Mon Sep 17 00:00:00 2001 From: 59nezytic Date: Wed, 25 Aug 2021 14:28:08 +0900 Subject: [PATCH 01/17] 21/08/25 --- kube-state-metrics-configs/deployment.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kube-state-metrics-configs/deployment.yaml b/kube-state-metrics-configs/deployment.yaml index ae59be2..968ee7d 100644 --- a/kube-state-metrics-configs/deployment.yaml +++ b/kube-state-metrics-configs/deployment.yaml @@ -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 From fddd13de8574452a8ebba41f9737fd5bac199336 Mon Sep 17 00:00:00 2001 From: 59nezytic Date: Wed, 25 Aug 2021 14:29:49 +0900 Subject: [PATCH 02/17] '21/08/25' --- kube-state-metrics-configs/deployment.yaml | 2 -- 1 file changed, 2 deletions(-) diff --git a/kube-state-metrics-configs/deployment.yaml b/kube-state-metrics-configs/deployment.yaml index 968ee7d..ef4ecb2 100644 --- a/kube-state-metrics-configs/deployment.yaml +++ b/kube-state-metrics-configs/deployment.yaml @@ -37,6 +37,4 @@ spec: port: 8081 initialDelaySeconds: 5 timeoutSeconds: 5 - nodeSelector: - kubernetes.io/os: linux serviceAccountName: kube-state-metrics From 61801a702c7dc627eb9d665ed7c6c817208d9ab7 Mon Sep 17 00:00:00 2001 From: KimSeungHyun Date: Wed, 25 Aug 2021 14:30:47 +0900 Subject: [PATCH 03/17] Update README.md --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index aae7138..cdc2aca 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,4 @@ +- RaspberryPI on K3S worker node + # Prometheus Installtion(with Grafana) ``` kubectl create ns monitoring From ef7e8411ffc71ed8d96dcbb222f1905e2abe7f8b Mon Sep 17 00:00:00 2001 From: KimSeungHyun Date: Wed, 25 Aug 2021 14:31:00 +0900 Subject: [PATCH 04/17] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index cdc2aca..455fffd 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -- RaspberryPI on K3S worker node +RaspberryPI on K3S worker node + # Prometheus Installtion(with Grafana) ``` kubectl create ns monitoring From 7df30b694df8ded835750820b0c1bdc89cb2da84 Mon Sep 17 00:00:00 2001 From: KimSeungHyun Date: Wed, 25 Aug 2021 14:31:07 +0900 Subject: [PATCH 05/17] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 455fffd..23dc169 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -RaspberryPI on K3S worker node ++ RaspberryPI on K3S worker node + # Prometheus Installtion(with Grafana) ``` kubectl create ns monitoring From b5a795d5a2c2d294e84c7ac3352c864c92e29756 Mon Sep 17 00:00:00 2001 From: KimSeungHyun Date: Wed, 25 Aug 2021 14:31:19 +0900 Subject: [PATCH 06/17] Update README.md --- README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 23dc169..9b646e0 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,5 @@ -+ RaspberryPI on K3S worker node +- RaspberryPI on K3S worker node + + # Prometheus Installtion(with Grafana) ``` kubectl create ns monitoring From 57eac7fa15a98409cc4d670a35661373d9658116 Mon Sep 17 00:00:00 2001 From: KimSeungHyun Date: Wed, 25 Aug 2021 14:31:27 +0900 Subject: [PATCH 07/17] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 9b646e0..9694174 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -- RaspberryPI on K3S worker node +### RaspberryPI on K3S worker node + # Prometheus Installtion(with Grafana) ``` From 35393b8be602d3210ba9a4241b9d88d220e8e3f7 Mon Sep 17 00:00:00 2001 From: KimSeungHyun Date: Wed, 25 Aug 2021 14:31:33 +0900 Subject: [PATCH 08/17] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 9694174..f6e5b2a 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -### RaspberryPI on K3S worker node +# RaspberryPI on K3S worker node + # Prometheus Installtion(with Grafana) ``` From ab7f64c3abfb60211b0c1eef7dfc2fbbd6e92e94 Mon Sep 17 00:00:00 2001 From: KimSeungHyun Date: Wed, 25 Aug 2021 14:31:40 +0900 Subject: [PATCH 09/17] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index f6e5b2a..d183e20 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # RaspberryPI on K3S worker node -+ # Prometheus Installtion(with Grafana) ++ ## Prometheus Installtion(with Grafana) ``` kubectl create ns monitoring ``` From 9bf2e32af837e08c6272161bb3a7719060e1c3b5 Mon Sep 17 00:00:00 2001 From: KimSeungHyun Date: Wed, 25 Aug 2021 14:41:38 +0900 Subject: [PATCH 10/17] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index d183e20..79986a4 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# RaspberryPI on K3S worker node +# * RaspberryPI on K3S worker node + ## Prometheus Installtion(with Grafana) ``` From 896b02756f98d6104b59b47c216e966e40862717 Mon Sep 17 00:00:00 2001 From: KimSeungHyun Date: Wed, 25 Aug 2021 14:41:44 +0900 Subject: [PATCH 11/17] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 79986a4..af0d0ca 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# * RaspberryPI on K3S worker node +# - RaspberryPI on K3S worker node + ## Prometheus Installtion(with Grafana) ``` From 24528b7a02844e9f664845201eaab2a90b464744 Mon Sep 17 00:00:00 2001 From: KimSeungHyun Date: Wed, 25 Aug 2021 14:42:56 +0900 Subject: [PATCH 12/17] Update README.md --- README.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/README.md b/README.md index af0d0ca..8703585 100644 --- a/README.md +++ b/README.md @@ -3,6 +3,12 @@ + ## Prometheus Installtion(with Grafana) ``` kubectl create ns monitoring + +kubectl create -f promethues/kubernetes-prometheus/ +kubectl create -f promethues/kubernetes-node-exporter/ +kubectl create -f promethues/kube-state-metrics-configs/ +kubectl create -f promethues/kubernetes-grafana/ + ``` ### Prometheus_PORT: 30000, Grafana_PORT: 30001 From 0e1bb02e9596daf0403879ebbe973ff2f695ce00 Mon Sep 17 00:00:00 2001 From: 59nezytic Date: Wed, 25 Aug 2021 14:57:58 +0900 Subject: [PATCH 13/17] '21/08/25' --- {kubernetes-grafana => grafana}/deployment.yaml | 0 {kubernetes-grafana => grafana}/grafana-datasource-config.yaml | 0 {kubernetes-grafana => grafana}/service.yaml | 0 {kubernetes-node-exporter => node-exporter}/daemonset.yaml | 0 {kubernetes-node-exporter => node-exporter}/service.yaml | 0 {kubernetes-prometheus => prometheus}/clusterRole.yaml | 0 {kubernetes-prometheus => prometheus}/config-map.yaml | 0 {kubernetes-prometheus => prometheus}/prometheus-deployment.yaml | 0 {kubernetes-prometheus => prometheus}/prometheus-service.yaml | 0 9 files changed, 0 insertions(+), 0 deletions(-) rename {kubernetes-grafana => grafana}/deployment.yaml (100%) rename {kubernetes-grafana => grafana}/grafana-datasource-config.yaml (100%) rename {kubernetes-grafana => grafana}/service.yaml (100%) rename {kubernetes-node-exporter => node-exporter}/daemonset.yaml (100%) rename {kubernetes-node-exporter => node-exporter}/service.yaml (100%) rename {kubernetes-prometheus => prometheus}/clusterRole.yaml (100%) rename {kubernetes-prometheus => prometheus}/config-map.yaml (100%) rename {kubernetes-prometheus => prometheus}/prometheus-deployment.yaml (100%) rename {kubernetes-prometheus => prometheus}/prometheus-service.yaml (100%) diff --git a/kubernetes-grafana/deployment.yaml b/grafana/deployment.yaml similarity index 100% rename from kubernetes-grafana/deployment.yaml rename to grafana/deployment.yaml diff --git a/kubernetes-grafana/grafana-datasource-config.yaml b/grafana/grafana-datasource-config.yaml similarity index 100% rename from kubernetes-grafana/grafana-datasource-config.yaml rename to grafana/grafana-datasource-config.yaml diff --git a/kubernetes-grafana/service.yaml b/grafana/service.yaml similarity index 100% rename from kubernetes-grafana/service.yaml rename to grafana/service.yaml diff --git a/kubernetes-node-exporter/daemonset.yaml b/node-exporter/daemonset.yaml similarity index 100% rename from kubernetes-node-exporter/daemonset.yaml rename to node-exporter/daemonset.yaml diff --git a/kubernetes-node-exporter/service.yaml b/node-exporter/service.yaml similarity index 100% rename from kubernetes-node-exporter/service.yaml rename to node-exporter/service.yaml diff --git a/kubernetes-prometheus/clusterRole.yaml b/prometheus/clusterRole.yaml similarity index 100% rename from kubernetes-prometheus/clusterRole.yaml rename to prometheus/clusterRole.yaml diff --git a/kubernetes-prometheus/config-map.yaml b/prometheus/config-map.yaml similarity index 100% rename from kubernetes-prometheus/config-map.yaml rename to prometheus/config-map.yaml diff --git a/kubernetes-prometheus/prometheus-deployment.yaml b/prometheus/prometheus-deployment.yaml similarity index 100% rename from kubernetes-prometheus/prometheus-deployment.yaml rename to prometheus/prometheus-deployment.yaml diff --git a/kubernetes-prometheus/prometheus-service.yaml b/prometheus/prometheus-service.yaml similarity index 100% rename from kubernetes-prometheus/prometheus-service.yaml rename to prometheus/prometheus-service.yaml From fab86513eef3f6044e6cc1ab5a5417934165f80d Mon Sep 17 00:00:00 2001 From: KimSeungHyun Date: Wed, 25 Aug 2021 15:05:56 +0900 Subject: [PATCH 14/17] Update README.md --- README.md | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 8703585..7a0d00d 100644 --- a/README.md +++ b/README.md @@ -2,12 +2,10 @@ + ## Prometheus Installtion(with Grafana) ``` -kubectl create ns monitoring - -kubectl create -f promethues/kubernetes-prometheus/ -kubectl create -f promethues/kubernetes-node-exporter/ +kubectl create -f promethues/prometheus/ +kubectl create -f promethues/node-exporter/ kubectl create -f promethues/kube-state-metrics-configs/ -kubectl create -f promethues/kubernetes-grafana/ +kubectl create -f promethues/grafana/ ``` From f26c7718d8c0d0bd2513cace28c0bd363a23f4ff Mon Sep 17 00:00:00 2001 From: 59nezytic Date: Fri, 27 Aug 2021 13:09:28 +0900 Subject: [PATCH 15/17] '21/08/27' --- prometheus/namespace.yaml | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 prometheus/namespace.yaml diff --git a/prometheus/namespace.yaml b/prometheus/namespace.yaml new file mode 100644 index 0000000..d325236 --- /dev/null +++ b/prometheus/namespace.yaml @@ -0,0 +1,4 @@ +apiVersion: v1 +kind: Namespace +metadata: + name: monitoring From b9097878b950c852dc574f2c6d440692c8354b7d Mon Sep 17 00:00:00 2001 From: KimSeungHyun Date: Fri, 27 Aug 2021 13:09:58 +0900 Subject: [PATCH 16/17] Update README.md --- README.md | 1 - 1 file changed, 1 deletion(-) diff --git a/README.md b/README.md index 7a0d00d..5ee5ae7 100644 --- a/README.md +++ b/README.md @@ -6,7 +6,6 @@ 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 From bb7406c648c5405d6b743dec552b3fae5441d56f Mon Sep 17 00:00:00 2001 From: 59nezytic Date: Fri, 27 Aug 2021 13:13:53 +0900 Subject: [PATCH 17/17] '21/08/27' --- prometheus/{namespace.yaml => 1.namespace.yaml} | 0 prometheus/{clusterRole.yaml => 2.clusterRole.yaml} | 0 prometheus/{config-map.yaml => 3.config-map.yaml} | 0 .../{prometheus-deployment.yaml => 4.prometheus-deployment.yaml} | 0 prometheus/{prometheus-service.yaml => 5.prometheus-service.yaml} | 0 5 files changed, 0 insertions(+), 0 deletions(-) rename prometheus/{namespace.yaml => 1.namespace.yaml} (100%) rename prometheus/{clusterRole.yaml => 2.clusterRole.yaml} (100%) rename prometheus/{config-map.yaml => 3.config-map.yaml} (100%) rename prometheus/{prometheus-deployment.yaml => 4.prometheus-deployment.yaml} (100%) rename prometheus/{prometheus-service.yaml => 5.prometheus-service.yaml} (100%) diff --git a/prometheus/namespace.yaml b/prometheus/1.namespace.yaml similarity index 100% rename from prometheus/namespace.yaml rename to prometheus/1.namespace.yaml diff --git a/prometheus/clusterRole.yaml b/prometheus/2.clusterRole.yaml similarity index 100% rename from prometheus/clusterRole.yaml rename to prometheus/2.clusterRole.yaml diff --git a/prometheus/config-map.yaml b/prometheus/3.config-map.yaml similarity index 100% rename from prometheus/config-map.yaml rename to prometheus/3.config-map.yaml diff --git a/prometheus/prometheus-deployment.yaml b/prometheus/4.prometheus-deployment.yaml similarity index 100% rename from prometheus/prometheus-deployment.yaml rename to prometheus/4.prometheus-deployment.yaml diff --git a/prometheus/prometheus-service.yaml b/prometheus/5.prometheus-service.yaml similarity index 100% rename from prometheus/prometheus-service.yaml rename to prometheus/5.prometheus-service.yaml