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

Lint and re-structure documentation #159

Merged
merged 1 commit into from
Sep 25, 2018

Conversation

zanetworker
Copy link
Contributor

What this PR does / why we need it:

This pull request restructures documentation under the "docs" package
and restructure the yaml files based on their intent (e.g., under
machine_classes, secrets, or machines_sets_deployments)

Which issue(s) this PR fixes:
Fixes #

Special notes for your reviewer:

Release note:

Restructure documentation so they are easier to consume. 

@zanetworker zanetworker requested review from ggaurav10 and a team as code owners September 19, 2018 11:55
@CLAassistant
Copy link

CLAassistant commented Sep 19, 2018

CLA assistant check
All committers have signed the CLA.

- Similarily `kubernetes/aws-machine-class.yaml` secret name and namespace should be same as that mentioned in `kubernetes/aws-secret.yaml`
## Important :warning

> Make sure that the `kubernetes/machines_sets_deployments/machine.yaml` points to the same class name as the `kubernetes/machine_classes/aws-machine-class.yaml`.
Copy link
Contributor

Choose a reason for hiding this comment

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

Maybe we could rename kubernetes/machines_sets_deployments to kubernetes/machine_objects? does that make it more meaningful?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yes it makes sense, I just thought that for ease of access we include the type of the objects in the name but it turned out to be a long one.

Copy link
Contributor

Choose a reason for hiding this comment

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

Thanks for the changes.

@zanetworker zanetworker force-pushed the feature.restructure-docs branch from 5f95ff9 to 5fb34ef Compare September 20, 2018 17:35
Copy link
Contributor

@prashanth26 prashanth26 left a comment

Choose a reason for hiding this comment

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

LGTM. @hardikdr you could take a quick look before merging it.

Copy link
Member

@hardikdr hardikdr left a comment

Choose a reason for hiding this comment

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

Overall thanks a lot for looking into the documentation, I have put few comments please have a look.

- [Deploying the Machine Controller Manager into a Kubernetes cluster](#deploying-the-machine-controller-manager-into-a-kubernetes-cluster)
- [Prepare the cluster](#prepare-the-cluster)
- [Build the Docker image](#build-the-docker-image)
- [Configuring optional paramaters while deploying](#configuring-optional-paramaters-while-deploying)
Copy link
Member

Choose a reason for hiding this comment

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

typo: parameters.

- [Components of Machine Controller Manager](#components-of-machine-controller-manager)
- [Future Plans](#future-plans)
- [Todos Doc](#todos-doc)
- [Limitations](#limitations)
Copy link
Member

Choose a reason for hiding this comment

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

I think the limitations are not valid anymore, can you please remove them in this PR itself.
@prashanth26 what say ?

@@ -1,55 +1,74 @@
# Excess Reserve Capacity - WIP
Copy link
Member

Choose a reason for hiding this comment

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

This is not WIP anymore, I forgot to remove it later. Can you please use this PR remove WIP tag.


- [Maintaining machine replicas using machines-sets](#maintaining-machine-replicas-using-machines-sets)
- [Setting up your usage environment](#setting-up-your-usage-environment)
- [Important :warning](#important-warning)
Copy link
Member

Choose a reason for hiding this comment

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

Is this a typo: warning is not resolved to the symbol


> Make sure that the `kubernetes/machines_sets_deployments/machine-set.yaml` points to the same class name as the `kubernetes/machine_classes/aws-machine-class.yaml`.

> Similarily `kubernetes/machine_classes/aws-machine-class.yaml` secret name and namespace should be same as that mentioned in `kubernetes/secrets/aws-secret.yaml`
Copy link
Member

Choose a reason for hiding this comment

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

Name of the actual folder is Secrets - can we change it to secrets

```bash
$ kubectl apply -f kubernetes/machine-set.yaml
$ kubectl apply -f kubernetes/machines_sets_deployments/machine-set.yaml
Copy link
Member

Choose a reason for hiding this comment

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

I can still see occurrences of machines_sets_- which I guess is not aligned with actual folder-structure. Can you please change the necessary occurrences.

- Run the Machine Controller Manager either as described in [Setting up a local development environment](../development/local_setup.md) or [Deploying the Machine Controller Manager into a Kubernetes cluster](../deployment/kubernetes.md).
- Make sure that the following steps are run before managing machines/ machine-sets/ machine-deploys.
<!-- /TOC -->
## Important :warning
Copy link
Member

Choose a reason for hiding this comment

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

Should it be resolved to the warning symbol ?

@zanetworker zanetworker force-pushed the feature.restructure-docs branch from 5fb34ef to 0392f12 Compare September 24, 2018 19:24
This pull request restructures documentation under the "docs" package
and restructure the yaml files based on their intent (e.g., under
machine_classes, secrets, or machines_sets_deployments)
@zanetworker zanetworker force-pushed the feature.restructure-docs branch from 0392f12 to a83dd89 Compare September 24, 2018 19:36
@zanetworker
Copy link
Contributor Author

@hardikdr and @prashanth26 thanks for reviewing, I have adjusted the docs based on your comments.

Copy link
Member

@hardikdr hardikdr left a comment

Choose a reason for hiding this comment

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

Thanks, lgtm

@hardikdr hardikdr merged commit 938acfb into gardener:master Sep 25, 2018
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.

4 participants