c0e29c622c
update yaml to current deployment manifest defaults and try for more pairity between kube-deploy.yml and k8s-specifications
24 lines
394 B
YAML
24 lines
394 B
YAML
apiVersion: apps/v1
|
|
kind: Deployment
|
|
metadata:
|
|
labels:
|
|
app: vote
|
|
name: vote
|
|
namespace: vote
|
|
spec:
|
|
replicas: 1
|
|
selector:
|
|
matchLabels:
|
|
app: vote
|
|
template:
|
|
metadata:
|
|
labels:
|
|
app: vote
|
|
spec:
|
|
containers:
|
|
- image: dockersamples/examplevotingapp_vote:before
|
|
name: vote
|
|
ports:
|
|
- containerPort: 80
|
|
name: vote
|