Skip to content

Commit

Permalink
Pod yaml command and change pod curl
Browse files Browse the repository at this point in the history
  • Loading branch information
Seth McCombs committed May 21, 2019
1 parent a98753c commit 345dd1e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
3 changes: 3 additions & 0 deletions content/en/examples/pods/config/redis-pod.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 345dd1e

Please sign in to comment.