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

[Bucket API] KEP updates for API review #2813

Merged
merged 14 commits into from
Jun 14, 2022
Merged

Conversation

wlan0
Copy link
Member

@wlan0 wlan0 commented Jul 8, 2021

No description provided.

@k8s-ci-robot k8s-ci-robot added cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. kind/kep Categorizes KEP tracking issues and PRs modifying the KEP directory labels Jul 8, 2021
@k8s-ci-robot k8s-ci-robot added sig/storage Categorizes an issue or PR as relevant to SIG Storage. size/XXL Denotes a PR that changes 1000+ lines, ignoring generated files. labels Jul 8, 2021
@wlan0 wlan0 force-pushed the master branch 2 times, most recently from b2ee7c9 to 6ff0006 Compare July 22, 2021 22:59
@kikisdeliveryservice
Copy link
Member

@wlan0 can you link the KEP in the title of this PR and description?

BucketAccessClassName string
}

Status BucketRequestStatus {
Copy link
Contributor

Choose a reason for hiding this comment

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

Typo I assume. Should be BucketAccessRequestStatus

// for creating the bucket
// +optional
Parameters map[string]string
}
Copy link
Contributor

Choose a reason for hiding this comment

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

There is no API linkage between Bucket and BucketAccess. So will COSI be making GET (or cache) calls to fetch all BAs for a given B?

Copy link
Contributor

Choose a reason for hiding this comment

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

Also, I haven't yet seen 1:n mapping relations defined between the COSI resources. Is it 1 BR per B? One BAR per BA? Many BAs per B? etc.

Copy link
Member Author

@wlan0 wlan0 Aug 2, 2021

Choose a reason for hiding this comment

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

Deletion is the only reasons we need this list. However, this cascading deletion behavior can be achieved using owner references, where deleting a BR deletes the B and all other associated BA's.

Is there any other reason for us to get this information? If not, then we should be fine

Copy link
Member Author

Choose a reason for hiding this comment

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

Also, I haven't yet seen 1:n mapping relations defined between the COSI resources. Is it 1 BR per B? One BAR per BA? Many BAs per B? etc.

The resources are loosely coupled, for instance, similar to how pods and nodes are related. Whenever a stronger coupling is needed, we directly reference the related object in the referring object.

@k8s-ci-robot k8s-ci-robot removed the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Jun 13, 2022
@deads2k
Copy link
Contributor

deads2k commented Jun 14, 2022

PRR Is good for alpha. For beta promotion, having a solid story for cluster-admins to observe cluster-wide status will be important

/approve

@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: deads2k, msau42, wlan0

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@k8s-ci-robot k8s-ci-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Jun 14, 2022
@xing-yang
Copy link
Contributor

/milestone v1.25

@k8s-ci-robot k8s-ci-robot added this to the v1.25 milestone Jun 14, 2022
@xing-yang
Copy link
Contributor

/lgtm

@k8s-ci-robot k8s-ci-robot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Jun 14, 2022
@k8s-ci-robot k8s-ci-robot merged commit 6cb3b10 into kubernetes:master Jun 14, 2022
@xing-yang xing-yang mentioned this pull request Jun 14, 2022
8 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api-review Categorizes an issue or PR as actively needing an API review. approved Indicates a PR has been approved by an approver from all required OWNERS files. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. kind/kep Categorizes KEP tracking issues and PRs modifying the KEP directory lgtm "Looks good to me", indicates that a PR is ready to be merged. sig/storage Categorizes an issue or PR as relevant to SIG Storage. size/XXL Denotes a PR that changes 1000+ lines, ignoring generated files.
Projects
Status: API review completed, 1.25
Development

Successfully merging this pull request may close these issues.