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
Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
When Dapr is installed in a Kubernetes cluster, it deploys a special component called the Dapr sidecar injector. This component watches for pods that are annotated with the specific Dapr annotations, and automatically injects the Dapr runtime sidecar into those pods. https://docs.dapr.io/concepts/dapr-services/sidecar-injector/
You will want Akri to ensure that the proper annotations are present when the broker pod is created so that dapr is automatically injected.
Is your feature request related to a way you would like Akri extended? Please describe.
A clear and concise description of what cool feature Akri lacks. Ex. I'd love Akri to support discovery of Bluetooth devices.
Describe the solution you'd like
A clear and concise description of what you want to happen.
The ContainerAllocateResponse is returned from device plugin in responding of allocate requests. The ContainerAllocateRespone contains information to be set in the associated container, includes: 1) environment variables 2) directories to mount 3) device paths and 4) annotations.
Currently the Device instances returned from Discovery Handlers contains 1) environment variables 2) directories to mount and 3) device paths. The Akri Configuration brokerProperties is used to specify additional environment variables to be set in the container. We should have fields in Discovery Handler Device and Akri Configuration for annotations, too. The fields for annotations should be similar to the fields for environment variables that allows specifying annotation values at per-instance and per-configuration level.
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
Add any other context or screenshots about the feature request here.
The text was updated successfully, but these errors were encountered:
If I understand correctly you want to add annotations to the broker pod/job so that it gets handled by dapr sidecar injector.
But the annotations of ContainerAllocateResponse are CRI level annotations, and are not visible from the Kubernetes API (and will not trigger the sidecar-injector).
You rather need the possibility to fill the metadata.annotations field of the broker pod template (and this is currently impossible as we only specify the spec field in the Configuration). I believe project-akri/akri-docs#75 should solve your issue.
Issue has been automatically marked as stale due to inactivity for 90 days. Update the issue to remove label, otherwise it will be automatically closed.
Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
When Dapr is installed in a Kubernetes cluster, it deploys a special component called the Dapr sidecar injector. This component watches for pods that are annotated with the specific Dapr annotations, and automatically injects the Dapr runtime sidecar into those pods.
https://docs.dapr.io/concepts/dapr-services/sidecar-injector/
You will want Akri to ensure that the proper annotations are present when the broker pod is created so that dapr is automatically injected.
Is your feature request related to a way you would like Akri extended? Please describe.
A clear and concise description of what cool feature Akri lacks. Ex. I'd love Akri to support discovery of Bluetooth devices.
Describe the solution you'd like
A clear and concise description of what you want to happen.
The ContainerAllocateResponse is returned from device plugin in responding of allocate requests. The ContainerAllocateRespone contains information to be set in the associated container, includes: 1) environment variables 2) directories to mount 3) device paths and 4) annotations.
Currently the Device instances returned from Discovery Handlers contains 1) environment variables 2) directories to mount and 3) device paths. The Akri Configuration brokerProperties is used to specify additional environment variables to be set in the container. We should have fields in Discovery Handler Device and Akri Configuration for annotations, too. The fields for annotations should be similar to the fields for environment variables that allows specifying annotation values at per-instance and per-configuration level.
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
Add any other context or screenshots about the feature request here.
The text was updated successfully, but these errors were encountered: