add: stuff

This commit is contained in:
2025-12-14 16:46:11 -08:00
commit aa147f7e91
6 changed files with 100 additions and 0 deletions
+10
View File
@@ -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"]
+18
View File
@@ -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
+20
View File
@@ -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
+30
View File
@@ -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
+11
View File
@@ -0,0 +1,11 @@
apiVersion: v1
kind: Pod
metadata:
name: nginx
spec:
containers:
- name: nginx
image: nginx:1.14.2
ports:
- containerPort: 80
+11
View File
@@ -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