Sensu-go: Feature request: Multi-namespace assets

Created on 3 Apr 2019  路  6Comments  路  Source: sensu/sensu-go

Expected Behavior

As a user who's running multiple environments (dev, stage, prod), I'd like to create an asset that can be tied to multiple namespaces, rather than having to individually create an asset for each environment. This is especially useful when ensuring that each environment is consistent.

Current Behavior

Currently, I have to create an asset for each namespace individually.

Possible Solution

Provide the ability to specify multiple namespaces in my asset yml/json file

api wontfix

Most helpful comment

Upvote. We have 36 namespaces (one for each env, and we have 36 envs - prd, int, stg, 20 dev envs, etc). So defining our 12 base bonsai assets for each one (ruby runtime, cpu checks, network checks, etc) is doable but it's quite annoying to manage 450+ assets instead of 12.

Also since we use Puppet, each resource in Puppet must be uniquely named, so each of those assets has to have a unique name.

It would help immensely if we could just have the namespace field take an array, or better yet, "all".

All 6 comments

Would be nice to have this feature reducing duplicate assets and definitions

It will be really helpful if we have this as soon as possible. We have created more than 5 namespaces and we are repeating the checks in all namespaces.

Upvote. We have 36 namespaces (one for each env, and we have 36 envs - prd, int, stg, 20 dev envs, etc). So defining our 12 base bonsai assets for each one (ruby runtime, cpu checks, network checks, etc) is doable but it's quite annoying to manage 450+ assets instead of 12.

Also since we use Puppet, each resource in Puppet must be uniquely named, so each of those assets has to have a unique name.

It would help immensely if we could just have the namespace field take an array, or better yet, "all".

it would be better if other resources support multiple namespaces. other than checks, i need shared entities for proxy entities. when someone in a namespace needs to monitor external resources with proxy, the real entity that runs checks must be in the same namespace. you then need to maintain the real entity.

as an sysadmin, i would like to provide shared entities for others in non-default namespace so that they can simply define proxy entities (and use shared checks, too) in the namespace and forget the real entities.

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

the issue is still valid, i guess.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

palourde picture palourde  路  3Comments

hezor picture hezor  路  4Comments

palourde picture palourde  路  5Comments

craigpfeiffer picture craigpfeiffer  路  3Comments

echlebek picture echlebek  路  4Comments