This commit is contained in:
1 parent
ab37baa6e4
commit
15cfa078bf
6 files changed
+4
-47
No files matched your search
@@ -1,21 +0,0 @@
|
||||
apiVersion: networking.k8s.io/v1
|
||||
kind: Ingress
|
||||
metadata:
|
||||
name: demo
|
||||
namespace: platform-release
|
||||
annotations:
|
||||
traefik.ingress.kubernetes.io/router.entrypoints: web
|
||||
traefik.ingress.kubernetes.io/router.priority: '100'
|
||||
spec:
|
||||
ingressClassName: traefik
|
||||
rules:
|
||||
- host: demo.5dev.cn
|
||||
http:
|
||||
paths:
|
||||
- path: /
|
||||
pathType: Prefix
|
||||
backend:
|
||||
service:
|
||||
name: demo
|
||||
port:
|
||||
name: http
|
||||
@@ -2,4 +2,3 @@ apiVersion: kustomize.config.k8s.io/v1beta1
|
||||
kind: Kustomization
|
||||
resources:
|
||||
- service.yaml
|
||||
- ingress.yaml
|
||||
@@ -2,6 +2,5 @@
|
||||
"project": "demo",
|
||||
"development_port": 18080,
|
||||
"production_port": 28080,
|
||||
"host": "demo.5dev.cn",
|
||||
"expected_body": "hello world\n"
|
||||
}
|
||||
Reference in new issue
Block a user