You've already forked simplefilehub
add kubernetes configs
Build and Push Docker Image / build-and-push (push) Has been cancelled
Build and Push Docker Image / build-and-push (push) Has been cancelled
This commit is contained in:
@@ -0,0 +1,33 @@
|
||||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
name: simplefilehub
|
||||
namespace: exam-varga
|
||||
spec:
|
||||
replicas: 1
|
||||
selector:
|
||||
matchLabels:
|
||||
app: simplefilehub
|
||||
template:
|
||||
metadata:
|
||||
labels:
|
||||
app: simplefilehub
|
||||
spec:
|
||||
volumes:
|
||||
- name: simplefilehub-config-volume
|
||||
configMap:
|
||||
name: simplefilehub-config
|
||||
- name: simplefilehub-storage-volume
|
||||
persistentVolumeClaim:
|
||||
claimName: simplefilehub-pv-claim
|
||||
|
||||
containers:
|
||||
- name: simplefilehub
|
||||
image: br0kenpixel/simplefilehub:latest
|
||||
ports:
|
||||
- containerPort: 8501
|
||||
volumeMounts:
|
||||
- name: simplefilehub-storage-volume
|
||||
mountPath: /app/storage
|
||||
- name: simplefilehub-config-volume
|
||||
mountPath: /app/configmapcontent
|
||||
Reference in New Issue
Block a user