cloudnet-compose/k8s-specifications/worker-deployment.yaml

16 lines
273 B
YAML
Raw Normal View History

2018-03-05 12:57:48 +01:00
apiVersion: extensions/v1beta1
kind: Deployment
metadata:
name: worker
namespace: vote
2018-03-05 12:57:48 +01:00
spec:
replicas: 1
template:
metadata:
labels:
app: worker
spec:
containers:
- image: dockersamples/examplevotingapp_worker
name: worker