apiVersion: apps/v1
kind: Deployment
metadata:
  name: redirect
  labels:
    app: redirect
spec:
  selector:
    matchLabels:
      app: redirect
  strategy:
    type: RollingUpdate
    rollingUpdate:
      maxUnavailable: 0
      maxSurge: 1
  template:
    metadata:
      labels:
        app: redirect
    spec:
      containers:
      - name: redirect
        image: ghcr.io/ykzts-technology/redirect:2.1.0
        ports:
        - containerPort: 8080
