Update deployment.yaml with new service configurations

This commit is contained in:
Dede Fuji Abdul 2024-01-15 15:18:22 +07:00
parent 6fedf73e0d
commit 764febed2b

View File

@ -21,13 +21,26 @@ spec:
apiVersion: v1
kind: Service
metadata:
name: apkt-eis-service
name: apkt-eis-nodeport
spec:
selector:
app: apkt-eis
ports:
- protocol: TCP
port: 80
port: 32166
targetPort: 80
type: NodePort
---
apiVersion: v1
kind: Service
metadata:
name: apkt-eis-clusterip
spec:
selector:
app: apkt-eis
ports:
- protocol: TCP
port: 32166
targetPort: 80
type: ClusterIP