From 5559ebd2571e134cb583295d7f122ae1e149d883 Mon Sep 17 00:00:00 2001 From: Jakob Jarosch Date: Mon, 13 May 2019 19:43:02 +0200 Subject: [PATCH] Update 01-extract-state.md --- docs/tutorial/03-bonus/01-extract-state.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/tutorial/03-bonus/01-extract-state.md b/docs/tutorial/03-bonus/01-extract-state.md index 95cf80e..710b853 100644 --- a/docs/tutorial/03-bonus/01-extract-state.md +++ b/docs/tutorial/03-bonus/01-extract-state.md @@ -39,7 +39,7 @@ Copy the example `kubernetes-workshop/k8s-examples/statefulset.yml` to `k8s-file The example is for a MySQL database, we need to do some changes: 1. Change the name, serviceName, selector and label to `postgresql`. -2. Change the docker image to `postgresql:10.5`. +2. Change the docker image to `postgres:10.5`. 3. PostgreSQL does listen on port `5432`, change the `containerPort`. 4. PostgreSQL stored data in `/var/lib/postgresql/data` change the mount point of the volume. 5. PostgreSQL uses other environment variables to configure user, password and database.