sigs.k8s.io/cluster-api-provider-azure@v1.14.3/hack/observability/opentelemetry/chart/values.yaml (about)

     1  # Default values for opentelemetry-collector.
     2  # This is a YAML-formatted file.
     3  # Declare variables to be passed into your templates.
     4  
     5  nameOverride: ""
     6  fullnameOverride: ""
     7  
     8  config:
     9    exporters:
    10      logging: {}
    11    extensions:
    12      health_check: {}
    13      memory_ballast: {}
    14    processors:
    15      batch: {}
    16      # If set to null, will be overridden with values based on k8s resource limits
    17      memory_limiter: null
    18    receivers:
    19      jaeger:
    20        protocols:
    21          grpc:
    22            endpoint: 0.0.0.0:14250
    23          thrift_http:
    24            endpoint: 0.0.0.0:14268
    25          thrift_compact:
    26            endpoint: 0.0.0.0:6831
    27      otlp:
    28        protocols:
    29          grpc:
    30            endpoint: 0.0.0.0:4317
    31          http:
    32            endpoint: 0.0.0.0:4318
    33      prometheus:
    34        config:
    35          scrape_configs:
    36            - job_name: opentelemetry-collector
    37              scrape_interval: 10s
    38              static_configs:
    39                - targets:
    40                    - ${MY_POD_IP}:8888
    41      zipkin:
    42        endpoint: 0.0.0.0:9411
    43    service:
    44      telemetry:
    45        metrics:
    46          address: 0.0.0.0:8888
    47      extensions:
    48        - health_check
    49        - memory_ballast
    50      pipelines:
    51        logs:
    52          exporters:
    53            - logging
    54          processors:
    55            - memory_limiter
    56            - batch
    57          receivers:
    58            - otlp
    59        metrics:
    60          exporters:
    61            - logging
    62          processors:
    63            - memory_limiter
    64            - batch
    65          receivers:
    66            - otlp
    67            - prometheus
    68        traces:
    69          exporters:
    70            - logging
    71          processors:
    72            - memory_limiter
    73            - batch
    74          receivers:
    75            - otlp
    76            - jaeger
    77            - zipkin
    78  
    79  # Shared params for agentCollector daemonset and standaloneCollector deployment pods.
    80  # Can be overridden here or for any component independently using the same keys.
    81  
    82  image:
    83    # If you want to use the core image `otel/opentelemetry-collector`, you also need to change `command.name` value to `otelcol`.
    84    repository: otel/opentelemetry-collector-contrib
    85    pullPolicy: IfNotPresent
    86    # Overrides the image tag whose default is the chart appVersion.
    87    tag: ""
    88  imagePullSecrets: []
    89  
    90  # OpenTelemetry Collector executable
    91  command:
    92    name: otelcol-contrib
    93    extraArgs: []
    94  
    95  serviceAccount:
    96    # Specifies whether a service account should be created
    97    create: true
    98    # Annotations to add to the service account
    99    annotations: {}
   100    # The name of the service account to use.
   101    # If not set and create is true, a name is generated using the fullname template
   102    name: ""
   103  
   104  clusterRole:
   105    # Specifies whether a clusterRole should be created
   106    create: false
   107    # Annotations to add to the clusterRole
   108    annotations: {}
   109    # The name of the clusterRole to use.
   110    # If not set and create is true, a name is generated using the fullname template
   111    name: ""
   112    # A set of rules as documented here : https://kubernetes.io/docs/reference/access-authn-authz/rbac/
   113    rules: []
   114    # - apiGroups:
   115    #   - ''
   116    #   resources:
   117    #   - 'pods'
   118    #   - 'nodes'
   119    #   verbs:
   120    #   - 'get'
   121    #   - 'list'
   122    #   - 'watch'
   123  
   124    clusterRoleBinding:
   125      # Annotations to add to the clusterRoleBinding
   126      annotations: {}
   127      # The name of the clusterRoleBinding to use.
   128      # If not set and create is true, a name is generated using the fullname template
   129      name: ""
   130  
   131  podSecurityContext: {}
   132  securityContext: {}
   133  
   134  nodeSelector: {}
   135  tolerations: []
   136  affinity: {}
   137  
   138  # Allows for pod scheduler prioritisation
   139  # Can be overridden here or for agentCollector and standaloneCollector independently.
   140  priorityClassName: ""
   141  
   142  extraEnvs: []
   143  extraVolumes: []
   144  extraVolumeMounts: []
   145  
   146  # Configuration for ports, shared between agentCollector, standaloneCollector and service.
   147  # Can be overridden here or for agentCollector and standaloneCollector independently.
   148  ports:
   149    otlp:
   150      enabled: true
   151      containerPort: 4317
   152      servicePort: 4317
   153      hostPort: 4317
   154      protocol: TCP
   155    otlp-http:
   156      enabled: true
   157      containerPort: 4318
   158      servicePort: 4318
   159      hostPort: 4318
   160      protocol: TCP
   161    jaeger-compact:
   162      enabled: true
   163      containerPort: 6831
   164      servicePort: 6831
   165      hostPort: 6831
   166      protocol: UDP
   167    jaeger-thrift:
   168      enabled: true
   169      containerPort: 14268
   170      servicePort: 14268
   171      hostPort: 14268
   172      protocol: TCP
   173    jaeger-grpc:
   174      enabled: true
   175      containerPort: 14250
   176      servicePort: 14250
   177      hostPort: 14250
   178      protocol: TCP
   179    zipkin:
   180      enabled: true
   181      containerPort: 9411
   182      servicePort: 9411
   183      hostPort: 9411
   184      protocol: TCP
   185    metrics:
   186      # The metrics port is disabled by default. However you need to enable the port
   187      # in order to use the ServiceMonitor (serviceMonitor.enabled) or PodMonitor (podMonitor.enabled).
   188      enabled: false
   189      containerPort: 8888
   190      servicePort: 8888
   191      protocol: TCP
   192  
   193  # Configuration for agent OpenTelemetry Collector daemonset, enabled by default
   194  agentCollector:
   195    enabled: true
   196  
   197    containerLogs:
   198      enabled: false
   199  
   200    resources:
   201      limits:
   202        cpu: 256m
   203        memory: 512Mi
   204  
   205    podAnnotations: {}
   206  
   207    podLabels: {}
   208  
   209    # Host networking requested for this pod. Use the host's network namespace.
   210    hostNetwork: false
   211  
   212    # Configuration override that will be merged into the agent's default config
   213    configOverride: {}
   214    # The following config override can be used to enable host receiver
   215    #   receivers:
   216    #     hostmetrics:
   217    #       scrapers:
   218    #         cpu:
   219    #         disk:
   220    #         filesystem:
   221    #   service:
   222    #     pipelines:
   223    #       metrics:
   224    #         receivers: [prometheus, hostmetrics]
   225  
   226    # Any of the top level options can be overridden specifically for agent
   227    # image: {}
   228    # imagePullSecrets: []
   229    # command: {}
   230    # serviceAccount: {}
   231    # podSecurityContext: {}
   232    # securityContext: {}
   233    # nodeSelector: {}
   234    # tolerations: []
   235    # affinity: {}
   236    # priorityClassName: ""
   237  
   238    # The following option overrides can be used with host receiver
   239    # extraEnvs:
   240    # - name: HOST_PROC
   241    #   value: /hostfs/proc
   242    # - name: HOST_SYS
   243    #   value: /hostfs/sys
   244    # - name: HOST_ETC
   245    #   value: /hostfs/etc
   246    # - name: HOST_VAR
   247    #   value: /hostfs/var
   248    # - name: HOST_RUN
   249    #   value: /hostfs/run
   250    # - name: HOST_DEV
   251    #   value: /hostfs/dev
   252    # extraHostPathMounts:
   253    # - name: hostfs
   254    #   hostPath: /
   255    #   mountPath: /hostfs
   256    #   readOnly: true
   257    #   mountPropagation: HostToContainer
   258  
   259    # The following example disables all jaeger ports and zipkin hostPort on the agent
   260    # ports:
   261    #   jaeger-thrift:
   262    #     enabled: false
   263    #   jaeger-grpc:
   264    #     enabled: false
   265    #   zipkin:
   266    #     hostPort: ""
   267  
   268  # Configuration for standalone OpenTelemetry Collector deployment, disabled by default
   269  standaloneCollector:
   270    enabled: false
   271  
   272    replicaCount: 1
   273  
   274    resources:
   275      limits:
   276        cpu: 1
   277        memory: 2Gi
   278  
   279    podAnnotations: {}
   280  
   281    podLabels: {}
   282  
   283    annotations: {}
   284  
   285    # Configuration override that will be merged into the standalone collector default config
   286    configOverride: {}
   287  
   288    # Any of the top level options can be overridden specifically for standalone collector
   289    # image: {}
   290    # imagePullSecrets: []
   291    # command: {}
   292    # serviceAccount: {}
   293    # podSecurityContext: {}
   294    # securityContext: {}
   295    # nodeSelector: {}
   296    # tolerations: []
   297    # affinity: {}
   298    # priorityClassName: ""
   299    # ports: {}
   300  
   301  service:
   302    type: ClusterIP
   303    annotations: {}
   304  
   305  ingress:
   306    enabled: false
   307    annotations: {}
   308  #  ingressClassName: nginx
   309  #  hosts:
   310  #    - host: collector.example.com
   311  #      paths:
   312  #        - path: /
   313  #          pathType: Prefix
   314  #          port: 4318
   315  #  tls:
   316  #    - secretName: collector-tls
   317  #      hosts:
   318  #        - collector.example.com
   319  
   320  podMonitor:
   321    # The pod monitor by default scrapes the metrics port.
   322    # The metrics port needs to be enabled as well.
   323    enabled: false
   324    metricsEndpoints:
   325    - port: metrics
   326      # interval: 15s
   327  
   328    # additional labels for the PodMonitor
   329    extraLabels: {}
   330    #   release: kube-prometheus-stack
   331  
   332  serviceMonitor:
   333    # The service monitor by default scrapes the metrics port.
   334    # The metrics port needs to be enabled as well.
   335    enabled: false
   336    metricsEndpoints:
   337    - port: metrics
   338      # interval: 15s
   339  
   340    # additional labels for the ServiceMonitor
   341    extraLabels: {}
   342    #  release: kube-prometheus-stack
   343  
   344  # PodDisruptionBudget is used only if standaloneCollector enabled
   345  podDisruptionBudget:
   346    enabled: false
   347  #   minAvailable: 2
   348  #   maxUnavailable: 1
   349  
   350  # autoscaling is used only if standaloneCollector enabled
   351  autoscaling:
   352    enabled: false
   353    minReplicas: 1
   354    maxReplicas: 10
   355    targetCPUUtilizationPercentage: 80
   356    # targetMemoryUtilizationPercentage: 80