2019-08-26 07:52:41 +02:00
|
|
|
apiVersion: apps/v1
|
2018-03-05 12:57:48 +01:00
|
|
|
kind: Deployment
|
|
|
|
metadata:
|
2019-08-26 07:52:41 +02:00
|
|
|
labels:
|
|
|
|
app: vote
|
2018-03-05 12:57:48 +01:00
|
|
|
name: vote
|
2018-10-09 21:51:59 +02:00
|
|
|
namespace: vote
|
2018-03-05 12:57:48 +01:00
|
|
|
spec:
|
|
|
|
replicas: 1
|
2019-08-26 07:52:41 +02:00
|
|
|
selector:
|
|
|
|
matchLabels:
|
|
|
|
app: vote
|
2018-03-05 12:57:48 +01:00
|
|
|
template:
|
|
|
|
metadata:
|
|
|
|
labels:
|
|
|
|
app: vote
|
|
|
|
spec:
|
|
|
|
containers:
|
|
|
|
- image: dockersamples/examplevotingapp_vote:before
|
|
|
|
name: vote
|
2019-08-26 07:52:41 +02:00
|
|
|
ports:
|
|
|
|
- containerPort: 80
|
|
|
|
name: vote
|