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