Skip to content

Conversation

@federicaciuffo
Copy link
Contributor

What type of PR is this? Refactor documentation

Which issue does this PR fix: documentation

What does this PR do / Why do we need it: refactor documentation

If an issue # is not available please add repro steps and logs from aws-gateway-controller showing the issue: NA

Testing done on this change: tested walkthroughs

Automation added to e2e: NA

Will this PR introduce any new dependencies?: changed the /examples path to /files/examples and /files/controller-installation. This needs to be taken into consideration when testing due to some github raw files referred into the documentation (dependencies within the documentation have been updated to new paths).

Will this break upgrades or downgrades. Has updating a running cluster been tested?: No

Does this PR introduce any user-facing change?: yes

 

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Copy link
Contributor

@erikfuller erikfuller left a comment

Choose a reason for hiding this comment

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

@federicaciuffo Thanks so much for putting this massive PR together. I've got a few minor comments/questions sprinkled throughout but overall this is looking good.

Copy link
Contributor

Choose a reason for hiding this comment

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

How much does having this html file give us? I think ideally we'd stick to markdown just for ease of maintenance.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I used Karpenter docs as reference because it is really well written. Having a proper home gives a professional look and I kept it very clean for easy maintenance.

Copy link
Contributor

Choose a reason for hiding this comment

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

I'm curious how you're thinking about this versus, for example, the VPC Lattice User Guide. How much do we repeat here versus link to the user guide?

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 file is just a reviewed version of this already existing file. For these files, we aimed to maintain the concepts and rearrange the information a bit for better clarity. On the other hand, except the SN, S, etc concepts (approx 20 lines) this doc is addressing EKS users and use-cases.

Comment on lines 104 to 105
E2E tests require a Service Network named `test-gateway` with cluster VPC associated to run.
You can either set up Service Network manually or use DEFAULT_SERVICE_NETWORK option when running controller locally. (e.g. `DEFAULT_SERVICE_NETWORK=test-gateway make run`)
Copy link
Contributor

Choose a reason for hiding this comment

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

We don't capitalize "service network" elsewhere in our docs, e.g. https://docs.aws.amazon.com/vpc-lattice/latest/ug/how-it-works.html

Should we be doing it here?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

agree, changed in all md files


* You MUST have a registered hosted zone (e.g. `my-test.com`) in route53 and complete the `Prerequisites` mentioned in [Configure a custom domain name for your service](https://docs.aws.amazon.com/vpc-lattice/latest/ug/service-custom-domain-name.html#dns-associate-custom).
* If you are not using ExternalDNS, you should manually associate your custom domain name with your service following [Configure a custom domain name for your service](https://docs.aws.amazon.com/vpc-lattice/latest/ug/service-custom-domain-name.html#dns-associate-custom).
* You MUST have a registered hosted zone (e.g. `my-test.com`) in Route53 and complete the `Prerequisites` mentioned in [this section](https://docs.aws.amazon.com/vpc-lattice/latest/ug/service-custom-domain-name.html#dns-associate-custom) of the Amazon VPC Lattice documentation.
Copy link
Contributor

Choose a reason for hiding this comment

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

I think the link should just be: ttps://docs.aws.amazon.com/vpc-lattice/latest/ug/service-custom-domain-name.html with no anchor. The "Prerequisites" section is toward the top.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

agree, changed

- Concepts:
- Introduction: concepts/concepts.md
- Concepts: concepts/overview.md
- User Guides:
Copy link
Contributor

Choose a reason for hiding this comment

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

Should we include a link for guides/multi-cluster.md?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Deleted the file because it created duplicity, this part is already explained in the walkthrough (multi-cluster part). (and it is not in the current version neither)

# Build the deploy.yaml
make build-deploy
cp "deploy.yaml" "examples/deploy-$RELEASE_VERSION.yaml"
cp "deploy.yaml" "files/controller-installation/deploy-$RELEASE_VERSION.yaml"
Copy link
Contributor

Choose a reason for hiding this comment

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

Wondering if we can figure out a more descriptive name than "files" here. Should we just move these two directories to top-level? So we have /examples and /controller-installation?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

we could but it’s a lot of work and if I miss a dependency some command will not work. is this a must or a nice to have?

Copy link
Contributor

Choose a reason for hiding this comment

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

Probably just a nice to have

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants