Update docs (#1342)

This commit is contained in:
Hang Yan 2020-11-03 14:50:13 +08:00 committed by GitHub
parent c0f485b4e1
commit ee3ae26198
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 6 additions and 2 deletions

View File

@ -58,8 +58,6 @@ __Windows:__
Download from [GitHub](https://github.com/kubernetes/kompose/releases/download/v1.22.0/kompose-windows-amd64.exe) and add the binary to your PATH.
Note: `kompose up` is not supported on windows.
## Shell autocompletion
We support both Bash and Zsh autocompletion.

View File

@ -1201,6 +1201,9 @@ func (k *Kubernetes) Transform(komposeObject kobject.KomposeObject, opt kobject.
for _, svc := range svcs {
objects = append(objects, svc)
}
if len(svcs) > 1 {
log.Warningf("Create multiple service to avoid using mixed protocol in the same service when it's loadbalander type")
}
} else {
svc := k.CreateService(name, service, objects)
objects = append(objects, svc)

View File

@ -405,6 +405,9 @@ func (o *OpenShift) Transform(komposeObject kobject.KomposeObject, opt kobject.C
for _, svc := range svcs {
objects = append(objects, svc)
}
if len(svcs) > 1 {
log.Warningf("Create multiple service to avoid using mixed protocol in the same service when it's loadbalander type")
}
} else {
svc := o.CreateService(name, service, objects)
objects = append(objects, svc)