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

Update Compute cloud deployment docs #167

Merged
merged 8 commits into from
Sep 7, 2022

Conversation

LauraLangdon
Copy link
Contributor

@LauraLangdon LauraLangdon commented Aug 19, 2022

Per Issue #166:

  • Rearrange Cloud Deployment docs in sidebar
  • Add AWS instructions

@LauraLangdon LauraLangdon added the documentation Anything related to documentation (e.g. doc bugs or similar), *not* documenting new features label Aug 19, 2022
@LauraLangdon LauraLangdon self-assigned this Aug 19, 2022
@LauraLangdon LauraLangdon linked an issue Aug 19, 2022 that may be closed by this pull request
2 tasks
LauraLangdon and others added 5 commits August 22, 2022 09:51
* Add local deployment docs

* Restructure to be 'with Minikube'

* Adopt lovely feedback

* add words to dictionary

* add more words to dictionary

* Update website/docs/compute/local-deployment/minikube.md

Co-authored-by: Laura Langdon <[email protected]>

* Update website/docs/compute/local-deployment/minikube.md

Co-authored-by: Laura Langdon <[email protected]>

* Update website/docs/compute/local-deployment/minikube.md

Co-authored-by: Laura Langdon <[email protected]>

* Update website/docs/compute/local-deployment/minikube.md

Co-authored-by: Laura Langdon <[email protected]>

* Update website/docs/compute/local-deployment/minikube.md

Co-authored-by: Laura Langdon <[email protected]>

* Update website/docs/compute/local-deployment/minikube.md

Co-authored-by: Laura Langdon <[email protected]>

* Apply feedback

* Rename subcategory to Other Deployments

* Lowercase minikube

* Remove trailing comma

Co-authored-by: Laura Langdon <[email protected]>
Co-authored-by: Laura Langdon <[email protected]>
@LauraLangdon LauraLangdon marked this pull request as ready for review September 1, 2022 18:56
### Amazon S3

You will need to also supply the `AWS_ACCESS_KEY_ID`, `AWS_SECRET_ACCESS_KEY`, `AWS_SESSION_TOKEN` and `AWS_REGION` environment variables to both the control plane and the builder. See the [AWS authentication documentation](https://docs.aws.amazon.com/sdk-for-go/api/aws/session/) for details. It is also possible to store the configuration as a Kubernetes secret, similar to the Google Cloud Storage configuration.
You will need to supply the `AWS_ACCESS_KEY_ID`, `AWS_SECRET_ACCESS_KEY`, `AWS_SESSION_TOKEN` and `AWS_REGION` environment variables to the API for both the control plane and the builder. See the [AWS authentication documentation](https://docs.aws.amazon.com/sdk-for-php/v3/developer-guide/guide_credentials_environment.html) for details. It is also possible to store the configuration as a Kubernetes secret, similar to the Google Cloud Storage configuration.
Copy link
Contributor

Choose a reason for hiding this comment

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

We should specify that they need to be added to the yaml file, and also show them in the example. I also wonder if we want to keep this bit about the Kubernetes secret. Maybe we have it link to the other tab?

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 do specify the different yaml files in the next paragraph down:

For Kubernetes deployments, this is done in .suborbital/scc-controlplane-deployment.yaml under the controlplane and builder containers sections, and for local docker-compose deployments, this is done in docker-compose.yaml under the scc-control-plane and scc-builder services.

and also show them in the example

Do you mean show the file name in the yaml codeblock? I considered that but decided against it since there are two candidates for the file name depending on whether a deployment is on Kubernetes or local.

I also wonder if we want to keep this bit about the Kubernetes secret. Maybe we have it link to the other tab?

I'll add a link to the GCS tab!

kubectl exec -n suborbital -it scc-controlplane-deployment-<REST OF POD CODENAME> -- bash
```

Would you look at that, we’re inside our cluster now!
Copy link
Contributor

Choose a reason for hiding this comment

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

This feels a bit off of our usual tone in the docs.

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 isn't "mine", as such; it was merged in PR #158 (I think it's showing as a change here because I had a stub for it before the other was merged and had to swap out the stub for the merged one. Probably there's a better way to do that, my bad).

I do like an aggressively upbeat and fun tone, though. 😊 If you'd rather we stay more neutral than cheerleader, I can change it ofc!

Copy link
Contributor

@flaki flaki left a comment

Choose a reason for hiding this comment

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

This looks great Laura! Love that we are using the tabs for other stuff than just runnables.

One thing though, I think you rebase this PR before merging, I trust that's why GitHub is complaining of conflicts.

Otherwise, and pending others' comments, LGTM.

@LauraLangdon
Copy link
Contributor Author

One thing though, I think you rebase this PR before merging, I trust that's why GitHub is complaining of conflicts.

I don't think so; the conflict was with this change.

@LauraLangdon LauraLangdon merged commit 28f5498 into main Sep 7, 2022
@LauraLangdon LauraLangdon deleted the laura/166-update-compute-deployment-docs branch September 7, 2022 22:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Anything related to documentation (e.g. doc bugs or similar), *not* documenting new features
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Update Compute deployment docs
4 participants