Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
G
geosphere-deploy
Manage
Activity
Members
Plan
Wiki
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Container Registry
Model registry
Analyze
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
cspp_geo
geosphere
geosphere-deploy
Commits
108eda83
Verified
Commit
108eda83
authored
4 years ago
by
David Hoese
Browse files
Options
Downloads
Patches
Plain Diff
Add information about prometheus installation to admin readme
parent
c25ca2fe
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
admin/README.md
+45
-0
45 additions, 0 deletions
admin/README.md
with
45 additions
and
0 deletions
admin/README.md
+
45
−
0
View file @
108eda83
...
...
@@ -219,3 +219,48 @@ ingress:
Note: this annotation applies to the traefik ingress controller and may not
be the same for nginx or other ingress controllers installed on a cluster.
## Monitoring a cluster with Prometheus
One of the best ways to fully monitor your cluster is to install Prometheus.
Prometheus is itself a separate service for collecting metrics from various
sources and presenting them to the user. One of the best ways to get this
functionality on a Kubernetes cluster is by installing
[
Prometheus Operator
](
https://github.com/prometheus-operator/prometheus-operator
)
.
Prometheus Operator will install its own custom resources definitions (CRDs)
to allow other applications to create their own ways of interacting with
Prometheus.
To install this on the Kubekorner K3s cluster we will use the stable
prometheus-operator helm chart maintained by the helm community:
https://github.com/helm/charts/tree/master/stable/prometheus-operator
First we will create a namespace specifically for prometheus:
```
bash
kubectl create namespace monitoring
```
Then we will install the helm chart in that namespace with the release name
"prometheus-operator".
```
bash
helm
install
-n
monitoring prometheus-operator stable/prometheus-operator
```
Note, if your helm installation doesn't already have the stable chart
repository added you may need to do:
```
bash
helm repo add stable https://kubernetes-charts.storage.googleapis.com
helm repo update
```
Also note at the time of writing this installation results in some warnings:
```
manifest_sorter.go:192: info: skipping unknown hook: "crd-install"
```
This is described in a GitHub issue here: https://github.com/helm/charts/issues/17511
\ No newline at end of file
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment