apiVersion: apps/v1
kind: Deployment
metadata:
  name: server-demo-v1-dp
  namespace: service-mesh-test-service-mesh
spec:
  replicas: 1
  selector:
    matchLabels:
      app: server-demo
      version: v1
  strategy:
    rollingUpdate:
      maxSurge: 1
      maxUnavailable: 1
    type: RollingUpdate
  template:
    metadata:
      annotations:
        sidecar.istio.io/inject: 'true'
      labels:
        app: server-demo
        version: v1
    spec:
      containers:
      - image: quay.io/openshift-cnv/qe-cnv-service-mesh-server-demo:v1.0
        imagePullPolicy: Always
        name: server-demo-v1-dp
      restartPolicy: Always
