热门标签 | HotTags
当前位置:  开发笔记 > 编程语言 > 正文

k8s中ingress相关配置

设置包体大小-文件上传大小设置httpsapiVersion:extensionsv1beta1kind:Ingressmetadata:annotations:field.
  • 设置包体大小 - 文件上传大小
  • 设置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: 120McreationTimestamp: "2021-03-22T11:05:46Z"generation: 2labels:choerodon.io/release: xxx-gatewayname: xxx-gatewaynamespace: xxx-systemresourceVersion: "82465100"selfLink: /apis/extensions/v1beta1/namespaces/xxx-system/ingresses/xxx-gatewayuid: 8dab630e-8afe-11eb-8144-fa163e0a1bb5
spec:rules:- host: gateway.xxx.xxx.comhttp:paths:- backend:serviceName: xxx-gateway-backendservicePort: 8091path: /tls:- hosts:- xxx.crcloud.com- '*.xxx.xxx.com'secretName: ingress-tls-xxx
status:loadBalancer:ingress:- hostname: localhost


推荐阅读
author-avatar
踢出个未来为我鼓掌
这个家伙很懒,什么也没留下!
PHP1.CN | 中国最专业的PHP中文社区 | DevBox开发工具箱 | json解析格式化 |PHP资讯 | PHP教程 | 数据库技术 | 服务器技术 | 前端开发技术 | PHP框架 | 开发工具 | 在线工具
Copyright © 1998 - 2020 PHP1.CN. All Rights Reserved | 京公网安备 11010802041100号 | 京ICP备19059560号-4 | PHP1.CN 第一PHP社区 版权所有