Update deployment and service configuration
This commit is contained in:
@ -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
|
Reference in New Issue
Block a user