deployment.yaml 668 B

123456789101112131415161718192021222324252627282930
  1. apiVersion: apps/v1
  2. kind: Deployment
  3. metadata:
  4. name: retracker
  5. spec:
  6. selector:
  7. matchLabels:
  8. app.kubernetes.io/name: retracker
  9. app.kubernetes.io/part-of: retracker
  10. template:
  11. metadata:
  12. labels:
  13. app.kubernetes.io/name: retracker
  14. app.kubernetes.io/part-of: retracker
  15. spec:
  16. containers:
  17. - image: docker-registry.wugi.info/net/retracker-python
  18. name: retracker
  19. ports:
  20. - containerPort: 8888
  21. name: http
  22. protocol: TCP
  23. resources:
  24. limits:
  25. cpu: 2000m
  26. memory: 1024Mi
  27. requests:
  28. cpu: 10m
  29. memory: 128Mi