Skip to content

Commit

Permalink
Add ingress controller
Browse files Browse the repository at this point in the history
  • Loading branch information
mapeveri committed Mar 25, 2024
1 parent a365661 commit ec6d473
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions .k8s/app-ingress.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: languages-app-ingress
annotations:
nginx.ingress.kubernetes.io/enable-access-log: "true"
nginx.ingress.kubernetes.io/access-log-path: "/var/log/nginx/access.log"
spec:
rules:
- http:
paths:
- path: /api
pathType: Prefix
backend:
service:
name: languages-app-api-service
port:
number: 80

0 comments on commit ec6d473

Please sign in to comment.