mirror of
https://github.com/coder/coder.git
synced 2026-09-24 15:04:27 +08:00
docs: convert alerts to use GitHub Flavored Markdown (GFM) (#16850)
followup to #16761 thanks @lucasmelin ! + thanks: @ethanndickson @Parkreiner @matifali @aqandrew - [x] update snippet - [x] find/replace - [x] spot-check [preview](https://coder.com/docs/@16761-gfm-callouts/admin/templates/managing-templates/schedule) (and others) --------- Co-authored-by: EdwardAngert <17991901+EdwardAngert@users.noreply.github.com> Co-authored-by: M Atif Ali <atif@coder.com>
This commit is contained in:
co-authored by
EdwardAngert
M Atif Ali
parent
e817713dc0
commit
101b62dc3e
+4
-6
@@ -22,7 +22,8 @@ alternate installation methods (e.g. standalone binaries, system packages).
|
||||
|
||||
## Windows
|
||||
|
||||
> **Important:** If you plan to use the built-in PostgreSQL database, you will
|
||||
> [!IMPORTANT]
|
||||
> If you plan to use the built-in PostgreSQL database, you will
|
||||
> need to ensure that the
|
||||
> [Visual C++ Runtime](https://learn.microsoft.com/en-US/cpp/windows/latest-supported-vc-redist#latest-microsoft-visual-c-redistributable-version)
|
||||
> is installed.
|
||||
@@ -58,11 +59,8 @@ coder login https://coder.example.com
|
||||
|
||||
## Download the CLI from your deployment
|
||||
|
||||
<blockquote class="admonition note">
|
||||
|
||||
Available in Coder 2.19 and newer.
|
||||
|
||||
</blockquote>
|
||||
> [!NOTE]
|
||||
> Available in Coder 2.19 and newer.
|
||||
|
||||
Every Coder server hosts CLI binaries for all supported platforms. You can run a
|
||||
script to download the appropriate CLI for your machine from your Coder
|
||||
|
||||
@@ -79,11 +79,8 @@ Coder's [configuration options](../admin/setup/index.md).
|
||||
|
||||
## Install the preview release
|
||||
|
||||
<blockquote class="tip">
|
||||
|
||||
We do not recommend using preview releases in production environments.
|
||||
|
||||
</blockquote>
|
||||
> [!TIP]
|
||||
> We do not recommend using preview releases in production environments.
|
||||
|
||||
You can install and test a
|
||||
[preview release of Coder](https://github.com/coder/coder/pkgs/container/coder-preview)
|
||||
|
||||
@@ -29,7 +29,8 @@ alternate installation methods (e.g. standalone binaries, system packages).
|
||||
|
||||
## Windows
|
||||
|
||||
> **Important:** If you plan to use the built-in PostgreSQL database, you will
|
||||
> [!IMPORTANT]
|
||||
> If you plan to use the built-in PostgreSQL database, you will
|
||||
> need to ensure that the
|
||||
> [Visual C++ Runtime](https://learn.microsoft.com/en-US/cpp/windows/latest-supported-vc-redist#latest-microsoft-visual-c-redistributable-version)
|
||||
> is installed.
|
||||
|
||||
@@ -116,11 +116,11 @@ coder:
|
||||
# - my-tls-secret-name
|
||||
```
|
||||
|
||||
> You can view our
|
||||
> [Helm README](https://github.com/coder/coder/blob/main/helm#readme) for
|
||||
> details on the values that are available, or you can view the
|
||||
> [values.yaml](https://github.com/coder/coder/blob/main/helm/coder/values.yaml)
|
||||
> file directly.
|
||||
You can view our
|
||||
[Helm README](https://github.com/coder/coder/blob/main/helm#readme) for
|
||||
details on the values that are available, or you can view the
|
||||
[values.yaml](https://github.com/coder/coder/blob/main/helm/coder/values.yaml)
|
||||
file directly.
|
||||
|
||||
We support two release channels: mainline and stable - read the
|
||||
[Releases](./releases.md) page to learn more about which best suits your team.
|
||||
|
||||
@@ -3,8 +3,8 @@
|
||||
All Coder features are supported in offline / behind firewalls / in air-gapped
|
||||
environments. However, some changes to your configuration are necessary.
|
||||
|
||||
> This is a general comparison. Keep reading for a full tutorial running Coder
|
||||
> offline with Kubernetes or Docker.
|
||||
This is a general comparison. Keep reading for a full tutorial running Coder
|
||||
offline with Kubernetes or Docker.
|
||||
|
||||
| | Public deployments | Offline deployments |
|
||||
|--------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
|
||||
@@ -31,7 +31,8 @@ following:
|
||||
[network mirror](https://www.terraform.io/internals/provider-network-mirror-protocol).
|
||||
See below for details.
|
||||
|
||||
> Note: Coder includes the latest
|
||||
> [!NOTE]
|
||||
> Coder includes the latest
|
||||
> [supported version](https://github.com/coder/coder/blob/main/provisioner/terraform/install.go#L23-L24)
|
||||
> of Terraform in the official Docker images. If you need to bundle a different
|
||||
> version of terraform, you can do so by customizing the image.
|
||||
@@ -112,6 +113,7 @@ USER coder
|
||||
ENV TF_CLI_CONFIG_FILE=/home/coder/.terraformrc
|
||||
```
|
||||
|
||||
> [!NOTE]
|
||||
> If you are bundling Terraform providers into your Coder image, be sure the
|
||||
> provider version matches any templates or
|
||||
> [example templates](https://github.com/coder/coder/tree/main/examples/templates)
|
||||
@@ -174,10 +176,10 @@ services:
|
||||
# ...
|
||||
```
|
||||
|
||||
> The
|
||||
> [terraform providers mirror](https://www.terraform.io/cli/commands/providers/mirror)
|
||||
> command can be used to download the required plugins for a Coder template.
|
||||
> This can be uploaded into the `plugins` directory on your offline server.
|
||||
The
|
||||
[terraform providers mirror](https://www.terraform.io/cli/commands/providers/mirror)
|
||||
command can be used to download the required plugins for a Coder template.
|
||||
This can be uploaded into the `plugins` directory on your offline server.
|
||||
|
||||
### Kubernetes
|
||||
|
||||
|
||||
@@ -32,7 +32,8 @@ values:
|
||||
The below values are modified from Coder defaults and allow the Coder deployment
|
||||
to run under the SCC `restricted-v2`.
|
||||
|
||||
> Note: `readOnlyRootFilesystem: true` is not technically required under
|
||||
> [!NOTE]
|
||||
> `readOnlyRootFilesystem: true` is not technically required under
|
||||
> `restricted-v2`, but is often mandated in OpenShift environments.
|
||||
|
||||
```yaml
|
||||
@@ -92,7 +93,8 @@ To fix this, you can mount a temporary volume in the pod and set the
|
||||
example, we mount this under `/tmp` and set the cache location to `/tmp/coder`.
|
||||
This enables Coder to run with `readOnlyRootFilesystem: true`.
|
||||
|
||||
> Note: Depending on the number of templates and provisioners you use, you may
|
||||
> [!NOTE]
|
||||
> Depending on the number of templates and provisioners you use, you may
|
||||
> need to increase the size of the volume, as the `coder` pod will be
|
||||
> automatically restarted when this volume fills up.
|
||||
|
||||
@@ -128,7 +130,8 @@ coder:
|
||||
readOnly: false
|
||||
```
|
||||
|
||||
> Note: OpenShift provides a Developer Catalog offering you can use to install
|
||||
> [!NOTE]
|
||||
> OpenShift provides a Developer Catalog offering you can use to install
|
||||
> PostgreSQL into your cluster.
|
||||
|
||||
### 4. Create the OpenShift route
|
||||
@@ -176,7 +179,8 @@ helm install coder coder-v2/coder \
|
||||
--values values.yaml
|
||||
```
|
||||
|
||||
> Note: If the Helm installation fails with a Kubernetes RBAC error, check the
|
||||
> [!NOTE]
|
||||
> If the Helm installation fails with a Kubernetes RBAC error, check the
|
||||
> permissions of your OpenShift user using the `oc auth can-i` command.
|
||||
>
|
||||
> The below permissions are the minimum required:
|
||||
|
||||
@@ -34,8 +34,8 @@ only for security issues or CVEs.
|
||||
|
||||
- In-product security vulnerabilities and CVEs are supported
|
||||
|
||||
> For more information on feature rollout, see our
|
||||
> [feature stages documentation](../about/feature-stages.md).
|
||||
For more information on feature rollout, see our
|
||||
[feature stages documentation](../about/feature-stages.md).
|
||||
|
||||
## Installing stable
|
||||
|
||||
@@ -66,7 +66,8 @@ pages.
|
||||
| 2.19.x | February 04, 2024 | Stable |
|
||||
| 2.20.x | March 05, 2024 | Mainline |
|
||||
|
||||
> **Tip**: We publish a
|
||||
> [!TIP]
|
||||
> We publish a
|
||||
> [`preview`](https://github.com/coder/coder/pkgs/container/coder-preview) image
|
||||
> `ghcr.io/coder/coder-preview` on each commit to the `main` branch. This can be
|
||||
> used to test under-development features and bug fixes that have not yet been
|
||||
|
||||
@@ -68,9 +68,9 @@ sudo rm /etc/coder.d/coder.env
|
||||
|
||||
## Coder settings, cache, and the optional built-in PostgreSQL database
|
||||
|
||||
> There is a `postgres` directory within the `coderv2` directory that has the
|
||||
> database engine and database. If you want to reuse the database, consider not
|
||||
> performing the following step or copying the directory to another location.
|
||||
There is a `postgres` directory within the `coderv2` directory that has the
|
||||
database engine and database. If you want to reuse the database, consider not
|
||||
performing the following step or copying the directory to another location.
|
||||
|
||||
<div class="tabs">
|
||||
|
||||
|
||||
@@ -2,12 +2,9 @@
|
||||
|
||||
This article walks you through how to upgrade your Coder server.
|
||||
|
||||
<blockquote class="danger">
|
||||
<p>
|
||||
Prior to upgrading a production Coder deployment, take a database snapshot since
|
||||
Coder does not support rollbacks.
|
||||
</p>
|
||||
</blockquote>
|
||||
> [!CAUTION]
|
||||
> Prior to upgrading a production Coder deployment, take a database snapshot since
|
||||
> Coder does not support rollbacks.
|
||||
|
||||
To upgrade your Coder server, simply reinstall Coder using your original method
|
||||
of [install](../install).
|
||||
|
||||
Reference in New Issue
Block a user