「k8s」- Ingress

  CREATE BY JENKINSBOT
原文链接:「k8s」- Ingress
文章分类:「Kubernetes_and_Docker:06.Kubernetes_API_Objects:Ingress:Create_Ingress」
文章标识:「0b4b1794」

# 创建Ingress服务

# ingress.yaml
apiVersion: extensions/v1beta1
kind: Ingress
metadata:
  name: nginx-default
spec:
  rules:
  - host: nginx.cinyi.com
    http:
      paths:
      - backend:
          serviceName: nginx-default
          servicePort: 80

参考文献