新增learn-kubernetes(https://github.com/yyong-brs/learn-kubernetes)相关文件
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
apiVersion: networking.k8s.io/v1beta1
|
||||
kind: Ingress
|
||||
metadata:
|
||||
name: pi
|
||||
labels:
|
||||
kiamol: ch15
|
||||
annotations:
|
||||
nginx.ingress.kubernetes.io/proxy-buffering: "on"
|
||||
nginx.ingress.kubernetes.io/configuration-snippet: |
|
||||
proxy_cache static-cache;
|
||||
proxy_cache_valid 10m;
|
||||
spec:
|
||||
rules:
|
||||
- host: pi.kiamol.local
|
||||
http:
|
||||
paths:
|
||||
- path: /
|
||||
backend:
|
||||
serviceName: pi-web
|
||||
servicePort: 80
|
||||
Reference in New Issue
Block a user