name: Autogenerated
services:
  31caa4b1-0df4-4ca5-99ec-97c5b2a095e2:
    name: prometheus-adapter
    type: Deployment
    apiVersion: apps/v1
    namespace: monitoring
    model: kubernetes
    labels:
      app.kubernetes.io/component: metrics-adapter
      app.kubernetes.io/name: prometheus-adapter
      app.kubernetes.io/part-of: kube-prometheus
      app.kubernetes.io/version: 0.11.2
    settings:
      spec:
        replicas: 2
        selector:
          match Labels:
            app.kubernetes.io/component: metrics-adapter
            app.kubernetes.io/name: prometheus-adapter
            app.kubernetes.io/part-of: kube-prometheus
        strategy:
          rolling Update:
            max Surge: 1
            max Unavailable: 1
        template:
          metadata:
            annotations:
              checksum.config/md5: 3b1ebf7df0232d1675896f67b66373db
            labels:
              app.kubernetes.io/component: metrics-adapter
              app.kubernetes.io/name: prometheus-adapter
              app.kubernetes.io/part-of: kube-prometheus
              app.kubernetes.io/version: 0.11.2
          spec:
            automount Service Account Token: true
            containers:
            - args:
              - --cert-dir=/var/run/serving-cert
              - --config=/etc/adapter/config.yaml
              - --metrics-relist-interval=1m
              - --prometheus-url=http://prometheus-k8s.monitoring.svc:9090/
              - --secure-port=6443
              - --tls-cipher-suites=TLS_ECDHE_RSA_WITH_CHACHA20_POLY1305,TLS_ECDHE_ECDSA_WITH_CHACHA20_POLY1305,TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256,TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384,TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256,TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384,TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA,TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA256,TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA,TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA,TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA,TLS_RSA_WITH_AES_128_GCM_SHA256,TLS_RSA_WITH_AES_256_GCM_SHA384,TLS_RSA_WITH_AES_128_CBC_SHA,TLS_RSA_WITH_AES_256_CBC_SHA
              image: registry.k8s.io/prometheus-adapter/prometheus-adapter:v0.11.2
              liveness Probe:
                failure Threshold: 5
                http Get:
                  path: /livez
                  port: https
                  scheme: HTTPS
                period Seconds: 5
              name: prometheus-adapter
              ports:
              - container Port: 6443
                name: https
              readiness Probe:
                failure Threshold: 5
                http Get:
                  path: /readyz
                  port: https
                  scheme: HTTPS
                period Seconds: 5
              resources:
                limits:
                  cpu: 250m
                  memory: 180Mi
                requests:
                  cpu: 102m
                  memory: 180Mi
              security Context:
                allow Privilege Escalation: false
                capabilities:
                  drop:
                  - ALL
                read Only Root Filesystem: true
                run As Non Root: true
                seccomp Profile:
                  type: RuntimeDefault
              startup Probe:
                failure Threshold: 18
                http Get:
                  path: /livez
                  port: https
                  scheme: HTTPS
                period Seconds: 10
              volume Mounts:
              - mount Path: /tmp
                name: tmpfs
                read Only: false
              - mount Path: /var/run/serving-cert
                name: volume-serving-cert
                read Only: false
              - mount Path: /etc/adapter
                name: config
                read Only: false
            node Selector:
              kubernetes.io/os: linux
            service Account Name: prometheus-adapter
            volumes:
            - empty Dir: {}
              name: tmpfs
            - empty Dir: {}
              name: volume-serving-cert
            - config Map:
                name: adapter-config
              name: config
    traits:
      meshmap:
        id: 89dd849c-fee3-483f-9bff-c8af07eb5357
        meshmodel-metadata:
          capabilities: |2-
             {
              "designer": {
                "edit": {
                  "shape": {
                    "convert-shape": false
                  }
                }
              }
            }
          defaultData: ""
          genealogy: parent
          isAnnotation: false
          isCustomResource: false
          isModelAnnotation: "FALSE"
          isNamespaced: true
          logoURL: Created by Meshery Authors
          model: kubernetes
          modelDisplayName: Kubernetes
          primaryColor: '#326CE5'
          secondaryColor: '#7aa1f0'
          shape: round-pentagon
          shapePolygonPoints: ""
          status: enabled
          styleOverrides: '{"border-width":2,"background-opacity":0.5}'
          styles: '{"border-width":2,"background-opacity":0.5}'
          subCategory: ""
          svgColor: ui/public/static/img/meshmodels/kubernetes/color/deployment-color.svg
          svgComplete: ui/public/static/img/meshmodels/kubernetes/complete/deployment-complete.svg
          svgWhite: ui/public/static/img/meshmodels/kubernetes/white/deployment-white.svg
