deployment.yaml 803 B

1234567891011121314151617181920212223242526272829303132333435363738
  1. apiVersion: apps/v1
  2. kind: Deployment
  3. metadata:
  4. name: metube
  5. spec:
  6. selector:
  7. matchLabels:
  8. app.kubernetes.io/name: metube
  9. app.kubernetes.io/part-of: metube
  10. template:
  11. metadata:
  12. labels:
  13. app.kubernetes.io/name: metube
  14. app.kubernetes.io/part-of: metube
  15. spec:
  16. containers:
  17. - image: ghcr.io/alexta69/metube:latest
  18. name: metube
  19. ports:
  20. - containerPort: 8081
  21. name: http
  22. protocol: TCP
  23. resources:
  24. limits:
  25. cpu: 100m
  26. memory: 250Mi
  27. requests:
  28. cpu: 10m
  29. memory: 100Mi
  30. livenessProbe:
  31. httpGet:
  32. path: /
  33. port: http
  34. readinessProbe:
  35. httpGet:
  36. path: /
  37. port: http