当前位置: Http > K8S > k8s ingress

k8s ingress

2024-06-11 分类:K8S 作者:admin 阅读(30)

ingress nginx生效:
spec:
rules:
- host: ingress.jinli.vip
http:
paths:
- path: /api/order/
pathType: Prefix
backend:
serviceName: order-service
servicePort: 18081

这个18081是order-service的
"spec": {
"ports": [
{
"name": "http",
"protocol": "TCP",
"port": 18081,
"targetPort": 8888,
"nodePort": 31081
}
],

「三年博客,如果觉得我的文章对您有用,请帮助本站成长」

赞(0) 打赏

支付宝
微信
0

支付宝
微信
标签:

上一篇:

下一篇:

你可能感兴趣

共有 0 - k8s ingress

博客简介

精彩评论

  • admin(6年前 (2020-03-09))

    分别用不同厚度的筏板定义,画图后这设置筏板变截面处理。 http://f.fwxgx.co...

    评:新文章!
  • admin(6年前 (2020-03-09))

    分别用不同厚度的筏板定义,画图后这设置筏板变截面处理。 http://f.fwxgx.co...

    评:新文章!
  • admin(6年前 (2020-03-09))

    新增一个框架图! http://biji.jinli.vip/wp-content/upl...

    评:新文章!
  • 一位WordPress评论者(6年前 (2020-02-13))

    嗨,这是一条评论。 要开始审核、编辑及删除评论,请访问仪表盘的“评论”页面。 评论者头像来自...

    评:世界,您好!