调整网站结构

This commit is contained in:
huanqing.shao
2019-11-01 17:54:26 +08:00
parent f733109d1d
commit 8171e6ccce
26 changed files with 710 additions and 1058 deletions

View File

@ -0,0 +1,25 @@
---
vssueId: 57
sharingTitle: Kubernetes 核心概念详解之Ingress
layout: LearningLayout
description: Kubernetes教程_本文介绍如何配置Ingress annotations
meta:
- name: keywords
content: Kubernetes Ingress,Ingress,Ingress 注解,Ingress annotations,nginx-ingress
---
# Ingress 注解配置
## nginx-ingress
如果您参考 kuboard.cn 上提供的 Kubernetes 安装文档完成了 K8S 的安装,那么您应该已经安装了 nginx-ingress某些情况下您可能需要通过 Ingress 的注解来改变 Ingress 的某些行为,例如:
* 修改上传文件的大小限制 `nginx.org/client-max-body-size`
* 在开启 HTTPS 时,默认重定向到 HTTPS `nginx.org/redirect-to-https`
* 启用 websocket `nginx.org/websocket-services`
* 更多请参考文档 [nginx-ingress ConfigMap and Annotations](https://github.com/nginxinc/kubernetes-ingress/blob/master/docs/configmap-and-annotations.md)
## ingress-nginx
## traefic