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:
27
k8s/ingress.yaml
Normal file
27
k8s/ingress.yaml
Normal 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
|
||||
Reference in New Issue
Block a user