-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathexcelonlineapi.yml
61 lines (61 loc) · 1.66 KB
/
excelonlineapi.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
apiVersion: v1
kind: Pod
metadata:
labels:
name: excelonlineapi-698644bb79-2cjfd
name: excelonlineapi-698644bb79-2cjfd
namespace: default
spec:
containers:
- image: >-
registry-vpc.cn-hangzhou.aliyuncs.com/excelonline/api:@latest
imagePullPolicy: IfNotPresent
name: excelonlineapi
resources:
requests:
cpu: '2'
memory: 2Gi
stdin: true
terminationMessagePath: /dev/termination-log
terminationMessagePolicy: File
volumeMounts:
- mountPath: /var/run/secrets/kubernetes.io/serviceaccount
name: kube-api-access-gq5sh
readOnly: true
dnsPolicy: ClusterFirst
enableServiceLinks: true
nodeName: virtual-kubelet-cn-hangzhou-h
preemptionPolicy: PreemptLowerPriority
priority: 0
restartPolicy: Always
schedulerName: default-scheduler
securityContext: {}
serviceAccount: default
serviceAccountName: default
terminationGracePeriodSeconds: 30
tolerations:
- effect: NoExecute
key: node.kubernetes.io/not-ready
operator: Exists
- effect: NoExecute
key: node.kubernetes.io/unreachable
operator: Exists
volumes:
- name: kube-api-access-gq5sh
projected:
defaultMode: 420
sources:
- serviceAccountToken:
expirationSeconds: 3607
path: token
- configMap:
items:
- key: ca.crt
path: ca.crt
name: kube-root-ca.crt
- downwardAPI:
items:
- fieldRef:
apiVersion: v1
fieldPath: metadata.namespace
path: namespace