añadido mapas

This commit is contained in:
2025-08-21 00:07:44 +02:00
parent 170c343fa6
commit c8e4ca8544
7 changed files with 336 additions and 0 deletions

View File

@@ -0,0 +1,51 @@
apiVersion: apps/v1
kind: Deployment
metadata:
name: tileserver-gl
namespace: maps
spec:
replicas: 1
selector:
matchLabels:
app: tileserver-gl
template:
metadata:
labels:
app: tileserver-gl
spec:
containers:
- name: tileserver
image: maptiler/tileserver-gl:latest
imagePullPolicy: IfNotPresent
env:
- name: UPLOAD_DIR
value: /data
ports:
- containerPort: 8080
name: http
volumeMounts:
- name: tiles-data
mountPath: /data
readinessProbe:
httpGet:
path: /
port: http
initialDelaySeconds: 10
periodSeconds: 10
livenessProbe:
httpGet:
path: /
port: http
initialDelaySeconds: 30
periodSeconds: 20
resources:
requests:
cpu: "250m"
memory: "512Mi"
limits:
cpu: "2"
memory: "2Gi"
volumes:
- name: tiles-data
persistentVolumeClaim:
claimName: tiles-data