Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: add managed by label to namespace #392

Merged
merged 1 commit into from
Sep 12, 2024
Merged

Conversation

bthari
Copy link
Contributor

@bthari bthari commented Sep 6, 2024

Context

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

Changes

  • add NamespaceLabelPrefix in configuration, so InitKubernetesLabeller can use the configured namespace prefix
  • add the label when creating namespace

Copy link
Contributor

@tiopramayudi tiopramayudi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! Thanks @bthari

@bthari bthari merged commit 358bea8 into main Sep 12, 2024
11 of 13 checks passed
@bthari bthari deleted the add-label-to-namespace branch September 12, 2024 03:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants