Skip to content

Instantly share code, notes, and snippets.

@tuna2134
Created April 30, 2023 18:10
Show Gist options
  • Save tuna2134/b0de90718322907dc3e134bd931874f4 to your computer and use it in GitHub Desktop.
Save tuna2134/b0de90718322907dc3e134bd931874f4 to your computer and use it in GitHub Desktop.
Run voicevox engine by cpu mode
apiVersion: apps/v1
kind: Deployment
metadata:
name: voicevox-engine-deployment
labels:
app: voicevox-engine
spec:
selector:
matchLabels:
app: voicevox-engine
template:
metadata:
labels:
app: voicevox-engine
spec:
containers:
- name: voicevox-engine
image: voicevox/voicevox_engine:cpu-ubuntu20.04-latest
ports:
- containerPort: 50021
resources:
limits:
cpu: 1
---
apiVersion: v1
kind: Service
metadata:
name: voicevox-engine
spec:
selector:
app: voicevox-engine
ports:
- protocol: TCP
port: 50021
targetPort: 50021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment