12345678910111213141516171819202122232425262728293031323334353637383940414243444546 |
- apiVersion: apps/v1
- kind: Deployment
- metadata:
- name: cyberchef
- spec:
- replicas: 1
- selector:
- matchLabels:
- name: cyberchef
- template:
- metadata:
- labels:
- nginx: backend
- name: cyberchef
- spec:
- containers:
- - name: cyberchef
- image: mpepping/cyberchef:latest
- ports:
- - containerPort: 8080
- name: http
- livenessProbe:
- initialDelaySeconds: 300
- timeoutSeconds: 10
- httpGet:
- port: 8000
- httpHeaders:
- - name: Host
- value: "cc.dodges.it"
- ---
- apiVersion: v1
- kind: Service
- metadata:
- name: cyberchef
- spec:
- type: ClusterIP
- ipFamilyPolicy: PreferDualStack
- selector:
- name: cyberchef
- ports:
- - protocol: TCP
- port: 80
- targetPort: 8000
- name: http
|