Merge pull request #36604 from windsonsea/trcomen
Fix typos and layout: translate-compose-kubernetes.mdpull/36973/head
commit
c051e11e84
|
@ -56,7 +56,7 @@ go get -u github.com/kubernetes/kompose
|
||||||
{{% tab name="CentOS package" %}}
|
{{% tab name="CentOS package" %}}
|
||||||
|
|
||||||
Kompose is in [EPEL](https://fedoraproject.org/wiki/EPEL) CentOS repository.
|
Kompose is in [EPEL](https://fedoraproject.org/wiki/EPEL) CentOS repository.
|
||||||
If you don't have [EPEL](https://fedoraproject.org/wiki/EPEL) repository already installed and enabled you can do it by running `sudo yum install epel-release`
|
If you don't have [EPEL](https://fedoraproject.org/wiki/EPEL) repository already installed and enabled you can do it by running `sudo yum install epel-release`.
|
||||||
|
|
||||||
If you have [EPEL](https://fedoraproject.org/wiki/EPEL) enabled in your system, you can install Kompose like any other package.
|
If you have [EPEL](https://fedoraproject.org/wiki/EPEL) enabled in your system, you can install Kompose like any other package.
|
||||||
|
|
||||||
|
@ -76,7 +76,7 @@ sudo dnf -y install kompose
|
||||||
{{% /tab %}}
|
{{% /tab %}}
|
||||||
{{% tab name="Homebrew (macOS)" %}}
|
{{% tab name="Homebrew (macOS)" %}}
|
||||||
|
|
||||||
On macOS you can install latest release via [Homebrew](https://brew.sh):
|
On macOS you can install the latest release via [Homebrew](https://brew.sh):
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
brew install kompose
|
brew install kompose
|
||||||
|
@ -347,7 +347,7 @@ INFO Kubernetes file "redis-replicationcontroller.yaml" created
|
||||||
INFO Kubernetes file "web-replicationcontroller.yaml" created
|
INFO Kubernetes file "web-replicationcontroller.yaml" created
|
||||||
```
|
```
|
||||||
|
|
||||||
The `*-replicationcontroller.yaml` files contain the Replication Controller objects. If you want to specify replicas (default is 1), use `--replicas` flag: `kompose convert --replication-controller --replicas 3`
|
The `*-replicationcontroller.yaml` files contain the Replication Controller objects. If you want to specify replicas (default is 1), use `--replicas` flag: `kompose convert --replication-controller --replicas 3`.
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
kompose convert --daemon-set
|
kompose convert --daemon-set
|
||||||
|
@ -357,7 +357,7 @@ INFO Kubernetes file "redis-daemonset.yaml" created
|
||||||
INFO Kubernetes file "web-daemonset.yaml" created
|
INFO Kubernetes file "web-daemonset.yaml" created
|
||||||
```
|
```
|
||||||
|
|
||||||
The `*-daemonset.yaml` files contain the DaemonSet objects
|
The `*-daemonset.yaml` files contain the DaemonSet objects.
|
||||||
|
|
||||||
If you want to generate a Chart to be used with [Helm](https://github.com/kubernetes/helm) run:
|
If you want to generate a Chart to be used with [Helm](https://github.com/kubernetes/helm) run:
|
||||||
|
|
||||||
|
@ -477,7 +477,7 @@ services:
|
||||||
|
|
||||||
If the Docker Compose file has a volume specified for a service, the Deployment (Kubernetes) or DeploymentConfig (OpenShift) strategy is changed to "Recreate" instead of "RollingUpdate" (default). This is done to avoid multiple instances of a service from accessing a volume at the same time.
|
If the Docker Compose file has a volume specified for a service, the Deployment (Kubernetes) or DeploymentConfig (OpenShift) strategy is changed to "Recreate" instead of "RollingUpdate" (default). This is done to avoid multiple instances of a service from accessing a volume at the same time.
|
||||||
|
|
||||||
If the Docker Compose file has service name with `_` in it (eg.`web_service`), then it will be replaced by `-` and the service name will be renamed accordingly (eg.`web-service`). Kompose does this because "Kubernetes" doesn't allow `_` in object name.
|
If the Docker Compose file has service name with `_` in it (for example, `web_service`), then it will be replaced by `-` and the service name will be renamed accordingly (for example, `web-service`). Kompose does this because "Kubernetes" doesn't allow `_` in object name.
|
||||||
|
|
||||||
Please note that changing service name might break some `docker-compose` files.
|
Please note that changing service name might break some `docker-compose` files.
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue