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 apiVersion: v1
kind: Service kind: Service
metadata: metadata:
name: apkt-eis-service name: apkt-eis-nodeport
spec: spec:
selector: selector:
app: apkt-eis app: apkt-eis
ports: ports:
- protocol: TCP - protocol: TCP
port: 80 port: 32166
targetPort: 80 targetPort: 80
type: NodePort 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