Skip to content
This repository has been archived by the owner on Apr 22, 2020. It is now read-only.

Create Entities for K8S Custom Resources #88

Open
tobias-bahls opened this issue Dec 17, 2018 · 0 comments
Open

Create Entities for K8S Custom Resources #88

tobias-bahls opened this issue Dec 17, 2018 · 0 comments
Labels

Comments

@tobias-bahls
Copy link

If one wants to write a check e.g. to monitor etcd clusters deployed with etcd-operator, it would be handy to have the actual custom resources as entities in ZMON.

In the case of etcd-operator, the K8S entity even exposes some health-metrics that could be very useful in a check, e.g:

status:
  clientPort: 2379
  conditions:
  - lastTransitionTime: 2018-12-03T09:38:46Z
    lastUpdateTime: 2018-12-03T09:38:46Z
    reason: Cluster available
    status: "True"
    type: Available
  currentVersion: 3.3.10
  members:
    ready:
    - etcd-cluster-2z4b5scjgp
    - etcd-cluster-4qltzm25xr
    - etcd-cluster-r6nw5mc9hg
    - etcd-cluster-szgbpl7zdk
    - etcd-cluster-wktt76nszx
  phase: Running
  serviceName: etcd-cluster-client
  size: 5
  targetVersion: ""
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

4 participants