From 7f888c11f3bce54c15d837a092bbc8a3dfe442cf Mon Sep 17 00:00:00 2001 From: Seth Date: Tue, 21 May 2019 22:40:06 +0200 Subject: [PATCH] Pod yaml command and change pod curl (#14448) --- .../tutorials/configuration/configure-redis-using-configmap.md | 2 +- content/en/examples/pods/config/redis-pod.yaml | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/content/en/docs/tutorials/configuration/configure-redis-using-configmap.md b/content/en/docs/tutorials/configuration/configure-redis-using-configmap.md index df28e46692..3603f2e6d7 100644 --- a/content/en/docs/tutorials/configuration/configure-redis-using-configmap.md +++ b/content/en/docs/tutorials/configuration/configure-redis-using-configmap.md @@ -57,7 +57,7 @@ Add the pod resource config to the `kustomization.yaml`: {{< codenew file="pods/config/redis-pod.yaml" >}} ```shell -curl -OL https://k8s.io/examples/pods/config/redis-pod.yaml +curl -OL https://raw.githubusercontent.com/kubernetes/website/master/content/en/examples/pods/config/redis-pod.yaml cat <>./kustomization.yaml resources: diff --git a/content/en/examples/pods/config/redis-pod.yaml b/content/en/examples/pods/config/redis-pod.yaml index 4fc868e6af..b1714c26e5 100644 --- a/content/en/examples/pods/config/redis-pod.yaml +++ b/content/en/examples/pods/config/redis-pod.yaml @@ -6,6 +6,9 @@ spec: containers: - name: redis image: redis:5.0.4 + command: + - redis-server + - "/redis-master/redis.conf" env: - name: MASTER value: "true"