You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ProblemStatement: As a DevOps admin I run my controllers as a single binary that makes use of GenericController(s) loaded from metac config file. I want metac to load generic controllers with specific labels & ignore loading of other generic controllers.
PossibleSolution:
Use of predefined label keys such as
metac.openebs.io/feature-gate
label will be set by DevOps admin
label value can either be alpha, beta or release
If this label is not set then corresponding controller defaults to release feature-gate
tag.metac.openebs.io/<tag-name>
label will be set by DevOps admin
tag-name will be provided by DevOps admin
label value can either be enabled or disabled
kind: GenericControllermetadata:
name: my-controllerlabels:
# if following label is missing then the GenericController # will be considered as release grademetac.openebs.io/feature-gate: alpha # beta & release are other valid values
---
kind: GenericControllermetadata:
name: my-controllerlabels:
metac.openebs.io/feature-gate: betatag.metac.openebs.io/my-tag-2: enabled
---
kind: GenericControllermetadata:
name: my-controllerlabels:
metac.openebs.io/feature-gate: betatag.metac.openebs.io/my-tag-1: enabled
containers:
- name: my-metacimage: localhost:5000/my-metac:latestcommand: ["/my-metac"]args:
- --allowed-feature-gate=beta # controllers with either beta or release gate will be loaded
- --allowed-tags=my-tag-1, my-tag-1 # controllers with these tags will be loaded
- --logtostderr
- --run-as-local
- --workers-count=1 # number of workers per controller
- --discovery-interval=40s
- --cache-flush-interval=240s # re-sync interval
- -v=5
The text was updated successfully, but these errors were encountered:
ProblemStatement: As a DevOps admin I run my controllers as a single binary that makes use of GenericController(s) loaded from metac config file. I want metac to load generic controllers with specific labels & ignore loading of other generic controllers.
PossibleSolution:
Use of predefined label keys such as
metac.openebs.io/feature-gate
alpha
,beta
orrelease
tag.metac.openebs.io/<tag-name>
enabled
ordisabled
The text was updated successfully, but these errors were encountered: