plusserver / kubernetes-icinga

Kubernetes / Icinga2 integration.
Apache License 2.0
22 stars 8 forks source link

Set `zone` attribute on the created objects #4

Open towolf opened 6 years ago

towolf commented 6 years ago

Our Icinga Masters do not have access to the Kubernetes API. Would it be possible to set the zone attribute, so the hosts are created in another zone than master?

iljaweis commented 6 years ago

I don't have a setup to test zones right now. What would you need? Just set the parameter to a value you can configure?

towolf commented 6 years ago

I think so, yes. Something like zone = "common"

https://www.icinga.com/docs/icinga2/latest/doc/12-icinga2-api/#api-objects-and-cluster-config-sync