Added two more k3s templates

This commit is contained in:
Khwezi
2026-04-11 17:13:19 +02:00
parent df6eaef96c
commit f8da3f6da9
2 changed files with 54 additions and 0 deletions

View File

@@ -0,0 +1,39 @@
apiVersion: apps/v1
kind: Deployment
metadata:
name: headlamp
namespace: kube-system
spec:
replicas: 1
selector:
matchLabels:
app.kubernetes.io/name: headlamp
template:
metadata:
labels:
app.kubernetes.io/name: headlamp
spec:
containers:
- name: headlamp
image: ghcr.io/headlamp-k8s/headlamp:latest
# We only use -in-cluster. No other flags allowed.
args:
- "-in-cluster"
ports:
- containerPort: 4466
name: http
---
apiVersion: v1
kind: Service
metadata:
name: headlamp
namespace: kube-system
spec:
type: NodePort
selector:
app.kubernetes.io/name: headlamp
ports:
- protocol: TCP
port: 80
targetPort: 4466
nodePort: 30001