mirror of
https://github.com/rubenhensen/k8scd.git
synced 2026-09-18 18:42:56 +02:00
Remove whisper web-ui with basic auth
This commit is contained in:
@@ -1,12 +0,0 @@
|
|||||||
apiVersion: v1
|
|
||||||
kind: PersistentVolumeClaim
|
|
||||||
metadata:
|
|
||||||
labels:
|
|
||||||
io.kompose.service: app-claim0
|
|
||||||
name: app-claim0
|
|
||||||
spec:
|
|
||||||
accessModes:
|
|
||||||
- ReadWriteOnce
|
|
||||||
resources:
|
|
||||||
requests:
|
|
||||||
storage: 10Gi
|
|
||||||
@@ -1,12 +0,0 @@
|
|||||||
apiVersion: v1
|
|
||||||
kind: PersistentVolumeClaim
|
|
||||||
metadata:
|
|
||||||
labels:
|
|
||||||
io.kompose.service: app-claim1
|
|
||||||
name: app-claim1
|
|
||||||
spec:
|
|
||||||
accessModes:
|
|
||||||
- ReadWriteOnce
|
|
||||||
resources:
|
|
||||||
requests:
|
|
||||||
storage: 10Gi
|
|
||||||
@@ -1,46 +0,0 @@
|
|||||||
apiVersion: apps/v1
|
|
||||||
kind: Deployment
|
|
||||||
metadata:
|
|
||||||
labels:
|
|
||||||
io.kompose.service: app
|
|
||||||
name: app
|
|
||||||
spec:
|
|
||||||
replicas: 1
|
|
||||||
selector:
|
|
||||||
matchLabels:
|
|
||||||
io.kompose.service: app
|
|
||||||
strategy:
|
|
||||||
type: Recreate
|
|
||||||
template:
|
|
||||||
metadata:
|
|
||||||
labels:
|
|
||||||
io.kompose.service: app
|
|
||||||
spec:
|
|
||||||
containers:
|
|
||||||
- command:
|
|
||||||
- python
|
|
||||||
- app.py
|
|
||||||
- --server_port
|
|
||||||
- "7860"
|
|
||||||
- --server_name
|
|
||||||
- 0.0.0.0
|
|
||||||
image: jhj0517/whisper-webui:latest
|
|
||||||
name: app
|
|
||||||
ports:
|
|
||||||
- containerPort: 7860
|
|
||||||
protocol: TCP
|
|
||||||
stdin: true
|
|
||||||
tty: true
|
|
||||||
volumeMounts:
|
|
||||||
- mountPath: /Whisper-WebUI/models
|
|
||||||
name: app-claim0
|
|
||||||
- mountPath: /Whisper-WebUI/outputs
|
|
||||||
name: app-claim1
|
|
||||||
restartPolicy: Always
|
|
||||||
volumes:
|
|
||||||
- name: app-claim0
|
|
||||||
persistentVolumeClaim:
|
|
||||||
claimName: app-claim0
|
|
||||||
- name: app-claim1
|
|
||||||
persistentVolumeClaim:
|
|
||||||
claimName: app-claim1
|
|
||||||
@@ -1,13 +0,0 @@
|
|||||||
apiVersion: v1
|
|
||||||
kind: Service
|
|
||||||
metadata:
|
|
||||||
labels:
|
|
||||||
io.kompose.service: app
|
|
||||||
name: app
|
|
||||||
spec:
|
|
||||||
ports:
|
|
||||||
- name: "7860"
|
|
||||||
port: 7860
|
|
||||||
targetPort: 7860
|
|
||||||
selector:
|
|
||||||
io.kompose.service: app
|
|
||||||
@@ -1,19 +0,0 @@
|
|||||||
# services:
|
|
||||||
# app:
|
|
||||||
# build: .
|
|
||||||
# image: jhj0517/whisper-webui:latest
|
|
||||||
|
|
||||||
# volumes:
|
|
||||||
# # You can mount the container's volume paths to directory paths on your local machine.
|
|
||||||
# # Models will be stored in the `./models' directory on your machine.
|
|
||||||
# # Similarly, all output files will be stored in the `./outputs` directory.
|
|
||||||
# - ./models:/Whisper-WebUI/models
|
|
||||||
# - ./outputs:/Whisper-WebUI/outputs
|
|
||||||
|
|
||||||
# ports:
|
|
||||||
# - "7860:7860"
|
|
||||||
|
|
||||||
# stdin_open: true
|
|
||||||
# tty: true
|
|
||||||
|
|
||||||
# entrypoint: ["python", "app.py", "--server_port", "7860", "--server_name", "0.0.0.0",]
|
|
||||||
Reference in New Issue
Block a user