Update Dockerfile and Kubernetes manifests

This commit updates the Dockerfile to expose port 32166 instead of 15002. It also adds a new deployment.yaml file, an ingress.yaml file, and a service.yaml file for Kubernetes deployment. The deployment.yml file has been deleted.
This commit is contained in:
Dede Fuji Abdul
2024-01-15 12:07:30 +07:00
parent 9943d214d2
commit bfab727e59
5 changed files with 125 additions and 21 deletions

16
ingress.yaml Normal file
View File

@@ -0,0 +1,16 @@
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: apkt-eis-ingress
spec:
rules:
- host: localhost
http:
paths:
- path: /
pathType: Prefix
backend:
service:
name: apkt-eis-service
port:
number: 80