1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586 |
- apiVersion: apps/v1beta2
- kind: Deployment
- metadata:
- labels:
- app: logintestonly
- name: logintestonly
- namespace: login
- spec:
- progressDeadlineSeconds: 600
- replicas: 1
- revisionHistoryLimit: 10
- selector:
- matchLabels:
- app: logintestonly
- strategy:
- type: Recreate
- template:
- metadata:
- labels:
- app: logintestonly
- group: login-testonly
- spec:
- containers:
- - env:
- - name: aliyun_logs_login-console
- value: stdout
- image: 'registry-vpc.cn-beijing.aliyuncs.com/jixiang/logintestonly:1'
- imagePullPolicy: Always
- lifecycle:
- preStop:
- exec:
- command:
- - sleep
- - '5'
- livenessProbe:
- failureThreshold: 3
- initialDelaySeconds: 15
- periodSeconds: 10
- successThreshold: 1
- tcpSocket:
- port: 6532
- timeoutSeconds: 5
- name: logintestonly
- ports:
- - containerPort: 6532
- protocol: TCP
- - containerPort: 8181
- protocol: TCP
- readinessProbe:
- failureThreshold: 3
- initialDelaySeconds: 20
- periodSeconds: 10
- successThreshold: 1
- tcpSocket:
- port: 6532
- timeoutSeconds: 5
- resources:
- limits:
- cpu: '1'
- memory: 512Mi
- requests:
- cpu: 500m
- memory: 512Mi
- stdin: true
- terminationMessagePath: /dev/termination-log
- terminationMessagePolicy: File
- tty: true
- dnsPolicy: ClusterFirst
- hostAliases:
- - hostnames:
- - mpa-api.jixiang.cn
- ip: 10.16.196.131
- - hostnames:
- - console.api.jixiang.cn
- - console-api.jixiang.cn
- ip: 10.16.196.146
- - hostnames:
- - ds-console.jixiang.cn
- - ds.console.jixiang.cn
- ip: 10.16.196.28
- imagePullSecrets:
- - name: reg-key-fyj
- restartPolicy: Always
- schedulerName: default-scheduler
- securityContext: {}
- terminationGracePeriodSeconds: 30
|