-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathserverless_v1_serverless.yaml
46 lines (46 loc) · 1.22 KB
/
serverless_v1_serverless.yaml
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
apiVersion: serverless.pml.com.cn/v1
kind: Serverless
metadata:
annotations:
finalizers:
- serverless.hpa.finalizers.pml.com.cn
labels:
apps.gaia.io/component: sample-s2-3
apps.gaia.io/description: default-8677-20230413111950-12-2023042705
name: sample-s2-3
namespace: default
resourceVersion: "12920519"
uid: be8d666e-23a5-4cdc-9839-10f49ea13544
spec:
module:
metadata:
labels:
apps.gaia.io/component: sample-s2-3
apps.gaia.io/description: default-8677-20230413111950-12-2023042705
spec:
containers:
- image: nginx
name: case11component3
resources:
limits:
cpu: 100m
memory: 100Mi
requests:
cpu: 100m
memory: 100Mi
hostNetwork: true
nodeSelector:
hypernode.cluster.pml.com.cn/node-role: Public
hypernode.cluster.pml.com.cn/runtime-state: kata
name: sample-s2-3
namespace: default
runtimeType: kata
workload:
traitServerless:
foundingmember: true
maxQPS: 10000
maxReplicas: 100
qpsStep: 10
resplicasStep: 1
threshold: '{"qpsMax":10,"cpuMin":0,"cpuMax":100,"qpsMin":4,"memMax":100,"memMin":0}'
workloadtype: serverless