|
| 1 | +#! parse-kind: ClusterServiceVersion |
| 2 | +apiVersion: operators.coreos.com/v1alpha1 |
| 3 | +kind: ClusterServiceVersion |
| 4 | +metadata: |
| 5 | + name: prometheusoperator.0.14.0-beta |
| 6 | + namespace: placeholder |
| 7 | +spec: |
| 8 | + displayName: Prometheus |
| 9 | + description: | |
| 10 | + An open-source monitoring system with a dimensional data model, flexible query language, efficient time series database and modern alerting approach. |
| 11 | +
|
| 12 | + _The Prometheus Open Cloud Service is Public Alpha. The goal before Beta is for additional user testing and minor bug fixes._ |
| 13 | +
|
| 14 | + ### Monitoring applications |
| 15 | +
|
| 16 | + Prometheus scrapes your application metrics based on targets maintained in a ServiceMonitor object. When alerts need to be sent, they are processsed by an AlertManager. |
| 17 | +
|
| 18 | + [Read the complete guide to monitoring applications with the Prometheus Open Cloud Service](https://coreos.com/tectonic/docs/latest/alm/prometheus-ocs.html) |
| 19 | +
|
| 20 | + ## Supported Features |
| 21 | +
|
| 22 | + **High availability** |
| 23 | + Multiple instances are run across failure zones and data is replicated. This keeps your monitoring available during an outage, when you need it most. |
| 24 | + **Updates via automated operations** |
| 25 | + New Prometheus versions are deployed using a rolling update with no downtime, making it easy to stay up to date. |
| 26 | + **Handles the dynamic nature of containers** |
| 27 | + Alerting rules are attached to groups of containers instead of individual instances, which is ideal for the highly dynamic nature of container deployment. |
| 28 | +
|
| 29 | + keywords: ['prometheus', 'monitoring', 'tsdb', 'alerting'] |
| 30 | + |
| 31 | + maintainers: |
| 32 | + - name: CoreOS, Inc |
| 33 | + email: support@coreos.com |
| 34 | + |
| 35 | + provider: |
| 36 | + name: CoreOS, Inc |
| 37 | + |
| 38 | + links: |
| 39 | + - name: Prometheus |
| 40 | + url: https://www.prometheus.io/ |
| 41 | + - name: Documentation |
| 42 | + url: https://coreos.com/operators/prometheus/docs/latest/ |
| 43 | + - name: Prometheus Operator Source Code |
| 44 | + url: https://github.com/coreos/prometheus-operator |
| 45 | + |
| 46 | + labels: |
| 47 | + alm-status-descriptors: prometheusoperator.0.14.0 |
| 48 | + alm-owner-prometheus: prometheusoperator |
| 49 | + |
| 50 | + selector: |
| 51 | + matchLabels: |
| 52 | + alm-owner-prometheus: prometheusoperator |
| 53 | + |
| 54 | + icon: |
| 55 | + - base64data: PHN2ZyB3aWR0aD0iMjQ5MCIgaGVpZ2h0PSIyNTAwIiB2aWV3Qm94PSIwIDAgMjU2IDI1NyIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiBwcmVzZXJ2ZUFzcGVjdFJhdGlvPSJ4TWlkWU1pZCI+PHBhdGggZD0iTTEyOC4wMDEuNjY3QzU3LjMxMS42NjcgMCA1Ny45NzEgMCAxMjguNjY0YzAgNzAuNjkgNTcuMzExIDEyNy45OTggMTI4LjAwMSAxMjcuOTk4UzI1NiAxOTkuMzU0IDI1NiAxMjguNjY0QzI1NiA1Ny45NyAxOTguNjg5LjY2NyAxMjguMDAxLjY2N3ptMCAyMzkuNTZjLTIwLjExMiAwLTM2LjQxOS0xMy40MzUtMzYuNDE5LTMwLjAwNGg3Mi44MzhjMCAxNi41NjYtMTYuMzA2IDMwLjAwNC0zNi40MTkgMzAuMDA0em02MC4xNTMtMzkuOTRINjcuODQyVjE3OC40N2gxMjAuMzE0djIxLjgxNmgtLjAwMnptLS40MzItMzMuMDQ1SDY4LjE4NWMtLjM5OC0uNDU4LS44MDQtLjkxLTEuMTg4LTEuMzc1LTEyLjMxNS0xNC45NTQtMTUuMjE2LTIyLjc2LTE4LjAzMi0zMC43MTYtLjA0OC0uMjYyIDE0LjkzMyAzLjA2IDI1LjU1NiA1LjQ1IDAgMCA1LjQ2NiAxLjI2NSAxMy40NTggMi43MjItNy42NzMtOC45OTQtMTIuMjMtMjAuNDI4LTEyLjIzLTMyLjExNiAwLTI1LjY1OCAxOS42OC00OC4wNzkgMTIuNTgtNjYuMjAxIDYuOTEuNTYyIDE0LjMgMTQuNTgzIDE0LjggMzYuNTA1IDcuMzQ2LTEwLjE1MiAxMC40Mi0yOC42OSAxMC40Mi00MC4wNTYgMC0xMS43NjkgNy43NTUtMjUuNDQgMTUuNTEyLTI1LjkwNy02LjkxNSAxMS4zOTYgMS43OSAyMS4xNjUgOS41MyA0NS40IDIuOTAyIDkuMTAzIDIuNTMyIDI0LjQyMyA0Ljc3MiAzNC4xMzguNzQ0LTIwLjE3OCA0LjIxMy00OS42MiAxNy4wMTQtNTkuNzg0LTUuNjQ3IDEyLjguODM2IDI4LjgxOCA1LjI3IDM2LjUxOCA3LjE1NCAxMi40MjQgMTEuNDkgMjEuODM2IDExLjQ5IDM5LjYzOCAwIDExLjkzNi00LjQwNyAyMy4xNzMtMTEuODQgMzEuOTU4IDguNDUyLTEuNTg2IDE0LjI4OS0zLjAxNiAxNC4yODktMy4wMTZsMjcuNDUtNS4zNTVjLjAwMi0uMDAyLTMuOTg3IDE2LjQwMS0xOS4zMTQgMzIuMTk3eiIgZmlsbD0iI0RBNEUzMSIvPjwvc3ZnPg== |
| 56 | + mediatype: image/svg+xml |
| 57 | + |
| 58 | + install: |
| 59 | + strategy: deployment |
| 60 | + spec: |
| 61 | + permissions: |
| 62 | + - serviceAccountName: prometheus-k8s |
| 63 | + rules: |
| 64 | + - apiGroups: [""] |
| 65 | + resources: |
| 66 | + - nodes |
| 67 | + - services |
| 68 | + - endpoints |
| 69 | + - pods |
| 70 | + verbs: ["get", "list", "watch"] |
| 71 | + - apiGroups: [""] |
| 72 | + resources: |
| 73 | + - configmaps |
| 74 | + verbs: ["get"] |
| 75 | + - serviceAccountName: prometheus-operator-0-14-0 |
| 76 | + rules: |
| 77 | + - apiGroups: |
| 78 | + - apiextensions.k8s.io |
| 79 | + resources: |
| 80 | + - customresourcedefinitions |
| 81 | + verbs: ["get", "list"] |
| 82 | + - apiGroups: |
| 83 | + - monitoring.coreos.com |
| 84 | + resources: |
| 85 | + - alertmanagers |
| 86 | + - prometheuses |
| 87 | + - servicemonitors |
| 88 | + verbs: |
| 89 | + - "*" |
| 90 | + - apiGroups: |
| 91 | + - apps |
| 92 | + resources: |
| 93 | + - statefulsets |
| 94 | + verbs: ["*"] |
| 95 | + - apiGroups: [""] |
| 96 | + resources: |
| 97 | + - configmaps |
| 98 | + - secrets |
| 99 | + verbs: ["*"] |
| 100 | + - apiGroups: [""] |
| 101 | + resources: |
| 102 | + - pods |
| 103 | + verbs: ["list", "delete"] |
| 104 | + - apiGroups: [""] |
| 105 | + resources: |
| 106 | + - services |
| 107 | + - endpoints |
| 108 | + verbs: ["get", "create", "update"] |
| 109 | + - apiGroups: [""] |
| 110 | + resources: |
| 111 | + - nodes |
| 112 | + verbs: ["list", "watch"] |
| 113 | + - apiGroups: [""] |
| 114 | + resources: |
| 115 | + - namespaces |
| 116 | + verbs: ['list'] |
| 117 | + deployments: |
| 118 | + - name: prometheus-operator |
| 119 | + spec: |
| 120 | + replicas: 1 |
| 121 | + selector: |
| 122 | + matchLabels: |
| 123 | + k8s-app: prometheus-operator |
| 124 | + template: |
| 125 | + metadata: |
| 126 | + labels: |
| 127 | + k8s-app: prometheus-operator |
| 128 | + spec: |
| 129 | + serviceAccount: prometheus-operator-0-14-0 |
| 130 | + containers: |
| 131 | + - name: prometheus-operator |
| 132 | + image: quay.io/coreos/prometheus-operator@sha256:5037b4e90dbb03ebdefaa547ddf6a1f748c8eeebeedf6b9d9f0913ad662b5731 |
| 133 | + command: |
| 134 | + - sh |
| 135 | + - -c |
| 136 | + - > |
| 137 | + /bin/operator --namespace=$K8S_NAMESPACE --crd-apigroup monitoring.coreos.com |
| 138 | + --labels alm-status-descriptors=prometheusoperator.0.14.0,alm-owner-prometheus=prometheusoperator |
| 139 | + --kubelet-service=kube-system/kubelet |
| 140 | + --config-reloader-image=quay.io/coreos/configmap-reload:v0.0.1 |
| 141 | + env: |
| 142 | + - name: K8S_NAMESPACE |
| 143 | + valueFrom: |
| 144 | + fieldRef: |
| 145 | + fieldPath: metadata.namespace |
| 146 | + ports: |
| 147 | + - containerPort: 8080 |
| 148 | + name: http |
| 149 | + resources: |
| 150 | + limits: |
| 151 | + cpu: 200m |
| 152 | + memory: 100Mi |
| 153 | + requests: |
| 154 | + cpu: 100m |
| 155 | + memory: 50Mi |
| 156 | + maturity: alpha |
| 157 | + version: 0.14.0 |
| 158 | + customresourcedefinitions: |
| 159 | + owned: |
| 160 | + - name: prometheuses.monitoring.coreos.com |
| 161 | + version: v1 |
| 162 | + kind: Prometheus |
| 163 | + displayName: Prometheus |
| 164 | + description: A running Prometheus instance |
| 165 | + resources: |
| 166 | + - kind: Pod |
| 167 | + version: v1 |
| 168 | + specDescriptors: |
| 169 | + - description: Desired number of Pods for the cluster |
| 170 | + displayName: Size |
| 171 | + path: replicas |
| 172 | + x-descriptors: |
| 173 | + - 'urn:alm:descriptor:com.tectonic.ui:podCount' |
| 174 | + - description: A selector for the ConfigMaps from which to load rule files |
| 175 | + displayName: Rule Config Map Selector |
| 176 | + path: ruleSelector |
| 177 | + x-descriptors: |
| 178 | + - 'urn:alm:descriptor:com.tectonic.ui:selector:core:v1:ConfigMap' |
| 179 | + - description: ServiceMonitors to be selected for target discovery |
| 180 | + displayName: Service Monitor Selector |
| 181 | + path: serviceMonitorSelector |
| 182 | + x-descriptors: |
| 183 | + - 'urn:alm:descriptor:com.tectonic.ui:selector:monitoring.coreos.com:v1:ServiceMonitor' |
| 184 | + - description: The ServiceAccount to use to run the Prometheus pods |
| 185 | + displayName: Service Account |
| 186 | + path: serviceAccountName |
| 187 | + x-descriptors: |
| 188 | + - 'urn:alm:descriptor:io.kubernetes:ServiceAccount' |
| 189 | + - description: Define resources requests and limits for single Pods |
| 190 | + displayName: Resource Request |
| 191 | + path: resources.requests |
| 192 | + x-descriptors: |
| 193 | + - 'urn:alm:descriptor:com.tectonic.ui:resourceRequirements' |
| 194 | + statusDescriptors: |
| 195 | + - description: The current number of Pods for the cluster |
| 196 | + displayName: Cluster Size |
| 197 | + path: replicas |
| 198 | + - path: prometheusSelector |
| 199 | + displayName: Prometheus Service Selector |
| 200 | + description: Label selector to find the service that routes to this prometheus |
| 201 | + x-descriptors: |
| 202 | + - 'urn:alm:descriptor:label:selector' |
| 203 | + - name: servicemonitors.monitoring.coreos.com |
| 204 | + version: v1 |
| 205 | + kind: ServiceMonitor |
| 206 | + displayName: Service Monitor |
| 207 | + description: Configures prometheus to monitor a particular k8s service |
| 208 | + resources: |
| 209 | + - kind: Pod |
| 210 | + version: v1 |
| 211 | + specDescriptors: |
| 212 | + - description: Selector to select which namespaces the Endpoints objects are discovered from |
| 213 | + displayName: Monitoring Namespaces |
| 214 | + path: namespaceSelector |
| 215 | + x-descriptors: |
| 216 | + - 'urn:alm:descriptor:com.tectonic.ui:namespaceSelector' |
| 217 | + - description: The label to use to retrieve the job name from |
| 218 | + displayName: Job Label |
| 219 | + path: jobLabel |
| 220 | + x-descriptors: |
| 221 | + - 'urn:alm:descriptor:com.tectonic.ui:label' |
| 222 | + - description: A list of endpoints allowed as part of this ServiceMonitor |
| 223 | + displayName: Endpoints |
| 224 | + path: endpoints |
| 225 | + x-descriptors: |
| 226 | + - 'urn:alm:descriptor:com.tectonic.ui:endpointList' |
| 227 | + - name: alertmanagers.monitoring.coreos.com |
| 228 | + version: v1 |
| 229 | + kind: Alertmanager |
| 230 | + displayName: Alert Manager |
| 231 | + description: Configures an Alert Manager for the namespace |
| 232 | + resources: |
| 233 | + - kind: Pod |
| 234 | + version: v1 |
| 235 | + specDescriptors: |
| 236 | + - description: Desired number of Pods for the cluster |
| 237 | + displayName: Size |
| 238 | + path: replicas |
| 239 | + x-descriptors: |
| 240 | + - 'urn:alm:descriptor:com.tectonic.ui:podCount' |
0 commit comments