github.com/kyma-project/kyma/components/asset-store-controller-manager@v0.0.0-20191203152857-3792b5df17c5/config/manager/manager.yaml (about)

     1  apiVersion: v1
     2  kind: Namespace
     3  metadata:
     4    labels:
     5      control-plane: controller-manager
     6    name: system
     7  ---
     8  apiVersion: apps/v1
     9  kind: Deployment
    10  metadata:
    11    name: controller-manager
    12    namespace: system
    13    labels:
    14      control-plane: controller-manager
    15  spec:
    16    selector:
    17      matchLabels:
    18        control-plane: controller-manager
    19    replicas: 1
    20    template:
    21      metadata:
    22        labels:
    23          control-plane: controller-manager
    24      spec:
    25        containers:
    26        - command:
    27          - /manager
    28          args:
    29          - --enable-leader-election
    30          image: controller:latest
    31          name: manager
    32          resources:
    33            limits:
    34              cpu: 100m
    35              memory: 30Mi
    36            requests:
    37              cpu: 100m
    38              memory: 20Mi
    39        terminationGracePeriodSeconds: 10