namespaces/routing

This commit is contained in:
2026-05-31 22:58:12 -05:00
parent aca8ad39ae
commit 67c9eabd65
5 changed files with 2 additions and 4 deletions
+1 -1
View File
@@ -80,7 +80,7 @@
locations."/" = { locations."/" = {
# Default k3s port? # Default k3s port?
proxyPass = "http://localhost:30080"; proxyPass = "http://127.0.0.1:30080";
}; };
}; };
}; };
@@ -2,7 +2,6 @@ apiVersion: v1
kind: ConfigMap kind: ConfigMap
metadata: metadata:
name: nimh-static-files name: nimh-static-files
namespace: nimh
data: data:
index.html: | index.html: |
@@ -2,7 +2,6 @@ apiVersion: apps/v1
kind: Deployment kind: Deployment
metadata: metadata:
name: nimh-static name: nimh-static
namespace: nimh
spec: spec:
replicas: 1 replicas: 1
@@ -1,3 +1,4 @@
namespace: nimh
resources: resources:
- namespace.yaml - namespace.yaml
- configmap.yaml - configmap.yaml
@@ -2,7 +2,6 @@ apiVersion: v1
kind: Service kind: Service
metadata: metadata:
name: nimh-static name: nimh-static
namespace: nimh
spec: spec:
selector: selector:
app: nimh-static app: nimh-static