|
@@ -90,7 +90,7 @@ spec:
|
|
|
value: "${params.env}"
|
|
|
EOF
|
|
|
|
|
|
- # 应用 NodePort Service(暴露端口为 30082)
|
|
|
+ # 应用 NodePort Service(暴露端口为 30085)
|
|
|
kubectl apply -n ${params.NAMESPACE} -f - <<EOF
|
|
|
apiVersion: v1
|
|
|
kind: Service
|
|
@@ -103,10 +103,10 @@ spec:
|
|
|
ports:
|
|
|
- port: 80
|
|
|
targetPort: 8080
|
|
|
- nodePort: 30082
|
|
|
+ nodePort: 30085
|
|
|
EOF
|
|
|
"""
|
|
|
- echo ">>> 部署完成 ✅,请访问:http://8.130.28.21:30082/"
|
|
|
+ echo ">>> 部署完成 ✅,请访问:http://47.121.135.46:30085/"
|
|
|
}
|
|
|
}
|
|
|
}
|