Skip to content

Update/improve the "kubernetes-cluster" guide#20779

Closed
ptgott wants to merge 1 commit intomasterfrom
paul.gottschling/2023-01-26-kube-cluster
Closed

Update/improve the "kubernetes-cluster" guide#20779
ptgott wants to merge 1 commit intomasterfrom
paul.gottschling/2023-01-26-kube-cluster

Conversation

@ptgott
Copy link
Copy Markdown
Contributor

@ptgott ptgott commented Jan 26, 2023

I made these edits while testing out v12 while following our "kubernetes-cluster" guide.

Update the guide:

Move the guide to the "Try out Teleport" path, since it launches a small-scale cluster that isn't really production ready.

Minor edits for clarity:

  • Clarify that the Kubernetes version belongs to the deployment on your cloud provider and the Helm deployment is on your local machine.
  • Change the Admonition for local-only users to recommend the minikube guide, not the docker-compose guide.
  • Note that you can access the Kubernetes cluster in this setup

Make the guide easier to follow:

  • Use the Var component instead of env vars for installation instructions.
  • Include detailed instructions re: obtaining an Enterprise license
  • Add a step for verifying that Teleport has deployed
  • Require tsh as a prerequisite, rather than including installation instructions in the guide, since installation steps vary between environments
  • Use the teleport-cluster namespace for both OSS and Enterprise deployments so the instructions for accessing the cluster don't vary between editions.
  • Replace the use of the "dns.mdx" partial with custom instructions, since the partial's instructions for launching DNS records require the user to install a lot of software on one of the teleport-cluster chart's Kubernetes pods.
  • Move the SSO section to "Next steps". That section requires you to read a completely different guide, so I thought it would make sense to move this to "Next steps" to make this guide more self-contained.

@ptgott
Copy link
Copy Markdown
Contributor Author

ptgott commented Jan 26, 2023

I just noticed that a lot of this overlaps with work in #19881.

@zmb3
Copy link
Copy Markdown
Collaborator

zmb3 commented Jan 27, 2023

@ptgott should I review this now or wait until #19881?

@ptgott
Copy link
Copy Markdown
Contributor Author

ptgott commented Jan 27, 2023

@zmb3 Let's wait for #19881, and I'll rebase on top of that. I think that will be cleaner than the other way around.

I made these edits while testing out v12 while following our
"kubernetes-cluster" guide.

**Update the guide:**
- Specify that there are two pods deployed via the chart, not one
- Update the `/webapi/ping` example output.
- Add `kubernetes_resources` to the example role.
- Reference the config file in tctl commands to overcome #20346

**Move the guide** to the "Try out Teleport" path, since it launches a
small-scale cluster that isn't really production ready.

**Minor edits for clarity:**
- Clarify that the Kubernetes version belongs to the deployment on your
  cloud provider and the Helm deployment is on your local machine.
- Change the Admonition for local-only users to recommend the minikube
  guide, not the docker-compose guide.
- Note that you can access the Kubernetes cluster in this setup

**Make the guide easier to follow:**
- Use the `Var` component instead of env vars for installation
  instructions.
- Include detailed instructions re: obtaining an Enterprise license
- Add a step for verifying that Teleport has deployed
- Require tsh as a prerequisite, rather than including installation
  instructions in the guide, since installation steps vary between
  environments
- Use the `teleport-cluster` namespace for both OSS and Enterprise
  deployments so the instructions for accessing the cluster don't vary
  between editions.
- Replace the use of the "dns.mdx" partial with custom instructions,
  since the partial's instructions for launching DNS records require the
  user to install a lot of software on one of the `teleport-cluster`
  chart's Kubernetes pods.
- Move the SSO section to "Next steps". That section requires you to
  read a completely different guide, so I thought it would make sense to
  move this to "Next steps" to make this guide more self-contained.
@ptgott ptgott force-pushed the paul.gottschling/2023-01-26-kube-cluster branch from 0a4c4b2 to 8286a48 Compare January 27, 2023 22:58
@ptgott
Copy link
Copy Markdown
Contributor Author

ptgott commented Apr 27, 2023

Closing in favor of #25287

@ptgott ptgott closed this Apr 27, 2023
@ptgott ptgott deleted the paul.gottschling/2023-01-26-kube-cluster branch October 4, 2024 13:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants