forked from LaconicNetwork/kompose
#### What type of PR is this? <!-- Add one of the following kinds: /kind bug /kind cleanup /kind feature --> /kind documentation #### What this PR does / why we need it: We should not be using the outdated redis terms, instead redis now uses leader / replica. #### Which issue(s) this PR fixes: <!-- *Automatically closes linked issue when PR is merged. Usage: `Fixes #<issue number>`, or `Fixes (paste link of issue)`. --> N/A #### Special notes for your reviewer: N/A Signed-off-by: Charlie Drage <charlie@charliedrage.com>
19 lines
569 B
Markdown
19 lines
569 B
Markdown
---
|
|
# Feel free to add content and custom Front Matter to this file.
|
|
# To modify the layout, see https://jekyllrb.com/docs/themes/#overriding-theme-defaults
|
|
|
|
layout: index
|
|
---
|
|
|
|
```sh
|
|
$ kompose convert -f compose.yaml
|
|
|
|
$ kubectl apply -f .
|
|
|
|
$ kubectl get po
|
|
NAME READY STATUS RESTARTS AGE
|
|
frontend-591253677-5t038 1/1 Running 0 10s
|
|
redis-leader-2410703502-9hshf 1/1 Running 0 10s
|
|
redis-replica-4049176185-hr1lr 1/1 Running 0 10s
|
|
```
|