Skip to content

Conversation

@blumamir
Copy link
Collaborator

Description

This PR makes the following changes:

  • it allows any profile to list the name of the manifest files it wants to apply
  • moves kratos specific profiles, from being in the profiles list, to simply be a manifest file for kratos.
  • add k8sattributes action for kratos to collect replicaset name.

How Has This Been Tested?

  • Added Unit Tests
  • Updated e2e Tests
  • Manual Testing
  • Manual Load Test

Added profile, removed, checked all resources are created as needed

Kubernetes Checklist

  • Changes how Odigos interacts with Kubernetes - schedualer now interacts with k8sattributesresolver resource
  • Introduces additional calls to the API Server (potential performance impact)
  • Changes RBAC permissions - add permissions for managing the new manifest for the profile

User Facing Changes

No. only kratos users will see replicaset being collected automatically

Copy link
Collaborator

@RonFed RonFed left a comment

Choose a reason for hiding this comment

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

Since we're deprecating the individuall actions CRD, I think it os a good chance to make the k8sattributes action into the generic one - as this PR adds permissions and code that handles the deprecated one - it might be better to do in the new way and this would also help us for future profiles regarding other actions (all under the generic one).

Don'r want to block on this, I just think it will be nice to have - to move the migration forward.


attributes.CategoryAttributesProfile,
attributes.CodeAttributesProfile,
attributes.CopyScopeProfile,
Copy link
Collaborator

Choose a reason for hiding this comment

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

we can do the same for the copy scope profile?

{ // apply profiles as actions
APIGroups: []string{"actions.odigos.io"},
Resources: []string{"k8sattributesresolvers"},
Verbs: []string{"get", "list", "watch", "patch", "delete", "create"},
Copy link
Collaborator

Choose a reason for hiding this comment

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

why do we need all of these? the scheduler only does Apply, right?

@github-actions
Copy link
Contributor

This PR is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 30 days.

@github-actions github-actions bot added the stale label Jul 21, 2025
@github-actions
Copy link
Contributor

This PR was closed because it has been stale for 30 days with no activity.

@github-actions github-actions bot closed this Aug 25, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants