-
-
Notifications
You must be signed in to change notification settings - Fork 21
Kubernetes
Mark edited this page Feb 8, 2026
·
1 revision
How to get started using Kubernetes.
Here's an example for a kubernetes deployment file you'd use:
apiVersion: apps/v1
kind: Deployment
metadata:
name: audiobookrequest
labels:
app: audiobookrequest
spec:
replicas: 1
selector:
matchLabels:
app: audiobookrequest
template:
metadata:
labels:
app: audiobookrequest
spec:
containers:
- name: audiobookrequest
image: markbeep/audiobookrequest:1
imagePullPolicy: Always
volumeMounts:
- mountPath: /config
name: abr-config
ports:
- name: http-request
containerPort: 8000
volumes:
- name: abr-config
hostPath:
path: /mnt/disk/AudioBookRequest/For the volume you can assign it a host path on a node, or assign it to a PVC.