github.com/m3db/m3@v1.5.0/scripts/vagrant/provision/manifests/kube-prometheus/0prometheus-operator-deployment.yaml (about)

     1  apiVersion: apps/v1
     2  kind: Deployment
     3  metadata:
     4    labels:
     5      k8s-app: prometheus-operator
     6    name: prometheus-operator
     7    namespace: monitoring
     8  spec:
     9    replicas: 1
    10    selector:
    11      matchLabels:
    12        k8s-app: prometheus-operator
    13    template:
    14      metadata:
    15        labels:
    16          k8s-app: prometheus-operator
    17      spec:
    18        containers:
    19        - args:
    20          - --kubelet-service=kube-system/kubelet
    21          - --logtostderr=true
    22          - --config-reloader-image=quay.io/coreos/configmap-reload:v0.0.1
    23          - --prometheus-config-reloader=quay.io/coreos/prometheus-config-reloader:v0.36.0
    24          image: quay.io/coreos/prometheus-operator:v0.36.0
    25          name: prometheus-operator
    26          ports:
    27          - containerPort: 8080
    28            name: http
    29          resources:
    30            limits:
    31              cpu: 200m
    32              memory: 200Mi
    33            requests:
    34              cpu: 100m
    35              memory: 100Mi
    36          securityContext:
    37            allowPrivilegeEscalation: false
    38            readOnlyRootFilesystem: true
    39        nodeSelector:
    40          beta.kubernetes.io/os: linux
    41        securityContext:
    42          runAsNonRoot: true
    43          runAsUser: 65534
    44        serviceAccountName: prometheus-operator