chore: rename assassin cluster to T14s and add kavita gitops manifests
This commit is contained in:
parent
24be0b06c8
commit
4545b5c5e0
16 changed files with 84 additions and 9 deletions
39
apps/kavita/deployment.yaml
Normal file
39
apps/kavita/deployment.yaml
Normal file
|
|
@ -0,0 +1,39 @@
|
|||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
name: kavita
|
||||
namespace: kavita
|
||||
labels:
|
||||
app: kavita
|
||||
spec:
|
||||
replicas: 1
|
||||
selector:
|
||||
matchLabels:
|
||||
app: kavita
|
||||
template:
|
||||
metadata:
|
||||
labels:
|
||||
app: kavita
|
||||
spec:
|
||||
containers:
|
||||
- name: kavita
|
||||
image: ghcr.io/kareadita/kavita:latest
|
||||
ports:
|
||||
- containerPort: 5000
|
||||
name: http
|
||||
env:
|
||||
- name: TZ
|
||||
value: "UTC"
|
||||
volumeMounts:
|
||||
- name: kavita-config
|
||||
mountPath: /kavita/config
|
||||
- name: kavita-library
|
||||
mountPath: /books
|
||||
volumes:
|
||||
- name: kavita-config
|
||||
persistentVolumeClaim:
|
||||
claimName: kavita-config-pvc
|
||||
- name: kavita-library
|
||||
hostPath:
|
||||
path: /home/kenpatmonk/kitestacks-live/library/books
|
||||
type: Directory
|
||||
7
apps/kavita/kustomization.yaml
Normal file
7
apps/kavita/kustomization.yaml
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
apiVersion: kustomize.config.k8s.io/v1
|
||||
kind: Kustomization
|
||||
resources:
|
||||
- namespace.yaml
|
||||
- pvc.yaml
|
||||
- deployment.yaml
|
||||
- service.yaml
|
||||
4
apps/kavita/namespace.yaml
Normal file
4
apps/kavita/namespace.yaml
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
apiVersion: v1
|
||||
kind: Namespace
|
||||
metadata:
|
||||
name: kavita
|
||||
12
apps/kavita/pvc.yaml
Normal file
12
apps/kavita/pvc.yaml
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
apiVersion: v1
|
||||
kind: PersistentVolumeClaim
|
||||
metadata:
|
||||
name: kavita-config-pvc
|
||||
namespace: kavita
|
||||
spec:
|
||||
accessModes:
|
||||
- ReadWriteOnce
|
||||
resources:
|
||||
requests:
|
||||
storage: 2Gi
|
||||
storageClassName: local-path
|
||||
14
apps/kavita/service.yaml
Normal file
14
apps/kavita/service.yaml
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
apiVersion: v1
|
||||
kind: Service
|
||||
metadata:
|
||||
name: kavita
|
||||
namespace: kavita
|
||||
spec:
|
||||
selector:
|
||||
app: kavita
|
||||
ports:
|
||||
- protocol: TCP
|
||||
port: 80
|
||||
targetPort: 5000
|
||||
name: http
|
||||
type: ClusterIP
|
||||
Loading…
Add table
Add a link
Reference in a new issue