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
3 changed files with 6 additions and 2 deletions
+3
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)
+3
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)