-
Notifications
You must be signed in to change notification settings - Fork 456
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
Use common includes for orchestration pages #18894
base: main
Are you sure you want to change the base?
Conversation
Files changed:
|
✅ Deploy Preview for cockroachdb-api-docs canceled.
|
✅ Deploy Preview for cockroachdb-interactivetutorials-docs canceled.
|
✅ Netlify Preview
To edit notification comments on pull requests, go to your Netlify site configuration. |
1711359
to
52a695e
Compare
428b2ee
to
60327b5
Compare
60327b5
to
194c07c
Compare
194c07c
to
ac733a6
Compare
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.
Blocking because a few files/filenames got mixed up here, causing the wrong content to be shown.
@@ -1,3 +1,3 @@ | |||
{{site.data.alerts.callout_success}} | |||
To deploy a free CockroachDB {{ site.data.products.cloud }} cluster instead of running CockroachDB yourself, see the <a href="{% link cockroachcloud/quickstart.md %}">Quickstart</a>. | |||
To deploy a free CockroachDB Cloud cluster instead of running CockroachDB yourself, see the [Quickstart]({% link cockroachcloud/quickstart.md %}). |
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.
Is there a reason the product variable was removed for Cloud?
~~~ | ||
1. Create a `my-values.yaml` file to override the defaults in `values.yaml`, substituting your own values in this example based on the guidelines below. | ||
|
||
{% include_cached copy-clipboard.html %} |
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 needs one more level of indentation. See in preview: https://deploy-preview-18894--cockroachdb-docs.netlify.app/docs/v22.2/deploy-cockroachdb-with-kubernetes-insecure.html?filters=helm
|
||
1. Use the file to create the StatefulSet and start the cluster: | ||
Modify the file wherever there is a `TODO` comment, then use the file to create the StatefulSet and start the cluster: |
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 needs the 1.
back. It's breaking the list and the snippet below. See: https://deploy-preview-18894--cockroachdb-docs.netlify.app/docs/v22.2/deploy-cockroachdb-with-kubernetes-insecure.html?
<section class="filter-content" markdown="1" data-scope="operator"> | ||
|
||
{% capture latest_operator_version %}{% include_cached latest_operator_version.md %}{% endcapture %} | ||
|
||
1. To use the CockroachDB SQL client, first launch a secure pod running the `cockroach` binary. | ||
1. From your local workstation, use the [Kubernetes Operator](https://github.com/cockroachdb/cockroach-operator/) file to launch a pod and keep it running indefinitely. | ||
|
||
{% include_cached copy-clipboard.html %} | ||
~~~ shell | ||
$ kubectl create \ | ||
-f https://raw.githubusercontent.com/cockroachdb/cockroach-operator/v{{ latest_operator_version }}/examples/client-secure-operator.yaml |
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 is pointing to a secure yaml, though. Do we have an insecure one for the Operator? Maybe this is why we never added an Operator option for the local insecure doc.
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 was incorrectly renamed to test-cluster-insecure
rather than test-cluster-secure
. So it's being included on the wrong doc.
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 like the wrong content? Should be Cluster Upgrades.
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.
Same comment as earlier; this is the wrong file content.
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
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
Within each major version, a series of pages about Kubernetes is driven by a series of includes about Kubernetes. Kubernetes itself is CRDB-version-agnostic. Rather than moving the content pages around, this PR shares the common includes related to Kubernetes among major version docs. This will ease maintenance of this content, and may also improve site build times by reducing the # of files being built.
This PR:
images/v24.2/kubernetes*.png
toimages/common/
_includes/v24.2/orchesteration/
to_includes/common/orchestration
_includes/common/orchestration
to point to the common content for their own includes and to use the common images._includes/v24.2
and no other v24.2 pages use the common images.v24.2/
to point to the common content for orchestration includes and images.cockroachcloud/use-cloud-instead.md
include to use a Markdown link.include
statements toinclude_cached
.Tests: