Skip to content

Instantly share code, notes, and snippets.

@gowatana
Created November 3, 2025 11:39
Show Gist options
  • Select an option

  • Save gowatana/61e511814cb27c1e239e09fc6c638dae to your computer and use it in GitHub Desktop.

Select an option

Save gowatana/61e511814cb27c1e239e09fc6c638dae to your computer and use it in GitHub Desktop.
helm/nai-demo/templates/deployment.yaml
apiVersion: apps/v1
kind: Deployment
metadata:
name: {{ include "nai-demo.fullname" . }}
labels:
app: {{ include "nai-demo.name" . }}
spec:
replicas: 1
selector:
matchLabels:
app: {{ include "nai-demo.name" . }}
template:
metadata:
labels:
app: {{ include "nai-demo.name" . }}
spec:
containers:
- name: nai-demo-chat
image: "{{ .Values.image.repository }}:{{ .Values.image.tag | default .Chart.AppVersion }}"
imagePullPolicy: IfNotPresent
ports:
- containerPort: 5000
envFrom:
- configMapRef:
name: {{ include "nai-demo.fullname" . }}-config
- secretRef:
name: {{ include "nai-demo.fullname" . }}-secret
resources:
requests:
cpu: "100m"
memory: "128Mi"
limits:
cpu: "100m"
memory: "128Mi"
@gowatana
Copy link
Author

gowatana commented Nov 3, 2025

下記の投稿むけ。

NAI 2.4 の推論エンドポイントむけデモ アプリを NKP で起動してみる。
https://blog.ntnx.jp/entry/2025/10/15/233317

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment