Update deployment.yaml with new service configurations
This commit is contained in:
@ -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
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user