forked from kagenti/plugins-adapter
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdeploy.yaml
More file actions
60 lines (59 loc) · 1.56 KB
/
deploy.yaml
File metadata and controls
60 lines (59 loc) · 1.56 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
54
55
56
57
58
59
60
apiVersion: v1
kind: Service
metadata:
name: nemocheck-plugin-service
namespace: istio-system
spec:
selector:
app: nemocheck-plugin
ports:
- name: grpc
protocol: TCP
port: 8000
targetPort: 8000
---
apiVersion: apps/v1
kind: Deployment
metadata:
name: nemocheck-plugin
namespace: istio-system
spec:
replicas: 1
selector:
matchLabels:
app: nemocheck-plugin
template:
metadata:
labels:
app: nemocheck-plugin
spec:
containers:
- name: nemocheck-plugin
image: mcpgateway/nemocheck:0.1.0
env:
- name: MODEL_NAME # Currently only for logging.
value: "meta-llama/llama-3-3-70b-instruct"
- name: DEFAULT_GUARDRAILS_SERVER_URL
value: "http://nemo-guardrails-service:8000"
- name: PLUGINS_SERVER_HOST
value: "0.0.0.0"
- name: PLUGINS_ENABLED
value: "false"
- name: PLUGINS_CLI_COMPLETION
value: "false"
- name: PLUGINS_CLI_MARKUP_MODE
value: "rich"
- name: PLUGINS_CONFIG
value: "./resources/plugins/config.yaml"
# - name: CHUK_MCP_CONFIG_PATH
# value: "./resources/runtime/config.yaml"
- name: MCP_SSL_ENABLED
value: "false"
- name: MCP_SSL_CERT_REQS
value: "0"
- name: LOGLEVEL
value: "DEBUG"
- name: PLUGINS_TRANSPORT
value: "http"
ports:
- containerPort: 8000