Compare commits

..

2 Commits

Author SHA1 Message Date
williamp 340fbb89d2 add test deployment 2026-03-02 19:56:21 -05:00
williamp 1ca3b9ff89 add scripts 2026-03-02 19:56:11 -05:00
8 changed files with 61 additions and 0 deletions
+3
View File
@@ -4,5 +4,8 @@
services.k3s = {
enable = true;
role = "server";
manifests = {
test-color.source = ../manifests/test;
};
};
}
+17
View File
@@ -0,0 +1,17 @@
apiVersion: apps/v1
kind: Deployment
metadata:
name: test-color
namespace: test-color
spec:
selector:
matchLabels:
app: test-color
template:
metadata:
labels:
app: test-color
spec:
containers:
- name: test-color
image: kodekloud/webapp-color:latest
+17
View File
@@ -0,0 +1,17 @@
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: test-color-ingress
namespace: test-color
spec:
rules:
- host: test-color.duby.local
http:
paths:
- pathType: Prefix
path: "/"
backend:
service:
name: test-color
port:
number: 8080
+4
View File
@@ -0,0 +1,4 @@
apiVersion: v1
kind: Namespace
metadata:
name: test-color
+11
View File
@@ -0,0 +1,11 @@
apiVersion: v1
kind: Service
metadata:
name: test-color
namespace: test-color
spec:
selector:
app: test-color
ports:
- port: 8080
targetPort: 8080
+3
View File
@@ -0,0 +1,3 @@
#!/bin/sh
nix run github:nix-community/nixos-anywhere -- --flake .#weyma-bs --extra-files ./secrets --target-host root@10.105.6.198
+3
View File
@@ -0,0 +1,3 @@
#!/bin/sh
nixos-rebuild --flake .#weyma-bs --target-host 10.105.6.198 --sudo boot
+3
View File
@@ -0,0 +1,3 @@
#!/bin/sh
nixos-rebuild --flake .#weyma-bs --target-host 10.105.6.198 --sudo switch