Added initial configuration to deploy user microservice

This commit is contained in:
Marcin-Ramotowski
2025-05-05 20:31:58 +00:00
commit fc1d4f5154
2 changed files with 123 additions and 0 deletions

20
ingress.yaml Normal file
View File

@ -0,0 +1,20 @@
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: user-microservice-ingress
namespace: user-microservice
annotations:
nginx.ingress.kubernetes.io/rewrite-target: /
spec:
ingressClassName: nginx
rules:
- host: todolist.marcin00.pl
http:
paths:
- path: /
pathType: Prefix
backend:
service:
name: api
port:
number: 80