From e61647735e78e68e9919553dc28129846a01591c Mon Sep 17 00:00:00 2001 From: James Ottaway Date: Wed, 14 Sep 2022 21:36:58 +1000 Subject: [PATCH 1/2] Fix `kubectl get pods` command It was missing the namespace used in the rest of the tutorial. --- docs/install/kubernetes.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/install/kubernetes.md b/docs/install/kubernetes.md index 12bc8d7cd42a3..2c405dfccbbd3 100644 --- a/docs/install/kubernetes.md +++ b/docs/install/kubernetes.md @@ -119,7 +119,7 @@ to log in and manage templates. --values values.yaml ``` - You can watch Coder start up by running `kubectl get pods`. Once Coder has + You can watch Coder start up by running `kubectl get pods -n coder`. Once Coder has started, the `coder-*` pods should enter the `Running` state. 1. Log in to Coder From 0710543c4d2ac71130a0bf600fb58d7608740943 Mon Sep 17 00:00:00 2001 From: James Ottaway Date: Wed, 14 Sep 2022 23:10:43 +1000 Subject: [PATCH 2/2] Fix the `coder-db-url` secret's hostname --- docs/install/kubernetes.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/install/kubernetes.md b/docs/install/kubernetes.md index 2c405dfccbbd3..fafd7227c1999 100644 --- a/docs/install/kubernetes.md +++ b/docs/install/kubernetes.md @@ -66,7 +66,7 @@ to log in and manage templates. # Uses Bitnami PostgreSQL example. If you have another database, # change to the proper URL. kubectl create secret generic coder-db-url -n coder \ - --from-literal=url="postgres://coder:coder@postgres-postgresql.coder.svc.cluster.local:5432/coder?sslmode=disable" + --from-literal=url="postgres://coder:coder@coder-db-postgresql.coder.svc.cluster.local:5432/coder?sslmode=disable" ``` 1. Create a `values.yaml` with the configuration settings you'd like for your