kubernetes ingress 简写

2019-03-27  本文已影响0人  Fonzie
spec:
  rules:
  - host: foobar.com
    http: &http_rules
      paths:
      - backend:
          serviceName: foobar
          servicePort: 80
  - host: api.foobar.com
    http: *http_rules
  - host: admin.foobar.com
    http: *http_rules
  - host: status.foobar.com
    http: *http_rules
上一篇 下一篇

猜你喜欢

热点阅读