-
Notifications
You must be signed in to change notification settings - Fork 485
add new terraform docs #34221
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
base: main
Are you sure you want to change the base?
add new terraform docs #34221
Conversation
- Moves the install, upgrade, and configuration docs into a subdirectory called Terraform Provider (Legacy) - Creates aliases for each of the moved pages - `Installation > Install on GCP `-> `Installation > Install on GCP > Terraform Provider (Legacy) > Install` - Removed terraform references from the Deployment guideline appendix and pushed them into the Configuration appendix - Changed from "Required configuration" to just "configuration" docs: Relabel AWS guides as legacy Terraform guides - Does the same work as the GCP commit docs: Relabel Azure guides as legacy Terraform guides - Does the same thing as the GCP commit - Removes terraform configuation values given they weren't rendered. e.g. enable_disk_support Update doc links Add docs for new terraform modules.
|
@jubrad thanks for reviving this! |
kay-kim
left a comment
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.
Hey ... won't have time to add a patch to this today (double-checking the upgrade)... so, am leaving some comments for now in case people have a window free.
Depending on when, I'll continue reviewing or patching. Heads up ... I'm out starting Monday next week.
| {{</ tip >}} | ||
| | Guide | Description | | ||
| |-------|-------------| | ||
| | [Terraform Provider](/installation/install-on-aws/terraform-module/) | Install Materialize on AWS using our new Unified Terraform Provider | |
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.
In the Description for the new Unified .... Do we want to add Recommended annotation? like
| Recommended. Install Materialize ...
| | Guide | Description | | ||
| |-------|-------------| | ||
| | [Terraform Provider](/installation/install-on-aws/terraform-module/) | Install Materialize on AWS using our new Unified Terraform Provider | | ||
| | [Terraform Provider (legacy)](/installation/install-on-aws/legacy-terraform-module/) | Install Materialize on AWS using our Terraform Provider (legacy) | |
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.
The description "using our Terraform..." -> "using our legacy Terraform Provider"
| - If spill-to-disk is enabled (*Recommended*): 1:16 ratio of vCPU to GiB local | ||
| instance storage | ||
| - ARM-based CPU | ||
| - A 1:8 ratio of vCPU to GiB memory is recommended. |
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.
Can remove " is recommended." since on line 15, we state ".. we recommend:"
| instance storage | ||
| - ARM-based CPU | ||
| - A 1:8 ratio of vCPU to GiB memory is recommended. | ||
| - When using swap, it is recommended to use a 8:1 ratio of GiB local instance storage to GiB Ram. |
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.
Ditto ... can just go "When using swap, an 8:1 ratio ... RAM."
| when operating on datasets larger than main memory as well as allows for a more | ||
| graceful degradation rather than OOMing. Network-attached storage (like EBS | ||
| volumes) can significantly degrade performance and is not supported. | ||
| Configuring swap on nodes to using locally-attached NVMe storage allows |
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.
using -> use
| - **Security**: Dedicated security group with access from EKS cluster and nodes | ||
|
|
||
| ### Storage | ||
| - **S3 Bucket**: Dedicated bucket for Materialize persistence |
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.
table
| - **IAM Role**: IRSA role for Kubernetes service account access | ||
|
|
||
| ### Kubernetes Add-ons | ||
| - **AWS Load Balancer Controller**: For managing Network Load Balancers |
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.
table
| - **Self-signed ClusterIssuer**: Provides self-signed TLS certificates for Materialize instance internal communication (balancerd, console). Used by the Materialize instance for secure inter-component communication. | ||
|
|
||
| ### Materialize | ||
| - **Operator**: Materialize Kubernetes operator |
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.
table
|
|
||
| ```hcl | ||
| name_prefix = "simple-demo" | ||
| aws_region = "us-east-1" |
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.
should we mention as a comment that they can change the aws_region?
| name_prefix = "simple-demo" | ||
| aws_region = "us-east-1" | ||
| aws_profile = "your-aws-profile" | ||
| license_key = "your-materialize-license-key" # Get from https://materialize.com/self-managed/ |
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.
so no on the self-managed/ as the url
it's either self-manage/enterprise-license/ or self-manage/communit-license/
| @@ -0,0 +1,187 @@ | |||
| --- | |||
| title: "Upgrade Overview" | |||
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.
Oh ... this was incorporated into the landing page https://github.com/MaterializeInc/materialize/pull/34221/files#diff-eac74265be1711fcdccf99e1c740cdcc0054ab604c658782a67e6aa26daad915L15
So, I think this can go away?
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.
Oh yeah, I did just notice that, and I'm not sure I agree.
I knid of want the landing page portion to go away and think we should move back to an upgrade overview doc 😆
Probably best to chat through this through on zoom.
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.
It's only because of the current organization that it's included at the top. That is, for the upgrade landing page, we would want to reorg the other files.
Currently, as it stands, we have:
- Self-Managed Deployments
- Install on kind
- Upgrade
- Install on AWS
- TF
- TF Legacy
- Install
- Upgrade
- Req Config
- Install on Azure
- TF
- TF Legacy
- Install
- Upgrade
- Req Config
- ...
- Upgrading
- Install on kind
So ... we might want to go:
- Self-Managed Deployments
- Install
- Install on kind
- Install on AWS
- ...
- Upgrade <-- This can be the separate landing page overview.
- Upgrade on kind
- Upgrade on AWS
- ...
- Install
| - [Kind](/installation/install-on-local-kind/upgrade-on-local-kind/) | ||
| - [AWS](/installation/install-on-aws/legacy-terraform-module/upgrade/) | ||
| - [GCP](/installation/install-on-gcp/legacy-terraform-module/upgrade/) | ||
| - [Azure](/installation/install-on-azure/legacy-terraform-module/upgrade/) |
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.
These also only refer to the legacy.
Motivation
Revival of Jun's Pr to shift the cloud specific terraform install and upgrade structure +docs for the new terraform.