apiVersion: apps/v1
kind: Deployment
metadata:
  labels:
    app: result
  name: result
  namespace: vote
spec:
  replicas: 1
  selector:
    matchLabels:
      app: result
  template:
    metadata:
      labels:
        app: result
    spec:
      containers:
      - image: quay.io/cheyang/result-app:v1
        name: result
        env:
        - name: PORT
          value: "9080"
        ports:
        - containerPort: 9080
          name: result
