forked from LaconicNetwork/kompose
Merge pull request #569 from procrypt/update_doc
Add warning about change in the service name.
This commit is contained in:
commit
079fad5c54
@ -394,5 +394,10 @@ services:
|
|||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
#### Warning about Deployment Config
|
#### Warning about Deployment Config's
|
||||||
|
|
||||||
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.
|
||||||
|
|
||||||
|
Please note that changing service name might break some `docker-compose` files.
|
||||||
Loading…
Reference in New Issue
Block a user