first commit
This commit is contained in:
commit
55439d1899
14
shaarli/shaarli-cache-persistentvolumeclaim.yaml
Normal file
14
shaarli/shaarli-cache-persistentvolumeclaim.yaml
Normal file
@ -0,0 +1,14 @@
|
||||
apiVersion: v1
|
||||
kind: PersistentVolumeClaim
|
||||
metadata:
|
||||
creationTimestamp: null
|
||||
labels:
|
||||
io.kompose.service: shaarli-cache
|
||||
name: shaarli-cache
|
||||
spec:
|
||||
accessModes:
|
||||
- ReadWriteOnce
|
||||
resources:
|
||||
requests:
|
||||
storage: 100Mi
|
||||
status: {}
|
14
shaarli/shaarli-data-persistentvolumeclaim.yaml
Normal file
14
shaarli/shaarli-data-persistentvolumeclaim.yaml
Normal file
@ -0,0 +1,14 @@
|
||||
apiVersion: v1
|
||||
kind: PersistentVolumeClaim
|
||||
metadata:
|
||||
creationTimestamp: null
|
||||
labels:
|
||||
io.kompose.service: shaarli-data
|
||||
name: shaarli-data
|
||||
spec:
|
||||
accessModes:
|
||||
- ReadWriteOnce
|
||||
resources:
|
||||
requests:
|
||||
storage: 100Mi
|
||||
status: {}
|
46
shaarli/shaarli-deployment.yaml
Normal file
46
shaarli/shaarli-deployment.yaml
Normal file
@ -0,0 +1,46 @@
|
||||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
haaetadata:
|
||||
annotations:
|
||||
kompose.cmd: kompose convert
|
||||
kompose.version: 1.26.0 (40646f47)
|
||||
creationTimestamp: null
|
||||
labels:
|
||||
io.kompose.service: shaarli
|
||||
name: shaarli
|
||||
spec:
|
||||
replicas: 1
|
||||
selector:
|
||||
matchLabels:
|
||||
io.kompose.service: shaarli
|
||||
strategy:
|
||||
type: Recreate
|
||||
template:
|
||||
metadata:
|
||||
annotations:
|
||||
kompose.cmd: kompose convert
|
||||
kompose.version: 1.26.0 (40646f47)
|
||||
creationTimestamp: null
|
||||
labels:
|
||||
io.kompose.service: shaarli
|
||||
spec:
|
||||
containers:
|
||||
- image: ghcr.io/shaarli/shaarli:latest
|
||||
name: bmarkz
|
||||
ports:
|
||||
- containerPort: 80
|
||||
resources: {}
|
||||
volumeMounts:
|
||||
- mountPath: /var/www/shaarli/data
|
||||
name: shaarli-data
|
||||
- mountPath: /var/www/shaarli/cache
|
||||
name: shaarli-cache
|
||||
restartPolicy: Always
|
||||
volumes:
|
||||
- name: shaarli-data
|
||||
persistentVolumeClaim:
|
||||
claimName: shaarli-data
|
||||
- name: shaarli-cache
|
||||
persistentVolumeClaim:
|
||||
claimName: shaarli-cache
|
||||
status: {}
|
18
shaarli/shaarli-ingress.yaml
Normal file
18
shaarli/shaarli-ingress.yaml
Normal file
@ -0,0 +1,18 @@
|
||||
apiVersion: networking.k8s.io/v1
|
||||
kind: Ingress
|
||||
metadata:
|
||||
name: minimal-ingress
|
||||
annotations:
|
||||
nginx.ingress.kubernetes.io/rewrite-target: /
|
||||
spec:
|
||||
ingressClassName: shaarli
|
||||
rules:
|
||||
- http:
|
||||
paths:
|
||||
- path: /
|
||||
pathType: Prefix
|
||||
backend:
|
||||
service:
|
||||
name: shaarli
|
||||
port:
|
||||
number: 80
|
20
shaarli/shaarli-service.yaml
Normal file
20
shaarli/shaarli-service.yaml
Normal file
@ -0,0 +1,20 @@
|
||||
apiVersion: v1
|
||||
kind: Service
|
||||
metadata:
|
||||
annotations:
|
||||
kompose.cmd: kompose convert
|
||||
kompose.version: 1.26.0 (40646f47)
|
||||
creationTimestamp: null
|
||||
labels:
|
||||
io.kompose.service: shaarli
|
||||
name: shaarli
|
||||
spec:
|
||||
type: NodePort
|
||||
selector:
|
||||
io.kompose.service: shaarli
|
||||
ports:
|
||||
- port: 80
|
||||
targetPort: 80
|
||||
nodePort: 32414
|
||||
status:
|
||||
loadBalancer: {}
|
Loading…
Reference in New Issue
Block a user