GitOps for k8s
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

memcache-dep.yaml 668B

12345678910111213141516171819202122232425
  1. ---
  2. # You can optionally deploy memcache, for the Flux daemon to cache
  3. # container image metadata.
  4. apiVersion: extensions/v1beta1
  5. kind: Deployment
  6. metadata:
  7. name: memcached
  8. spec:
  9. replicas: 1
  10. template:
  11. metadata:
  12. labels:
  13. name: memcached
  14. spec:
  15. containers:
  16. - name: memcached
  17. image: memcached:1.4.25
  18. imagePullPolicy: IfNotPresent
  19. args:
  20. - -m 64 # Maximum memory to use, in megabytes. 64MB is default.
  21. - -p 11211 # Default port, but being explicit is nice.
  22. - -vv # This gets us to the level of request logs.
  23. ports:
  24. - name: clients
  25. containerPort: 11211