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

[KEP-3751] introduce the VolumeAttributesClass API #121104

Merged
merged 2 commits into from Oct 31, 2023

Conversation

carlory
Copy link
Member

@carlory carlory commented Oct 10, 2023

What type of PR is this?

/kind feature
/kind api-change

What this PR does / why we need it:

Which issue(s) this PR fixes:

Part of kubernetes/enhancements#3751

Fixes #119297

Special notes for your reviewer:

based on #118863

Does this PR introduce a user-facing change?

NONE

Additional documentation e.g., KEPs (Kubernetes Enhancement Proposals), usage docs, etc.:

- [KEP]: https://github.com/kubernetes/enhancements/tree/master/keps/sig-storage/3751-volume-attributes-class

@k8s-ci-robot k8s-ci-robot added release-note-none Denotes a PR that doesn't merit a release note. kind/feature Categorizes issue or PR as related to a new feature. size/XXL Denotes a PR that changes 1000+ lines, ignoring generated files. kind/api-change Categorizes issue or PR as related to adding, removing, or otherwise changing an API cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. area/apiserver do-not-merge/needs-sig Indicates an issue or PR lacks a `sig/foo` label and requires one. needs-triage Indicates an issue or PR lacks a `triage/foo` label and requires one. area/test labels Oct 10, 2023
@k8s-ci-robot k8s-ci-robot added sig/api-machinery Categorizes an issue or PR as relevant to SIG API Machinery. sig/apps Categorizes an issue or PR as relevant to SIG Apps. needs-priority Indicates a PR lacks a `priority/foo` label and requires one. sig/storage Categorizes an issue or PR as relevant to SIG Storage. sig/testing Categorizes an issue or PR as relevant to SIG Testing. and removed do-not-merge/needs-sig Indicates an issue or PR lacks a `sig/foo` label and requires one. labels Oct 10, 2023
@carlory carlory changed the title introduce the VolumeAttributesClass API [KEP-3571] introduce the VolumeAttributesClass API Oct 10, 2023
@carlory
Copy link
Member Author

carlory commented Oct 10, 2023

@carlory
Copy link
Member Author

carlory commented Oct 10, 2023

/retest

@jiahuif
Copy link
Member

jiahuif commented Oct 10, 2023

/assign @jpbetz
for API review. Thank you.
/triage accepted

@k8s-ci-robot k8s-ci-robot added triage/accepted Indicates an issue or PR is ready to be actively worked on. and removed needs-triage Indicates an issue or PR lacks a `triage/foo` label and requires one. labels Oct 10, 2023
@carlory
Copy link
Member Author

carlory commented Oct 31, 2023

Just a few wording suggestions.

Can you also squash your commits into 2? API changes + generated changes?

done.

/cc @msau42 @sunnylovestiramisu @jpbetz

@msau42
Copy link
Member

msau42 commented Oct 31, 2023

unit test failure: #121627

@msau42
Copy link
Member

msau42 commented Oct 31, 2023

/lgtm
/approve

@k8s-ci-robot k8s-ci-robot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Oct 31, 2023
@k8s-ci-robot
Copy link
Contributor

LGTM label has been added.

Git tree hash: cef5c945c350b501139606ae59f409d58eb264fa

@carlory
Copy link
Member Author

carlory commented Oct 31, 2023

/assign @deads2k

@carlory
Copy link
Member Author

carlory commented Oct 31, 2023

/assign @liggitt

@jpbetz
Copy link
Contributor

jpbetz commented Oct 31, 2023

/approve
For API Machinery related changes

@jpbetz
Copy link
Contributor

jpbetz commented Oct 31, 2023

@liggitt @deads2k Looks like we're down to needing approval for registry and printers. Would either of you be willing to serve as approver for those? Thanks!

@apelisse
Copy link
Member

/approve
for printers.

@liggitt
Copy link
Member

liggitt commented Oct 31, 2023

/approve
for registry package (which will fall under storage once #121210 merges anyway)

@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: apelisse, carlory, jpbetz, liggitt, msau42

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 Oct 31, 2023
@k8s-ci-robot k8s-ci-robot merged commit dba5651 into kubernetes:master Oct 31, 2023
20 checks passed
@k8s-ci-robot k8s-ci-robot added this to the v1.29 milestone Oct 31, 2023
@carlory carlory deleted the kep-3751-api-changes branch November 1, 2023 01:29
@Priyankasaggu11929
Copy link
Member

/retitle [KEP-3751] introduce the VolumeAttributesClass API

@k8s-ci-robot k8s-ci-robot changed the title [KEP-3571] introduce the VolumeAttributesClass API [KEP-3751] introduce the VolumeAttributesClass API Nov 1, 2023
@carlory carlory mentioned this pull request Nov 13, 2023

Choose a reason for hiding this comment

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

Hi, carlory:

Sorry to leave comment on your PR. I have a quick question would to ask for about how to generate this core/v1/generated.pb.go from go struct definition in core/v1/types.go file.

We have a use case that we define a CRD in go struct, and we need to generate the proto related methods for marshal/unmarshal. But we could not successfully generate them.

We are trying to use protoc-gen-gogo and go-to-protobuf, but could not make fully work.

Do you mind share what's the commands should be used to auto gen "core/v1/generated.proto" and "core/v1/generated.pb.go" files based on core/v1/types.go file?

Really appreciate your help and answers.

Di

Copy link
Member Author

@carlory carlory Dec 1, 2023

Choose a reason for hiding this comment

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

the kubernetes repo provides a lot of useful scripts under the hack directory, I ran the make update to generate all necessary files in this pr. the CRD doesn't support protobuf, so I am wondering why you need use generated funcs to produce/consume proto format bytes. It cannot recongized by the kube-apiserver.

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. area/apiserver area/code-generation area/test cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. kind/api-change Categorizes issue or PR as related to adding, removing, or otherwise changing an API kind/feature Categorizes issue or PR as related to a new feature. lgtm "Looks good to me", indicates that a PR is ready to be merged. needs-priority Indicates a PR lacks a `priority/foo` label and requires one. release-note-none Denotes a PR that doesn't merit a release note. sig/api-machinery Categorizes an issue or PR as relevant to SIG API Machinery. sig/apps Categorizes an issue or PR as relevant to SIG Apps. sig/storage Categorizes an issue or PR as relevant to SIG Storage. sig/testing Categorizes an issue or PR as relevant to SIG Testing. size/XXL Denotes a PR that changes 1000+ lines, ignoring generated files. triage/accepted Indicates an issue or PR is ready to be actively worked on.
Projects
Status: API review completed, 1.29
Archived in project
Development

Successfully merging this pull request may close these issues.

1.29 - [kep-3751] Kubernetes API Change