You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: content/docs/getting-started/installation.md
+13-20
Original file line number
Diff line number
Diff line change
@@ -1,14 +1,14 @@
1
1
---
2
-
title: "Installing Prometheus Operator"
3
-
description: "Installation guide listing all the installation methods of Prometheus Operator."
4
-
date: 2020-11-16T13:59:39+01:00
5
-
draft: false
6
-
images: []
7
-
menu:
8
-
docs:
9
-
parent: "getting-started"
10
2
weight: 102
11
3
toc: true
4
+
title: Installing Prometheus Operator
5
+
menu:
6
+
docs:
7
+
parent: getting-started
8
+
images: []
9
+
draft: false
10
+
description: Installation guide listing all the installation methods of Prometheus Operator.
11
+
date: "2020-11-16T13:59:39+01:00"
12
12
---
13
13
14
14
There are different approaches to install Prometheus Operator in your Kubernetes cluster:
@@ -21,18 +21,13 @@ There are different approaches to install Prometheus Operator in your Kubernetes
21
21
22
22
For all the approaches listed on this page, you require access to a **Kubernetes cluster!** For this, you can check the official docs of Kubernetes available [here](https://kubernetes.io/docs/tasks/tools/).
23
23
24
-
Version `>=0.39.0` of the Prometheus Operator requires a Kubernetes
25
-
cluster of version `>=1.16.0`. If you are just starting out with the
26
-
Prometheus Operator, it is **highly recommended** to use the latest version. If
27
-
you have an older version of Kubernetes and the Prometheus Operator running,
28
-
we recommend upgrading Kubernetes first and then the Prometheus Operator.
24
+
Version `>=0.39.0` of the Prometheus Operator requires a Kubernetes cluster of version `>=1.16.0`. If you are just starting out with the Prometheus Operator, it is **highly recommended** to use the latest version. If you have an older version of Kubernetes and the Prometheus Operator running, we recommend upgrading Kubernetes first and then the Prometheus Operator.
29
25
30
26
> Check the appropriate versions of each of the components in the [Compatibility]({{<ref "compatibility">}}) page.
31
27
32
28
### Install using YAML files
33
29
34
-
The first step is to install the operator's Custom Resource Definitions (CRDs) as well
35
-
as the operator itself with the required RBAC resources.
30
+
The first step is to install the operator's Custom Resource Definitions (CRDs) as well as the operator itself with the required RBAC resources.
36
31
37
32
Run the following commands to install the CRDs and deploy the operator in the `default` namespace:
The easiest way of starting with the Prometheus Operator is by deploying it as part of kube-prometheus.
53
-
kube-prometheus deploys the Prometheus Operator and already schedules a Prometheus called `prometheus-k8s` with alerts and rules by default.
47
+
The easiest way of starting with the Prometheus Operator is by deploying it as part of kube-prometheus. kube-prometheus deploys the Prometheus Operator and already schedules a Prometheus called `prometheus-k8s` with alerts and rules by default.
54
48
55
49
We are going to deploy a compiled version of the Kubernetes [manifests](https://github.com/prometheus-operator/kube-prometheus/tree/main/manifests).
56
50
@@ -76,8 +70,7 @@ until kubectl get servicemonitors --all-namespaces ; do date; sleep 1; echo "";
76
70
kubectl create -f manifests/
77
71
```
78
72
79
-
We create the namespace and CustomResourceDefinitions first to avoid race conditions when deploying the monitoring components.
80
-
Alternatively, the resources in both folders can be applied with a single command:
73
+
We create the namespace and CustomResourceDefinitions first to avoid race conditions when deploying the monitoring components. Alternatively, the resources in both folders can be applied with a single command:
81
74
82
75
```
83
76
kubectl create -f manifests/setup -f manifests
@@ -96,11 +89,11 @@ If you're done experimenting with kube-prometheus and the Prometheus Operator yo
Install the [Kube-Prometheus-Stack](https://github.com/prometheus-community/helm-charts/tree/main/charts/kube-prometheus-stack) helm chart which provides a collection of Kubernetes manifests, [Grafana](https://grafana.com/) dashboards, and [Prometheus rules](https://prometheus.io/docs/prometheus/latest/configuration/recording_rules/) combined with documentation and scripts to provide easy to operate end-to-end Kubernetes cluster monitoring with [Prometheus](https://prometheus.io/) using the Prometheus Operator.
102
96
103
97
To see more details, please check the [chart's README](https://github.com/prometheus-community/helm-charts/tree/main/charts/kube-prometheus-stack#kube-prometheus-stack).
104
98
105
99
> This helm chart is no longer part of Prometheus-Operator and is now maintained by [Prometheus Community Helm Charts](https://github.com/prometheus-community/helm-charts).
description: "The Prometheus Operator provides Kubernetes native deployment and management of Prometheus and related monitoring components"
4
-
lead: ""
5
-
date: 2020-10-06T08:48:57+00:00
6
-
lastmod: 2020-10-06T08:48:57+00:00
7
-
draft: false
8
-
images: []
9
-
menu:
10
-
docs:
11
-
parent: "getting-started"
12
2
weight: 101
13
3
toc: true
4
+
title: Introduction
5
+
menu:
6
+
docs:
7
+
parent: getting-started
8
+
lead: ""
9
+
lastmod: "2020-10-06T08:48:57+00:00"
10
+
images: []
11
+
draft: false
12
+
description: The Prometheus Operator provides Kubernetes native deployment and management of Prometheus and related monitoring components
13
+
date: "2020-10-06T08:48:57+00:00"
14
14
---
15
15
16
-
Prometheus Operator is a [Kubernetes Operator](https://github.com/cncf/tag-app-delivery/blob/main/operator-wg/whitepaper/Operator-WhitePaper_v1-0.md#foundation) that provides Kubernetes native deployment and management of [Prometheus](https://prometheus.io/) and related monitoring components.
16
+
Prometheus Operator is a [Kubernetes Operator](https://github.com/cncf/tag-app-delivery/blob/main/operator-wg/whitepaper/Operator-WhitePaper_v1-0.md#foundation) that provides Kubernetes native deployment and management of [Prometheus](https://prometheus.io/) and related monitoring components.
17
17
18
18
The Prometheus operator includes, but is not limited to, the following features:
19
19
@@ -23,7 +23,7 @@ The Prometheus operator includes, but is not limited to, the following features:
23
23
24
24
-**Prometheus Target Configuration**: Automatically generate monitoring target configurations based on familiar Kubernetes label queries; no need to learn a Prometheus specific configuration language.
25
25
26
-
Prometheus Operator provides a set of Custom Resource Definitions(CRDs) that allows you to configure your Prometheus and related instances. Currently, the CRDs provided by Prometheus Operator are:
26
+
Prometheus Operator provides a set of Custom Resource Definitions(CRDs) that allows you to configure your Prometheus and related instances. Currently, the CRDs provided by Prometheus Operator are:
27
27
28
28
- Prometheus
29
29
- Alertmanager
@@ -55,36 +55,26 @@ By now, you have the basic idea about Prometheus Operator!!
55
55
Take a look at these guides to get into action with Prometheus Operator.
description="Get started with Prometheus-Operator."
62
-
>}}
58
+
59
+
{{<
60
+
link-card title="Getting-Started" href="https://prometheus-operator.dev/docs/getting-started/introduction/" description="Get started with Prometheus-Operator.">}}
description="Reference for different fields of Custom Resources in Prometheus-Operator."
69
-
>}}
63
+
64
+
{{<
65
+
link-card title="API Reference" href="https://prometheus-operator.dev/docs/api-reference/api/" description="Reference for different fields of Custom Resources in Prometheus-Operator.">}}
description="Learn how to configure scraping, alerting, and recording rules for your applications."
83
-
>}}
73
+
74
+
{{<
75
+
link-card title="Developer Guide" href="https://prometheus-operator.dev/docs/developer/getting-started/" description="Learn how to configure scraping, alerting, and recording rules for your applications.">}}
description="Join and interact with Prometheus-Operator community."
90
-
>}}
78
+
79
+
{{<
80
+
link-card title="Community" href="https://prometheus-operator.dev/docs/community/contributing/" description="Join and interact with Prometheus-Operator community.">}}
0 commit comments