--- kind: Deployment apiVersion: apps/v1 metadata: name: toy-memcached spec: selector: matchLabels: app: toy-memcached template: metadata: labels: app: toy-memcached spec: containers: - name: toy-memcached image: memcached:latest ports: - name: memcached containerPort: 11211