cyberchef.yaml 868 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. apiVersion: apps/v1
  2. kind: Deployment
  3. metadata:
  4. name: cyberchef
  5. spec:
  6. replicas: 1
  7. selector:
  8. matchLabels:
  9. name: cyberchef
  10. template:
  11. metadata:
  12. labels:
  13. nginx: backend
  14. name: cyberchef
  15. spec:
  16. containers:
  17. - name: cyberchef
  18. image: mpepping/cyberchef:latest
  19. ports:
  20. - containerPort: 8080
  21. name: http
  22. livenessProbe:
  23. initialDelaySeconds: 300
  24. timeoutSeconds: 10
  25. httpGet:
  26. port: 8000
  27. httpHeaders:
  28. - name: Host
  29. value: "cc.dodges.it"
  30. ---
  31. apiVersion: v1
  32. kind: Service
  33. metadata:
  34. name: cyberchef
  35. spec:
  36. type: ClusterIP
  37. ipFamilyPolicy: PreferDualStack
  38. selector:
  39. name: cyberchef
  40. ports:
  41. - protocol: TCP
  42. port: 80
  43. targetPort: 8000
  44. name: http