mirror of
https://github.com/dockersamples/example-voting-app.git
synced 2026-05-08 18:46:36 +00:00
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
|