c0e29c622c
update yaml to current deployment manifest defaults and try for more pairity between kube-deploy.yml and k8s-specifications
21 lines
331 B
YAML
21 lines
331 B
YAML
apiVersion: apps/v1
|
|
kind: Deployment
|
|
metadata:
|
|
labels:
|
|
app: worker
|
|
name: worker
|
|
namespace: vote
|
|
spec:
|
|
replicas: 1
|
|
selector:
|
|
matchLabels:
|
|
app: db
|
|
template:
|
|
metadata:
|
|
labels:
|
|
app: worker
|
|
spec:
|
|
containers:
|
|
- image: dockersamples/examplevotingapp_worker
|
|
name: worker
|