-
Notifications
You must be signed in to change notification settings - Fork 5
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
Conversation
* 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]>
### 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. |
There was a problem hiding this comment.
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?
There was a problem hiding this comment.
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 thecontrolplane
andbuilder
containers sections, and for local docker-compose deployments, this is done indocker-compose.yaml
under thescc-control-plane
andscc-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! |
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
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!
Co-authored-by: Oscar Spencer <[email protected]>
There was a problem hiding this 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.
I don't think so; the conflict was with this change. |
Per Issue #166: