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
# Description
When creating a namespace object in Kubernetes, add label
“{prefix}/managed: true”. This will help when we want to modify
resources created by CaraML services in a shared cluster, e.g.
configuring log for the managed namespace only
By default the namespace prefix would `caraml.dev/`, and it can be
configured in the config yaml
# Modifications
- As the creation of label for Kubernetes’ object in Merlin previously
is bind to metadata struct, while namespace doesn’t have metada, in this
changes the functionality of labelling (labeller) is moved to it’s own
package
- Add one more prefix in `InitKubernetesLabeller` initiation
- Add the `{prefix}/managed: true` when creating namespace
# Tests
# Checklist
- [x] Added PR label
- [ ] Added unit test, integration, and/or e2e tests
- [x] Tested locally
- [ ] Updated documentation
- [ ] Update Swagger spec if the PR introduce API changes
- [ ] Regenerated Golang and Python client if the PR introduces API
changes
# Release Notes
```release-note
```
0 commit comments