pelican: remove endpointslice, switch service to pod selector, use dynamic longhorn for mariadb

This commit is contained in:
2026-06-03 10:22:12 +02:00
parent 4fdbdb0d8e
commit 3fbd4e500b
3 changed files with 14 additions and 18 deletions

12
pelican/mariadb-pvc.yaml Normal file
View File

@@ -0,0 +1,12 @@
apiVersion: v1
kind: PersistentVolumeClaim
metadata:
name: pelican-mariadb-pvc
namespace: pelican
spec:
accessModes:
- ReadWriteOnce
storageClassName: longhorn
resources:
requests:
storage: 5Gi

View File

@@ -1,18 +0,0 @@
apiVersion: discovery.k8s.io/v1
kind: EndpointSlice
metadata:
name: pelican
namespace: pelican
labels:
kubernetes.io/service-name: pelican
addressType: IPv4
ports:
- port: 80
protocol: TCP
endpoints:
- addresses:
- "10.8.11.50"
conditions:
ready: true
serving: true
terminating: false

View File

@@ -4,6 +4,8 @@ metadata:
name: pelican
namespace: pelican
spec:
selector:
app: pelican
ports:
- protocol: TCP
port: 80