nixos-servers/kubernetes/cyberchef.yaml

53 lines
847 B
YAML
Raw Normal View History

---
apiVersion: apps/v1
kind: Deployment
metadata:
2024-03-23 11:52:39 +00:00
name: cyberchef
labels:
2024-03-23 11:52:39 +00:00
app: cyberchef
spec:
2024-03-23 12:10:46 +00:00
replicas: 3
selector:
matchLabels:
2024-03-23 11:52:39 +00:00
app: cyberchef
template:
metadata:
labels:
2024-03-23 11:52:39 +00:00
app: cyberchef
spec:
containers:
- name: cyberchef
image: mpepping/cyberchef
ports:
- containerPort: 8000
---
apiVersion: v1
kind: Service
metadata:
2024-03-23 11:52:39 +00:00
name: cyberchef
spec:
selector:
2024-03-23 11:52:39 +00:00
app: cyberchef
ports:
- protocol: TCP
port: 80
targetPort: 8000
---
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
2024-03-23 11:52:39 +00:00
name: cyberchef
spec:
2024-03-23 11:52:39 +00:00
ingressClassName: traefik
rules:
2024-03-23 11:48:30 +00:00
- host: cyberchef.kun.is
2024-03-23 00:14:45 +00:00
http:
paths:
- path: /
pathType: Prefix
backend:
service:
2024-03-23 11:52:39 +00:00
name: cyberchef
port:
number: 80