Pod yaml command and change pod curl (#14448)

This commit is contained in:
Seth
2019-05-21 22:40:06 +02:00
committed by Kubernetes Prow Robot
parent 5c89ab7218
commit 7f888c11f3
2 changed files with 4 additions and 1 deletions
@@ -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 <<EOF >>./kustomization.yaml
resources:
@@ -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"