apiVersion: apps/v1
kind: Deployment
metadata:
  name: vpa-recommender
  namespace: kube-system
  labels:
    application: vertical-pod-autoscaler
    component: recommender
    version: v0.6.1-internal.10
spec:
  replicas: 1
  selector:
    matchLabels:
      application: vertical-pod-autoscaler
      component: recommender
  template:
    metadata:
      labels:
        application: vertical-pod-autoscaler
        component: recommender
        version: v0.6.1-internal.10
    spec:
      serviceAccountName: vpa-recommender
      containers:
      - name: recommender
        image: registry.opensource.zalan.do/teapot/vpa-recommender:v0.6.1-internal.10
        args:
        - --stderrthreshold=info
        - --v=5
        - --memory-saver
        - --pod-recommendation-min-memory-mb=50
        command:
        - "/recommender"
        resources:
          limits:
            cpu: 200m
            memory: 500Mi
          requests:
            cpu: 200m
            memory: 500Mi
        ports:
        - containerPort: 8080
