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 apiVersion: apps/v1
kind: Deployment kind: Deployment
metadata: metadata:
name: apkt-eis name: my-vue-app
spec: spec:
progressDeadlineSeconds: 600 replicas: 3
replicas: 3 selector:
revisionHistoryLimit: 10 matchLabels:
selector: app: my-vue-app
matchLabels: template:
app: apkt-eis metadata:
strategy: labels:
rollingUpdate: app: my-vue-app
maxSurge: 0 spec:
maxUnavailable: 100% containers:
type: RollingUpdate - name: apkt-eis
--- image: defuj/apkt-eis:latest
apiVersion: v1 ports:
kind: Service - containerPort: 32166
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: {}