Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 052715d

Browse files
committed
add to template's README
1 parent f1e385e commit 052715d

File tree

1 file changed

+13
-2
lines changed

1 file changed

+13
-2
lines changed

examples/templates/kubernetes/README.md

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ icon: /icon/k8s.png
77

88
# Getting started
99

10-
This template creates a pod running the `codercom/enterprise-base:ubuntu` image.
10+
This template creates a deplyment running the `codercom/enterprise-base:ubuntu` image.
1111

1212
## Authentication
1313

@@ -62,7 +62,7 @@ You may want to deploy workspaces on a cluster outside of the Coder control plan
6262

6363
## Namespace
6464

65-
The target namespace in which the pod will be deployed is defined via the `coder_workspace`
65+
The target namespace in which the deployment will be deployed is defined via the `coder_workspace`
6666
variable. The namespace must exist prior to creating workspaces.
6767

6868
## Persistence
@@ -96,3 +96,14 @@ resource "coder_agent" "main" {
9696
`code-server` is installed via the `startup_script` argument in the `coder_agent`
9797
resource block. The `coder_app` resource is defined to access `code-server` through
9898
the dashboard UI over `localhost:13337`.
99+
100+
## Deployment logs
101+
102+
To stream kubernetes pods events from the deployment, you can use Coder's [`coder-logstream-kube`](https://github.com/coder/coder-logstream-kube) tool. This can stream logs from the deployment to Coder's workspace startup logs. You just need to install the `coder-kubestream-logs` helm chart on the cluster where the deployment is running.
103+
104+
```shell
105+
helm repo add coder-logstream-kube https://helm.coder.com/logstream-kube
106+
helm install coder-logstream-kube coder-logstream-kube/coder-logstream-kube \
107+
--namespace coder \
108+
--set url=<your-coder-url-including-http-or-https>
109+
```

0 commit comments

Comments
 (0)