forked from LaconicNetwork/kompose
replace wording (#1682)
#### What type of PR is this? <!-- Add one of the following kinds: /kind bug /kind cleanup /kind documentation /kind feature --> replaces wording to replica #### What this PR does / why we need it: #### Which issue(s) this PR fixes: <!-- *Automatically closes linked issue when PR is merged. Usage: `Fixes #<issue number>`, or `Fixes (paste link of issue)`. --> Fixes # #### Special notes for your reviewer: Signed-off-by: Charlie Drage <charlie@charliedrage.com>
This commit is contained in:
parent
1f1fc20204
commit
c77a9bdfc9
@ -58,10 +58,10 @@ Run `kompose convert` in the same directory as your `docker-compose.yaml` file.
|
||||
$ kompose convert
|
||||
INFO Kubernetes file "frontend-service.yaml" created
|
||||
INFO Kubernetes file "redis-master-service.yaml" created
|
||||
INFO Kubernetes file "redis-slave-service.yaml" created
|
||||
INFO Kubernetes file "redis-replica-service.yaml" created
|
||||
INFO Kubernetes file "frontend-deployment.yaml" created
|
||||
INFO Kubernetes file "redis-master-deployment.yaml" created
|
||||
INFO Kubernetes file "redis-slave-deployment.yaml" created
|
||||
INFO Kubernetes file "redis-replica-deployment.yaml" created
|
||||
```
|
||||
|
||||
Then you can use `kubectl apply` to create these resources in Kubernetes.
|
||||
@ -148,13 +148,13 @@ Run `kompose convert --provider=openshift` in the same directory as your `docker
|
||||
$ kompose convert --provider=openshift
|
||||
INFO OpenShift file "frontend-service.yaml" created
|
||||
INFO OpenShift file "redis-master-service.yaml" created
|
||||
INFO OpenShift file "redis-slave-service.yaml" created
|
||||
INFO OpenShift file "redis-replica-service.yaml" created
|
||||
INFO OpenShift file "frontend-deploymentconfig.yaml" created
|
||||
INFO OpenShift file "frontend-imagestream.yaml" created
|
||||
INFO OpenShift file "redis-master-deploymentconfig.yaml" created
|
||||
INFO OpenShift file "redis-master-imagestream.yaml" created
|
||||
INFO OpenShift file "redis-slave-deploymentconfig.yaml" created
|
||||
INFO OpenShift file "redis-slave-imagestream.yaml" created
|
||||
INFO OpenShift file "redis-replica-deploymentconfig.yaml" created
|
||||
INFO OpenShift file "redis-replica-imagestream.yaml" created
|
||||
```
|
||||
|
||||
Then you can use `kubectl apply` to create these resources in OpenShift cluster.
|
||||
@ -268,13 +268,13 @@ Run `kompose convert --provider=openshift` in the same directory as your `docker
|
||||
$ kompose convert --provider=openshift
|
||||
INFO OpenShift file "frontend-service.yaml" created
|
||||
INFO OpenShift file "redis-master-service.yaml" created
|
||||
INFO OpenShift file "redis-slave-service.yaml" created
|
||||
INFO OpenShift file "redis-replica-service.yaml" created
|
||||
INFO OpenShift file "frontend-deploymentconfig.yaml" created
|
||||
INFO OpenShift file "frontend-imagestream.yaml" created
|
||||
INFO OpenShift file "redis-master-deploymentconfig.yaml" created
|
||||
INFO OpenShift file "redis-master-imagestream.yaml" created
|
||||
INFO OpenShift file "redis-slave-deploymentconfig.yaml" created
|
||||
INFO OpenShift file "redis-slave-imagestream.yaml" created
|
||||
INFO OpenShift file "redis-replica-deploymentconfig.yaml" created
|
||||
INFO OpenShift file "redis-replica-imagestream.yaml" created
|
||||
```
|
||||
|
||||
Then you can use `kubectl apply` to create these resources in OpenShift.
|
||||
|
||||
@ -14,5 +14,5 @@ $ kubectl get po
|
||||
NAME READY STATUS RESTARTS AGE
|
||||
frontend-591253677-5t038 1/1 Running 0 10s
|
||||
redis-master-2410703502-9hshf 1/1 Running 0 10s
|
||||
redis-slave-4049176185-hr1lr 1/1 Running 0 10s
|
||||
redis-replica-4049176185-hr1lr 1/1 Running 0 10s
|
||||
```
|
||||
|
||||
@ -49,18 +49,18 @@ INFO Kubernetes file "frontend-service.yaml" created
|
||||
INFO Kubernetes file "mlbparks-service.yaml" created
|
||||
INFO Kubernetes file "mongodb-service.yaml" created
|
||||
INFO Kubernetes file "redis-master-service.yaml" created
|
||||
INFO Kubernetes file "redis-slave-service.yaml" created
|
||||
INFO Kubernetes file "redis-replica-service.yaml" created
|
||||
INFO Kubernetes file "frontend-deployment.yaml" created
|
||||
INFO Kubernetes file "mlbparks-deployment.yaml" created
|
||||
INFO Kubernetes file "mongodb-deployment.yaml" created
|
||||
INFO Kubernetes file "mongodb-claim0-persistentvolumeclaim.yaml" created
|
||||
INFO Kubernetes file "redis-master-deployment.yaml" created
|
||||
INFO Kubernetes file "redis-slave-deployment.yaml" created
|
||||
INFO Kubernetes file "redis-replica-deployment.yaml" created
|
||||
|
||||
$ ls
|
||||
mlbparks-deployment.yaml mongodb-service.yaml redis-slave-service.jsonmlbparks-service.yaml
|
||||
mlbparks-deployment.yaml mongodb-service.yaml redis-replica-service.jsonmlbparks-service.yaml
|
||||
frontend-deployment.yaml mongodb-claim0-persistentvolumeclaim.yaml redis-master-service.yaml
|
||||
frontend-service.yaml mongodb-deployment.yaml redis-slave-deployment.yaml
|
||||
frontend-service.yaml mongodb-deployment.yaml redis-replica-deployment.yaml
|
||||
redis-master-deployment.yaml
|
||||
```
|
||||
|
||||
|
||||
2
index.md
2
index.md
@ -32,7 +32,7 @@ $ kubectl get po
|
||||
NAME READY STATUS RESTARTS AGE
|
||||
frontend-591253677-5t038 1/1 Running 0 10s
|
||||
redis-master-2410703502-9hshf 1/1 Running 0 10s
|
||||
redis-slave-4049176185-hr1lr 1/1 Running 0 10s
|
||||
redis-replica-4049176185-hr1lr 1/1 Running 0 10s
|
||||
```
|
||||
|
||||
A more detailed guide is available in our [getting started guide](/docs/getting-started.md).
|
||||
|
||||
Loading…
Reference in New Issue
Block a user