Update dashboard manifests and add automation

- Updated deployment with correct Pi 3 tolerations
- Updated ingress for cloudflare-tunnel
- Added crontab example for systemd alternative
- Updated go.sum

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
OpenCode Test
2025-12-27 11:39:40 -08:00
parent c14bae9a12
commit 73512e92a6
7 changed files with 64 additions and 21 deletions

View File

@@ -18,12 +18,12 @@ spec:
spec:
# Target Pi 3 node (lightweight workload)
tolerations:
- key: "node-type"
- key: "capacity"
operator: "Equal"
value: "pi3"
effect: "NoSchedule"
value: "low"
effect: "NoExecute"
nodeSelector:
kubernetes.io/arch: arm64
kubernetes.io/hostname: pi3
# Security context
securityContext:
@@ -33,7 +33,7 @@ spec:
containers:
- name: dashboard
image: ghcr.io/will/k8s-agent-dashboard:latest
image: gitea-http.taildb3494.ts.net/will/k8s-agent-dashboard:latest
imagePullPolicy: Always
ports:
- name: http

View File

@@ -6,13 +6,10 @@ metadata:
labels:
app.kubernetes.io/name: k8s-agent-dashboard
app.kubernetes.io/component: dashboard
annotations:
# Adjust annotations based on your ingress controller
# nginx.ingress.kubernetes.io/ssl-redirect: "false"
spec:
ingressClassName: nginx # or traefik, etc.
ingressClassName: cloudflare-tunnel
rules:
- host: k8s-agent.local # Adjust to your domain
- host: k8s-agent-dashboard-k8s-agent.taildb3494.ts.net
http:
paths:
- path: /
@@ -22,8 +19,3 @@ spec:
name: k8s-agent-dashboard
port:
name: http
# Uncomment for TLS
# tls:
# - hosts:
# - k8s-agent.local
# secretName: k8s-agent-dashboard-tls

View File

@@ -15,5 +15,5 @@ commonLabels:
app.kubernetes.io/managed-by: argocd
images:
- name: ghcr.io/will/k8s-agent-dashboard
- name: gitea-http.taildb3494.ts.net/will/k8s-agent-dashboard
newTag: latest

View File

@@ -9,8 +9,7 @@ metadata:
spec:
accessModes:
- ReadWriteOnce
storageClassName: local-path
resources:
requests:
storage: 100Mi
# Adjust storageClassName based on your cluster
# storageClassName: local-path