Merge pull request #25710 from guzj11/patch-55

Update translate-compose-kubernetes.md
pull/25713/head
Kubernetes Prow Robot 2020-12-18 18:42:25 -08:00 committed by GitHub
commit 7a9a547fc3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

View File

@ -877,6 +877,8 @@ Please note that changing service name might break some `docker-compose` files.
那么将会被替换为 `-`,服务也相应的会重命名(例如 `web-service`)。
Kompose 这样做的原因是 "Kubernetes" 不允许对象名称中包含 `_`
请注意,更改服务名称可能会破坏一些 `docker-compose` 文件。
<!--
## Docker Compose Versions