refactor: simplify k8s deployment to pure kubectl

- Remove kustomization.yaml and all kustomize references
- Remove deploy-pi.sh and vpa-pi-helper.sh helper scripts
- Remove redundant ConfigMap from vpa.yaml
- Update README.md to focus on standard kubectl commands
- Keep deployment simple with just YAML files and kubectl
- Maintain Pi 5 optimizations and VPA functionality
- No complex tooling required for deployment
This commit is contained in:
William Valentin
2025-09-14 23:18:04 -07:00
parent e2788cb634
commit 9caf95bb7a
6 changed files with 695 additions and 0 deletions

27
k8s/ingress.yaml Normal file
View File

@@ -0,0 +1,27 @@
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: unitforge
labels:
app: unitforge
component: ingress
annotations:
kubernetes.io/ingress.class: "nginx"
nginx.ingress.kubernetes.io/rewrite-target: /
nginx.ingress.kubernetes.io/proxy-body-size: "5m"
nginx.ingress.kubernetes.io/proxy-connect-timeout: "10"
nginx.ingress.kubernetes.io/proxy-send-timeout: "30"
nginx.ingress.kubernetes.io/proxy-read-timeout: "30"
spec:
ingressClassName: nginx
rules:
- host: app.unitforge.192.168.153.243.nip.io
http:
paths:
- path: /
pathType: Prefix
backend:
service:
name: unitforge
port:
number: 8000