-
Notifications
You must be signed in to change notification settings - Fork 74
/
Copy pathgmc-router.yaml
48 lines (46 loc) · 935 Bytes
/
gmc-router.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
47
48
# Copyright (C) 2024 Intel Corporation
# SPDX-License-Identifier: Apache-2.0
---
apiVersion: v1
kind: Service
metadata:
name: router-service
spec:
selector:
app: router-service
ports:
- protocol: TCP
port: 8080
targetPort: 8080
---
apiVersion: apps/v1
kind: Deployment
metadata:
name: router-server
spec:
replicas: 1
selector:
matchLabels:
app: router-service
template:
metadata:
labels:
app: router-service
spec:
serviceAccountName: default
containers:
- name: router-server
image: opea/gmcrouter:latest
imagePullPolicy: IfNotPresent
ports:
- containerPort: 8080
env:
- name: no_proxy
value: {{.NoProxy}}
- name: http_proxy
value: {{.HttpProxy}}
- name: https_proxy
value: {{.HttpsProxy}}
args:
- "--graph-json"
- {{.GRAPH_JSON}}