Skip to content
This repository was archived by the owner on Dec 3, 2024. It is now read-only.

Document the need for COSI, and Developer guide #22

Merged
merged 1 commit into from
Jan 28, 2021

Conversation

wlan0
Copy link
Contributor

@wlan0 wlan0 commented Jan 24, 2021

This is ready for review

#14

@k8s-ci-robot k8s-ci-robot added the cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. label Jan 24, 2021
@k8s-ci-robot k8s-ci-robot added the size/XXL Denotes a PR that changes 1000+ lines, ignoring generated files. label Jan 24, 2021
@k8s-ci-robot k8s-ci-robot added size/M Denotes a PR that changes 30-99 lines, ignoring generated files. and removed size/XXL Denotes a PR that changes 1000+ lines, ignoring generated files. labels Jan 26, 2021
@wlan0
Copy link
Contributor Author

wlan0 commented Jan 26, 2021

@xing-yang please review

@wlan0 wlan0 linked an issue Jan 26, 2021 that may be closed by this pull request
Copy link
Contributor

@tparikh tparikh left a comment

Choose a reason for hiding this comment

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

LGTM

If you are new to the SIG Storage COSI project, check out the [spec](https://github.com/kubernetes-sigs/container-object-storage-interface-spec/blob/master/spec.md), [KEP](https://github.com/kubernetes/enhancements/tree/master/keps/sig-storage/1979-object-storage-support), and [project board](https://github.com/orgs/kubernetes-sigs/projects/).
```sh
# cleans up old build files
make clobber
Copy link
Contributor

Choose a reason for hiding this comment

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

why make clobber? can make clean do this?

Copy link
Contributor

Choose a reason for hiding this comment

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

Looks like this is in addition to make clean as there are some intermediate files that need to be cleaned up while keeping the generated protobuf

Copy link
Contributor Author

Choose a reason for hiding this comment

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

yeah

@brahmaroutu
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 Jan 26, 2021

## Why another standard?

Choose a reason for hiding this comment

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

This section is a dup from another doc. Better to link to a single source here.

@brahmaroutu
Copy link
Contributor

/approve

README.md Outdated

- Unit of provisioned storage - Bucket instead of filesystem mount or blockdevice.

Choose a reason for hiding this comment

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

blockdevice -> block device

README.md Outdated

## Community, discussion, contribution, and support
- Must be backwards compatible

Choose a reason for hiding this comment

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

I'm not sure if this is practical for alpha APIs? In Kubernetes, if API stays in alpha, it does not need to support backward compatibility; but once it reaches beta, it has to support backward compatibility moving forward.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

This is a practical guideline for the community contributors who want to start contributing. I think between us in the team, we can have an understanding about it until we reach v1 status

Choose a reason for hiding this comment

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

I think the language in the spec repo is supposed to be precise. We can't require alpha APIs to be backward compatible. Alpha means it is experimental. If this requirement is added here but we are not really going to enforce it, then we should either loosen the requirement or remove it.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

makes sense. Ive updated the docs


## Community, discussion, contribution, and support
- Must be backwards compatible
- Must be in-sync with the API definitions in [sigs.k8s.io/container-object-storage-interface-api](https://github.com/kubernetes-sigs/container-object-storage-interface-api)

Choose a reason for hiding this comment

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

COSI spec is a lower level API. I think it should not talk about the higher level API. It is the other way around.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

These two are closely inter-related. we want to move them in lockstep.i.e. If a change is made here, then it should also be made in api.

@k8s-ci-robot k8s-ci-robot removed the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Jan 27, 2021
@wlan0
Copy link
Contributor Author

wlan0 commented Jan 27, 2021

@xing-yang I've addressed your comments

@xing-yang
Copy link

/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 Jan 28, 2021
@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: brahmaroutu, tparikh, wlan0, xing-yang

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 Jan 28, 2021
@k8s-ci-robot k8s-ci-robot merged commit 35887a1 into kubernetes-retired:master Jan 28, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
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. lgtm "Looks good to me", indicates that a PR is ready to be merged. size/M Denotes a PR that changes 30-99 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Update README.md
6 participants