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

Add doc for volume size label #935

Merged
merged 1 commit into from
Feb 23, 2018

Conversation

hangyan
Copy link
Contributor

@hangyan hangyan commented Feb 9, 2018

With this should close #872

@k8s-ci-robot k8s-ci-robot added size/S Denotes a PR that changes 10-29 lines, ignoring generated files. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. labels Feb 9, 2018
The currently supported options are:

| Key | Value |
|----------------------|-------------------------------------|
| kompose.service.type | nodeport / clusterip / loadbalancer |
| kompose.service.expose | true / hostname |
| kompose.service.expose.tls-secret | secret name |
| kompose.volume.size | kubernetes supported volume size |

**Note**: `kompose.service.type` label should be defined with `ports` only, otherwise `kompose` will fail.
Copy link
Contributor

Choose a reason for hiding this comment

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

This table looks good at the top of paragraph.

@@ -290,9 +290,10 @@ The chart structure is aimed at providing a skeleton for building your Helm char

## Labels

`kompose` supports Kompose-specific labels within the `docker-compose.yml` file in order to explicitly define a service's behavior upon conversion.
`kompose` supports Kompose-specific labels within the `docker-compose.yml` file in order to
explicitly define the generated resources' behavior upon conversion, like Service, PersistentVolumeClaim...
Copy link
Contributor

Choose a reason for hiding this comment

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

in order can be omitted to simplify the text.

@cdrage
Copy link
Member

cdrage commented Feb 20, 2018

What @abitrolly said ^^. Other than those two comments. LGTM.

@k8s-ci-robot k8s-ci-robot added size/M Denotes a PR that changes 30-99 lines, ignoring generated files. and removed size/S Denotes a PR that changes 10-29 lines, ignoring generated files. labels Feb 23, 2018
@hangyan
Copy link
Contributor Author

hangyan commented Feb 23, 2018

@cdrage @abitrolly updated, thanks!

@cdrage
Copy link
Member

cdrage commented Feb 23, 2018

LGTM! 👍

@cdrage cdrage merged commit ade2660 into kubernetes:master Feb 23, 2018
@hangyan hangyan deleted the add-volume-label-doc branch March 31, 2018 04:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. 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.

Add test cases / documentation for setting PVC volume size
4 participants