Add test
This commit is contained in:
commit
21c57550c1
47
clank/apps/test/app.yaml
Normal file
47
clank/apps/test/app.yaml
Normal file
@ -0,0 +1,47 @@
|
||||
apiVersion: v1
|
||||
kind: Service
|
||||
metadata:
|
||||
name: test-service
|
||||
spec:
|
||||
ports:
|
||||
- port: 80
|
||||
protocol: TCP
|
||||
targetPort: 80
|
||||
selector:
|
||||
run: test
|
||||
---
|
||||
apiVersion: v1
|
||||
kind: Pod
|
||||
metadata:
|
||||
labels:
|
||||
run: test
|
||||
name: test
|
||||
spec:
|
||||
containers:
|
||||
- image: nginx
|
||||
name: test
|
||||
ports:
|
||||
- containerPort: 80
|
||||
---
|
||||
apiVersion: networking.k8s.io/v1
|
||||
kind: Ingress
|
||||
metadata:
|
||||
name: nginx-ingress
|
||||
annotations:
|
||||
traefik.ingress.kubernetes.io/router.tls: "true"
|
||||
traefik.ingress.kubernetes.io/router.tls.certresolver: le
|
||||
spec:
|
||||
tls:
|
||||
- hosts:
|
||||
- test.kjuulh.app
|
||||
rules:
|
||||
- host: test.kjuulh.app
|
||||
http:
|
||||
paths:
|
||||
- path: /
|
||||
pathType: Prefix
|
||||
backend:
|
||||
service:
|
||||
name: test-service
|
||||
port:
|
||||
number: 80
|
Loading…
Reference in New Issue
Block a user