Comments (7)
I was also looking for it and couldn't find it in the repo.
from kubenurse.
@djboris9 can you help us with that, please?
from kubenurse.
Sorry @liyongxian and @eli-halych I'm currently busy and had missed the issues.
Can you please try out this dashboard: https://github.com/djboris9/kubenurse/blob/d6b2d260ce150d69c5e39240dd3d4ea3e0e61232/doc/grafana-kubenurse.json
If it works, I will merge it into this repository and probably add it to helm too.
from kubenurse.
Thanks@[djboris9]
from kubenurse.
@djboris9
It worked! I had to change a few things in the helm chart though. I added ServiceMonitor:
apiVersion: monitoring.coreos.com/v1
kind: ServiceMonitor
metadata:
name: {{ include "name" . | quote }}
namespace: {{ .Values.namespace }}
labels:
release: {{ .Values.release }}
k8s-app: {{ include "name" . | quote }}
{{ include "common-labels" . | indent 4 }}
spec:
jobLabel: k8s-app
endpoints:
- port: {{ .Values.service.name }}
interval: 30s
scheme: http
selector:
matchLabels:
app: {{ include "name" . | quote }}
namespaceSelector:
matchNames:
- {{ .Values.namespace }}
and add release: prometheus
label to ServiceMonitor and DaemonSet resounces. (release: {{ .Values.release }}
in this case and the value itself is placed in values.yaml
)
Source: https://programmer.ink/think/cluster-network-monitoring-using-kubenurse.html
from kubenurse.
Hi @eli-halych
Thanks for the feedback! I just merged the dashboard into the master branch with #40 .
I will open a new issue to incorporate and test the ServiceMonitor
into the helm chart as you've written and close this issue.
Is this ok for you?
/cc @liyongxian
from kubenurse.
PR #42 implements the ServiceMonitor
. Therefore I will close this issue. Feel free to provide feedback or reopen it.
from kubenurse.
Related Issues (20)
- Cache /alive results HOT 1
- exclude neighbourhood pods from Nodes where scheduling is disabled HOT 3
- CI: Create CI test with kind HOT 1
- goreleaser & github actions for releases
- clusterrole permission HOT 5
- failed request for me_ingress with Get "<INGRESS_URL>/alwayshappy": unsupported protocol scheme "" HOT 2
- Question: How to contribute? HOT 5
- CI Test fails on ingress deployment
- "Moved Permanently" response from /alive endpoint. HOT 1
- Request: Create a gh-pages branch HOT 2
- 404 Not Found service endpoints HOT 9
- Failed request for me_ingress HOT 6
- Proposal: Use httptrace to get advanced metrics and error messages HOT 1
- Autocreate helm chart index
- Optimisation for Neighbourhood discovery on scale HOT 14
- Monitor external endpoints HOT 12
- should this be `Before`
- WIP: Proposal: Check cluster health with mutations to the state HOT 2
- Kubenurse shold not try to bind pvc on startup HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from kubenurse.