commit aa147f7e91f5c524a6821f4be8216fce9511f1e6 Author: charles Date: Sun Dec 14 16:46:11 2025 -0800 add: stuff diff --git a/Dockerfile.valheim b/Dockerfile.valheim new file mode 100644 index 0000000..9e689fe --- /dev/null +++ b/Dockerfile.valheim @@ -0,0 +1,10 @@ +FROM weilbyte/box:latest + +FROM --platform=linux/amd64 lloesche/valheim-server:latest + +COPY --from=0 /usr/local/bin/box64 /usr/local/bin/box64 +EXPOSE 2456-2458/udp +EXPOSE 9001/tcp +EXPOSE 80/tcp +WORKDIR / +CMD ["/usr/local/bin/box64", "/usr/local/sbin/bootstrap"] diff --git a/dashboard-user.yaml b/dashboard-user.yaml new file mode 100644 index 0000000..77f01d0 --- /dev/null +++ b/dashboard-user.yaml @@ -0,0 +1,18 @@ +apiVersion: v1 +kind: ServiceAccount +metadata: + name: charles + namespace: kubernetes-dashboard +--- +apiVersion: rbac.authorization.k8s.io/v1 +kind: ClusterRoleBinding +metadata: + name: admin-user +roleRef: + apiGroup: rbac.authorization.k8s.io + kind: ClusterRole + name: cluster-admin +subjects: +- kind: ServiceAccount + name: charles + namespace: kubernetes-dashboard diff --git a/docker-ingress.yaml b/docker-ingress.yaml new file mode 100644 index 0000000..5596d1c --- /dev/null +++ b/docker-ingress.yaml @@ -0,0 +1,20 @@ +apiVersion: networking.k8s.io/v1 +kind: Ingress +metadata: + annotations: + kubernetes.io/ingress.class: traefik + name: docker-ingress + namespace: default +spec: + ingressClassName: traefik + rules: + - host: docker.5pi5 + http: + paths: + - backend: + service: + name: docker-registry-1761618819 + port: + number: 5000 + path: / + pathType: Prefix diff --git a/pihole-ingress.yaml b/pihole-ingress.yaml new file mode 100644 index 0000000..b0c579b --- /dev/null +++ b/pihole-ingress.yaml @@ -0,0 +1,30 @@ +apiVersion: networking.k8s.io/v1 +kind: Ingress +metadata: + annotations: + kubectl.kubernetes.io/last-applied-configuration: | + {"apiVersion":"networking.k8s.io/v1","kind":"Ingress","metadata":{"annotations":{"kubernetes.io/ingress.class":"traefik"},"name":"pihole-ingress","namespace":"default"},"spec":{"ingressClassName":"traefik","rules":[{"host":"pihole.5pi5","http":{"paths":[{"backend":{"service":{"name":"your-release-pihole-web","port":{"number":80}}},"path":"/","pathType":"Prefix"}]}}]}} + kubernetes.io/ingress.class: traefik + creationTimestamp: "2025-11-13T17:06:46Z" + generation: 2 + name: pihole-ingress + namespace: default + resourceVersion: "259298" + uid: 6f17e7e9-817f-4766-a257-78f5f821c66f +spec: + ingressClassName: traefik + rules: + - host: pihole.5pi5 + http: + paths: + - backend: + service: + name: your-release-pihole-web + port: + number: 80 + path: / + pathType: Prefix +status: + loadBalancer: + ingress: + - ip: 10.0.0.163 diff --git a/simple-pod.yaml b/simple-pod.yaml new file mode 100644 index 0000000..abe35a9 --- /dev/null +++ b/simple-pod.yaml @@ -0,0 +1,11 @@ +apiVersion: v1 +kind: Pod +metadata: + name: nginx +spec: + containers: + - name: nginx + image: nginx:1.14.2 + ports: + - containerPort: 80 + diff --git a/valheim.yaml b/valheim.yaml new file mode 100644 index 0000000..bd4c6e8 --- /dev/null +++ b/valheim.yaml @@ -0,0 +1,11 @@ +apiVersion: v1 +kind: Pod +metadata: + name: valheim +spec: + containers: + - name: valheim + image: docker.5pi5/valheim:0 + ports: + - containerPort: 80 + - containerPort: 9001