Community Operators
在這個 repo 內的都是社群提供的,各式各樣的 Operator 可以從 Github找到。
Redhat-marketplace
由 Refhat 與 IBM 共同合作組織給 Enterprise 用的 Repo,相關資料可以查詢 marketplace。
Redhat-operators
這些 Operator 由 Red Hat 發行
我們可以透過指令去看環境上有沒有這幾項 catalogsources 。
1
2
3
4
5
NAME DISPLAY TYPE PUBLISHER AGE
certified-operators Certified Operators grpc Red Hat 32d
community-operators Community Operators grpc Red Hat 32d
redhat-marketplace Red Hat Marketplace grpc Red Hat 32d
redhat-operators Red Hat Operators grpc Red Hat 32d
oc get packagemanifests -l catalog=community-operators
NAME CATALOG AGE
kiali Community Operators 32d
strimzi-kafka-operator Community Operators 32d
planetscale Community Operators 32d
nsm-operator-registry Community Operators 32d
apicurito Community Operators 32d
hazelcast-jet-operator Community Operators 32d
...
Red Hat Marketplace
1
2
3
4
5
6
7
8
oc get packagemanifests -l catalog=redhat-marketplace
NAME CATALOG AGE
nxrm-operator-certified-rhmp Red Hat Marketplace 32d
enterprise-operator-rhmp Red Hat Marketplace 32d
storageos-rhmp Red Hat Marketplace 32d
cortex-fabric-operator-rhmp Red Hat Marketplace 32d
portshift-operator-rhmp Red Hat Marketplace 32d
here-service-operator-certified-rhmp Red Hat Marketplace 32d
Red Hat Operators
1
2
3
4
5
6
7
8
9
oc get packagemanifests -l catalog=redhat-operators
NAME CATALOG AGE
rhsso-operator Red Hat Operators 32d
amq-broker-rhel8 Red Hat Operators 32d
advanced-cluster-management Red Hat Operators 32d
jaeger-product Red Hat Operators 32d
fuse-online Red Hat Operators 32d
eap Red Hat Operators 32d
kubevirt-hyperconverged Red Hat Operators 32d
oc get packagemanifests prometheus-exporter-operator -o yamlapiVersion:packages.operators.coreos.com/v1kind:PackageManifestmetadata:creationTimestamp:"2020-06-20T07:23:23Z"labels:catalog:community-operatorscatalog-namespace:openshift-marketplaceolm-visibility:hiddenopenshift-marketplace:"true"operatorframework.io/arch.amd64:supportedoperatorframework.io/os.linux:supportedopsrc-datastore:"true"opsrc-owner-name:community-operatorsopsrc-owner-namespace:openshift-marketplaceopsrc-provider:communityprovider:Red Hatprovider-url:""name:prometheus-exporter-operatornamespace:defaultselfLink:/apis/packages.operators.coreos.com/v1/namespaces/default/packagemanifests/prometheus-exporter-operatorspec:{}status:catalogSource:community-operatorscatalogSourceDisplayName:Community OperatorscatalogSourceNamespace:openshift-marketplacecatalogSourcePublisher:Red Hatchannels:- currentCSV:prometheus-exporter-operator.v0.2.0currentCSVDesc:annotations:alm-examples:|- [
{
"apiVersion": "monitoring.3scale.net/v1alpha1",
"kind": "PrometheusExporter",
"metadata": {
"name": "example-memcached"
},
"spec": {
"dbHost": "your-memcached-host",
"dbPort": 11211,
"grafanaDashboard": {
"label": {
"key": "autodiscovery",
"value": "enabled"
}
},
"type": "memcached"
}
}
]capabilities:Deep Insightscategories:Monitoringcertified:"false"containerImage:quay.io/3scale/prometheus-exporter-operator:v0.2.0createdAt:"2020-06-08 00:00:00"description:Operator to setup 3rd party prometheus exporters, with a collectionof grafana dashboardsrepository:https://github.com/3scale/prometheus-exporter-operatorsupport:Red Hat, Inc.apiservicedefinitions:{}customresourcedefinitions:owned:- description:Configures a prometheus exporter to monitor a memcached instancedisplayName:PrometheusExporterkind:PrometheusExportername:prometheusexporters.monitoring.3scale.netversion:v1alpha1description:| A Kubernetes Operator based on the Operator SDK to centralize the setup of 3rd party prometheus exporters on **Kubernetes/OpenShift**, with a collection of grafana dashboards.
You can setup different prometheus exporters to monitor the internals from different databases, or even any available cloudwatch metric from any AWS Service, by just providing a few parameters like **dbHost** or **dbPort** (operator manages the container image, port, argument, command, volumes... and also prometheus **ServiceMonitor** and **GrafanaDashboard** k8s objects).
Current prometheus exporters types supported, managed by same prometheus-exporter-operator:
* memcached
* redis
* mysql
* postgresql
* sphinx
* es (elasticsearch)
* cloudwatch
The operator manages the lifecycle of the following objects:
* Deployment (one per CR)
* Service (one per CR)
* ServiceMonitor (optional, one per CR)
* GrafanaDashboard (optional, one per Namespace)
### Documentation
Documentation can be found on our [website](https://github.com/3scale/prometheus-exporter-operator#documentation).
### Getting help
If you encounter any issues while using operator, you can create an issue on our [website](https://github.com/3scale/prometheus-exporter-operator) for bugs, enhancements, or other requests.
### Contributing
You can contribute by:
* Raising any issues you find using Prometheus Exporter Operator
* Fixing issues by opening [Pull Requests](https://github.com/3scale/prometheus-exporter-operator/pulls)
* Submitting a patch or opening a PR
* Improving [documentation](https://github.com/3scale/prometheus-exporter-operator)
* Talking about Prometheus Exporter Operator
All bugs, tasks or enhancements are tracked as [GitHub issues](https://github.com/3scale/prometheus-exporter-operator/issues).
### License
Prometheus Exporter Operator is licensed under the [Apache 2.0 license](https://github.com/3scale/prometheus-exporter-operator/blob/master/LICENSE)displayName:Prometheus Exporter OperatorinstallModes:- supported:truetype:OwnNamespace- supported:truetype:SingleNamespace- supported:falsetype:MultiNamespace- supported:truetype:AllNamespacesprovider:name:Red Hatversion:0.2.0name:alphadefaultChannel:alphapackageName:prometheus-exporter-operatorprovider:name:Red Hat