• 设置包体大小 - 文件上传大小
  • 设置https
apiVersion: extensions/v1beta1
kind: Ingress
metadata:
  annotations:
    field.cattle.io/publicEndpoints: '[{"addresses":[""],"port":80,"protocol":"HTTP","serviceName":"xxx-system:xxx-gateway-backend","ingressName":"xxx-system:xxx-gateway","hostname":"gateway.xxx.xxx.com","path":"/","allNodes":false}]'
    nginx.ingress.kubernetes.io/proxy-body-size: 120M
  creationTimestamp: "2021-03-22T11:05:46Z"
  generation: 2
  labels:
    choerodon.io/release: xxx-gateway
  name: xxx-gateway
  namespace: xxx-system
  resourceVersion: "82465100"
spec:
  rules:
  - host: gateway.xxx.xxx.com
    http:
      paths:
      - backend:
          serviceName: xxx-gateway-backend
          servicePort: 8091
        path: /
  tls:
  - hosts:
    - xxx.xxx.com
    - '*.xxx.xxx.com'
    secretName: ingress-tls-xxx
status:
  loadBalancer:
    ingress:
    - hostname: localhost
Logo

K8S/Kubernetes社区为您提供最前沿的新闻资讯和知识内容

更多推荐