2024-10-16 21:01:40 +02:00
|
|
|
---
|
2024-10-16 21:57:05 +02:00
|
|
|
apiVersion: v1
|
|
|
|
kind: Service
|
|
|
|
metadata:
|
|
|
|
name: woodpecker-grpc
|
|
|
|
namespace: woodpecker
|
|
|
|
annotations:
|
|
|
|
traefik.ingress.kubernetes.io/service.serversscheme: h2c
|
|
|
|
spec:
|
|
|
|
selector:
|
|
|
|
app.kubernetes.io/instance: woodpecker
|
|
|
|
app.kubernetes.io/name: server
|
|
|
|
ports:
|
|
|
|
- name: grpc
|
|
|
|
protocol: TCP
|
|
|
|
port: 9000
|
|
|
|
targetPort: grpc
|
|
|
|
---
|
2024-10-16 21:01:40 +02:00
|
|
|
apiVersion: networking.k8s.io/v1
|
|
|
|
kind: Ingress
|
|
|
|
metadata:
|
|
|
|
annotations:
|
|
|
|
kubernetes.io/tls-acme: "true"
|
2024-10-16 21:57:05 +02:00
|
|
|
traefik.ingress.kubernetes.io/loadbalancer.server.scheme: h2c
|
2024-10-16 21:01:40 +02:00
|
|
|
traefik.ingress.kubernetes.io/service.serversscheme: h2c
|
|
|
|
name: woodpecker-grpc
|
|
|
|
namespace: woodpecker
|
|
|
|
spec:
|
|
|
|
rules:
|
|
|
|
- host: "woodpecker-grpc.apps.yolokube.de"
|
|
|
|
http:
|
|
|
|
paths:
|
|
|
|
- pathType: Prefix
|
|
|
|
path: "/"
|
|
|
|
backend:
|
|
|
|
service:
|
2024-10-16 21:57:05 +02:00
|
|
|
name: woodpecker-grpc
|
2024-10-16 21:01:40 +02:00
|
|
|
port:
|
|
|
|
name: grpc
|
|
|
|
tls:
|
|
|
|
- hosts:
|
|
|
|
- woodpecker-grpc.apps.yolokube.de
|
|
|
|
secretName: woodpecker-grpc-tls-key
|