Skip to content

Conversation

@weng271190436
Copy link
Collaborator

add resource placement TSG

Signed-off-by: Wei Weng <[email protected]>
The following command lists all `ResourceBindings` instances that are associated with `ResourcePlacement`:

```bash
kubectl get resourcebinding -n <namespace> -l kubernetes-fleet.io/parent-CRP={RPName}
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

We use kubernetes-fleet.io/parent-CRP even for RP

Copy link
Collaborator

@britaniar britaniar left a comment

Choose a reason for hiding this comment

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

Left some formatting suggestions as well. Trying to make sure it seem user friendly.

kubectl describe resourceplacement <name> -n <namespace>
```

The complete progression of `ResourcePlacement` is as follows:
Copy link
Collaborator

Choose a reason for hiding this comment

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

I wonder if we should make the file name for the conditions more generic, so it is applied to both CRP and RP and customer does not get confused.

Does not need to be addressed in this PR.

Copy link
Contributor

Choose a reason for hiding this comment

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

what does "file name" refer to here?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

I think @britaniar meant file names like ClusterResourcePlacementScheduled.md and ClusterResourcePlacementRolloutStarted.md. These are applicable to both RP and CRP. We should probably modify those in separate PRs to make them cover both RP and CRP

kubectl describe resourceplacement <name> -n <namespace>
```

The complete progression of `ResourcePlacement` is as follows:
Copy link
Contributor

Choose a reason for hiding this comment

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

what does "file name" refer to here?

- `ResourceBinding`
- `Work`

Please read the [Fleet API reference](docs/api-reference) for more details about each object.
Copy link
Contributor

Choose a reason for hiding this comment

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

btw, is that api-reference up to date?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Not up to date. But doing that in a different PR #47

Wei Weng added 3 commits November 13, 2025 21:19
Signed-off-by: Wei Weng <[email protected]>
Signed-off-by: Wei Weng <[email protected]>
Signed-off-by: Wei Weng <[email protected]>
Signed-off-by: Wei Weng <[email protected]>
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.

3 participants