52 lines
847 B
YAML
52 lines
847 B
YAML
---
|
|
apiVersion: apps/v1
|
|
kind: Deployment
|
|
metadata:
|
|
name: cyberchef
|
|
labels:
|
|
app: cyberchef
|
|
spec:
|
|
replicas: 3
|
|
selector:
|
|
matchLabels:
|
|
app: cyberchef
|
|
template:
|
|
metadata:
|
|
labels:
|
|
app: cyberchef
|
|
spec:
|
|
containers:
|
|
- name: cyberchef
|
|
image: mpepping/cyberchef
|
|
ports:
|
|
- containerPort: 8000
|
|
---
|
|
apiVersion: v1
|
|
kind: Service
|
|
metadata:
|
|
name: cyberchef
|
|
spec:
|
|
selector:
|
|
app: cyberchef
|
|
ports:
|
|
- protocol: TCP
|
|
port: 80
|
|
targetPort: 8000
|
|
---
|
|
apiVersion: networking.k8s.io/v1
|
|
kind: Ingress
|
|
metadata:
|
|
name: cyberchef
|
|
spec:
|
|
ingressClassName: traefik
|
|
rules:
|
|
- host: cyberchef.kun.is
|
|
http:
|
|
paths:
|
|
- path: /
|
|
pathType: Prefix
|
|
backend:
|
|
service:
|
|
name: cyberchef
|
|
port:
|
|
number: 80
|