|
|
@@ -43,7 +43,7 @@ public class K8sIngressHandler extends AbstractHandler {
|
|
|
|
|
|
//1. ingress路径规则
|
|
|
Ingress.IngressRule ingressRule = new Ingress.IngressRule();
|
|
|
- ingressRule.setHost( deployName+"."+namespace + applicationProperties.getK8s().getIngressHostSuffix());
|
|
|
+ ingressRule.setHost( deployName+"-"+namespace + applicationProperties.getK8s().getIngressHostSuffix());
|
|
|
Ingress.IngressPath path = new Ingress.IngressPath();
|
|
|
path.setPath("/");
|
|
|
path.setPort(Integer.parseInt(servicePort));
|