Created
April 30, 2023 18:10
-
-
Save tuna2134/b0de90718322907dc3e134bd931874f4 to your computer and use it in GitHub Desktop.
Run voicevox engine by cpu mode
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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