diff --git a/deployment/templates/ingress.yaml b/deployment/templates/ingress.yaml new file mode 100644 index 0000000..396a03a --- /dev/null +++ b/deployment/templates/ingress.yaml @@ -0,0 +1,23 @@ +apiVersion: networking.k8s.io/v1 +kind: Ingress +metadata: + name: newsanalyzer-ingress +spec: + rules: + - host: newsanalyzer.io + http: + paths: + - path: / + pathType: Prefix + backend: + service: + name: web-service + port: + number: 8888 + - path: /monitoring + pathType: Prefix + backend: + service: + name: grafana-service + port: + number: 3000 \ No newline at end of file