deployment.yaml 393 B

1234567891011121314151617181920212223
  1. apiVersion: apps/v1beta2
  2. kind: Deployment
  3. metadata:
  4. name: redis
  5. spec:
  6. selector:
  7. matchLabels:
  8. pod: redis
  9. replicas: 1
  10. template:
  11. metadata:
  12. labels:
  13. pod: redis
  14. spec:
  15. containers:
  16. - name: master
  17. image: redis
  18. resources:
  19. requests:
  20. cpu: 100m
  21. memory: 100Mi
  22. ports:
  23. - containerPort: 6379