-
Notifications
You must be signed in to change notification settings - Fork 541
Expand file tree
/
Copy pathenvoy_proxy_patch.yaml
More file actions
53 lines (53 loc) · 1.61 KB
/
envoy_proxy_patch.yaml
File metadata and controls
53 lines (53 loc) · 1.61 KB
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
apiVersion: gateway.envoyproxy.io/v1alpha1
kind: EnvoyProxy
metadata:
name: aibrix-custom-proxy-config
namespace: aibrix-system
spec:
provider:
type: Kubernetes
kubernetes:
envoyService:
patch:
type: StrategicMerge
value:
spec:
ipFamilies:
- IPv4
ipFamilyPolicy: SingleStack
type: LoadBalancer
envoyDeployment:
replicas: 1
pod:
affinity:
nodeAffinity: # prevent gateway pod to be placed on gpu node.
preferredDuringSchedulingIgnoredDuringExecution:
- weight: 100
preference:
matchExpressions:
- key: vke.node.gpu.schedule
operator: NotIn
values:
- nvidia
patch:
type: StrategicMerge
value:
spec:
template:
spec:
containers:
- name: envoy
image: aibrix-cn-beijing.cr.volces.com/aibrix/envoy:v1.33.2
resources:
requests:
cpu: 2
memory: 8Gi
limits:
cpu: 2
memory: 8Gi
- name: shutdown-manager
image: aibrix-cn-beijing.cr.volces.com/aibrix/gateway:v1.6.3
resources:
requests:
cpu: 10m
memory: 32Mi