apiVersion: apps/v1
kind: Deployment
metadata:
  labels:
    app: bottle-dualrobot
  name: bottle-dualrobot
  namespace: default
spec:
  replicas: 1
  selector:
    matchLabels:
      app: bottle-dualrobot
  strategy:
    rollingUpdate:
      maxSurge: 25%
      maxUnavailable: 25%
    type: RollingUpdate
  template:
    metadata:
      labels:
        app: bottle-dualrobot
    spec:
      containers:
      - image: linuxrobotgeek/bottle-dualrobot:v1.0.0
        imagePullPolicy: IfNotPresent
        name: bottle-dualrobot
        resources:
          requests:
            cpu: 50m
            memory: 256Mi
