57 lines
1.2 KiB
YAML
57 lines
1.2 KiB
YAML
---
|
|
apiVersion: networking.k8s.io/v1
|
|
kind: Ingress
|
|
metadata:
|
|
name: logmower-frontend
|
|
annotations:
|
|
kubernetes.io/ingress.class: erkiaas-yeaa8
|
|
traefik.ingress.kubernetes.io/router.entrypoints: websecure
|
|
traefik.ingress.kubernetes.io/router.tls: "true"
|
|
external-dns.alpha.kubernetes.io/target: traefik-yeaa8.codemowers.ee
|
|
spec:
|
|
rules:
|
|
- host: logs-yeaa8.codemowers.ee
|
|
http:
|
|
paths:
|
|
- pathType: Prefix
|
|
path: "/"
|
|
backend:
|
|
service:
|
|
name: logmower-frontend
|
|
port:
|
|
number: 8080
|
|
tls:
|
|
- hosts:
|
|
- "*.codemowers.ee"
|
|
---
|
|
apiVersion: v1
|
|
kind: Service
|
|
metadata:
|
|
name: logmower-frontend
|
|
spec:
|
|
type: ClusterIP
|
|
selector:
|
|
app: logmower-frontend
|
|
ports:
|
|
- protocol: TCP
|
|
port: 8080
|
|
---
|
|
apiVersion: apps/v1
|
|
kind: Deployment
|
|
metadata:
|
|
name: logmower-frontend
|
|
spec:
|
|
selector:
|
|
matchLabels:
|
|
app: logmower-frontend
|
|
template:
|
|
metadata:
|
|
labels:
|
|
app: logmower-frontend
|
|
spec:
|
|
containers:
|
|
- name: logmower-frontend
|
|
image: harbor.codemowers.eu/eaas/logmower-frontend
|
|
ports:
|
|
- containerPort: 8080
|