Update deployment and service configuration

This commit is contained in:
Dede Fuji Abdul
2024-01-15 13:57:28 +07:00
parent f97a8caf4b
commit 636ee6967b

View File

@ -1,37 +1,19 @@
apiVersion: apps/v1
kind: Deployment
metadata:
name: apkt-eis
name: my-vue-app
spec:
progressDeadlineSeconds: 600
replicas: 3
revisionHistoryLimit: 10
selector:
matchLabels:
app: apkt-eis
strategy:
rollingUpdate:
maxSurge: 0
maxUnavailable: 100%
type: RollingUpdate
---
apiVersion: v1
kind: Service
metadata:
name: apkt-eis
spec:
internalTrafficPolicy: Cluster
ipFamilies:
- IPv4
ipFamilyPolicy: SingleStack
ports:
- name: port-0
port: 32166
protocol: TCP
targetPort: 80
selector:
app: apkt-eis
sessionAffinity: None
type: ClusterIP
status:
loadBalancer: {}
replicas: 3
selector:
matchLabels:
app: my-vue-app
template:
metadata:
labels:
app: my-vue-app
spec:
containers:
- name: apkt-eis
image: defuj/apkt-eis:latest
ports:
- containerPort: 32166