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
revisionHistoryLimit: 10
selector: selector:
matchLabels: matchLabels:
app: apkt-eis app: my-vue-app
strategy: template:
rollingUpdate:
maxSurge: 0
maxUnavailable: 100%
type: RollingUpdate
---
apiVersion: v1
kind: Service
metadata: metadata:
name: apkt-eis labels:
app: my-vue-app
spec: spec:
internalTrafficPolicy: Cluster containers:
ipFamilies: - name: apkt-eis
- IPv4 image: defuj/apkt-eis:latest
ipFamilyPolicy: SingleStack
ports: ports:
- name: port-0 - containerPort: 32166
port: 32166
protocol: TCP
targetPort: 80
selector:
app: apkt-eis
sessionAffinity: None
type: ClusterIP
status:
loadBalancer: {}