github.com/pachyderm/pachyderm@v1.13.4/etc/deploy/tracing/jaeger-all-in-one.yaml (about)

     1  # copied from
     2  # https://github.com/jaegertracing/jaeger-kubernetes/blob/bcca10c297b38c01d9d7c554172572ffa11944ce/all-in-one/jaeger-all-in-one-template.yml
     3  # with minor changes:
     4  #   - jaeger-agent service removed (unused--our client sends traces directly to the collector. See
     5  #     https://github.com/jaegertracing/jaeger-client-csharp/issues/104
     6  #     - Associated ports (5775, 5778, 6831, 6832) were all removed from the container as well
     7  #   - The jaeger-collector-tchannel and jaeger-collector-http ports are exported from the container
     8  #     (AFAICT this YAML doesn't work as written in jaegertracing/jaeger-kubernetes)
     9  #   - container version fixed at 1.10.1
    10  # Maybe also do:
    11  #   - Zipkin port removed from collector service and jaeger-collector-zipkin service removed (unused)
    12  #   - Remove the COLLECTOR_ZIPKIN_HTTP_PORT env var from the container, and remove port 9411
    13  #     from the jaeger-collector service (the zipkin collector port)
    14  ##################################################################################################
    15  # Copyright 2017-2019 The Jaeger Authors
    16  #
    17  # Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
    18  # in compliance with the License. You may obtain a copy of the License at
    19  #
    20  # http://www.apache.org/licenses/LICENSE-2.0
    21  #
    22  # Unless required by applicable law or agreed to in writing, software distributed under the License
    23  # is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
    24  # or implied. See the License for the specific language governing permissions and limitations under
    25  # the License.
    26  #
    27  
    28  apiVersion: v1
    29  kind: List
    30  items:
    31  - apiVersion: apps/v1
    32    kind: Deployment
    33    metadata:
    34      name: jaeger
    35      labels:
    36        app: jaeger
    37        app.kubernetes.io/name: jaeger
    38        app.kubernetes.io/component: all-in-one
    39    spec:
    40      replicas: 1
    41      strategy:
    42        type: Recreate
    43      selector:
    44        matchLabels:
    45          app: jaeger
    46          app.kubernetes.io/name: jaeger
    47          app.kubernetes.io/component: all-in-one
    48      template:
    49        metadata:
    50          labels:
    51            app: jaeger
    52            app.kubernetes.io/name: jaeger
    53            app.kubernetes.io/component: all-in-one
    54          annotations:
    55            prometheus.io/scrape: "true"
    56            prometheus.io/port: "16686"
    57        spec:
    58            containers:
    59            -   env:
    60                - name: COLLECTOR_ZIPKIN_HTTP_PORT
    61                  value: "9411"
    62                image: jaegertracing/all-in-one:1.15.1
    63                name: jaeger
    64                ports:
    65  #                 - containerPort: 5775
    66  #                   protocol: UDP
    67  #                 - containerPort: 6831
    68  #                   protocol: UDP
    69  #                 - containerPort: 6832
    70  #                   protocol: UDP
    71  #                 - containerPort: 5778
    72  #                   protocol: TCP
    73                  - containerPort: 16686
    74                    protocol: TCP
    75                  - containerPort: 9411
    76                    protocol: TCP
    77                  # These ports are referenced by the jaeger-collector service but
    78                  # aren't in the original manifest
    79                  - containerPort: 14267
    80                    protocol: TCP
    81                  - containerPort: 14268
    82                    protocol: TCP
    83                readinessProbe:
    84                  httpGet:
    85                    path: "/"
    86                    port: 14269
    87                  initialDelaySeconds: 5
    88  - apiVersion: v1
    89    kind: Service
    90    metadata:
    91      name: jaeger-query
    92      labels:
    93        app: jaeger
    94        app.kubernetes.io/name: jaeger
    95        app.kubernetes.io/component: query
    96    spec:
    97      ports:
    98        - name: query-http
    99          port: 80
   100          protocol: TCP
   101          targetPort: 16686
   102      selector:
   103        app.kubernetes.io/name: jaeger
   104        app.kubernetes.io/component: all-in-one
   105      type: LoadBalancer
   106  - apiVersion: v1
   107    kind: Service
   108    metadata:
   109      name: jaeger-collector
   110      labels:
   111        app: jaeger
   112        app.kubernetes.io/name: jaeger
   113        app.kubernetes.io/component: collector
   114    spec:
   115      ports:
   116      - name: jaeger-collector-tchannel
   117        port: 14267
   118        protocol: TCP
   119        targetPort: 14267
   120      - name: jaeger-collector-http
   121        port: 14268
   122        protocol: TCP
   123        targetPort: 14268
   124      - name: jaeger-collector-zipkin
   125        port: 9411
   126        protocol: TCP
   127        targetPort: 9411
   128      selector:
   129        app.kubernetes.io/name: jaeger
   130        app.kubernetes.io/component: all-in-one
   131      type: ClusterIP
   132  # - apiVersion: v1
   133  #   kind: Service
   134  #   metadata:
   135  #     name: jaeger-agent
   136  #     labels:
   137  #       app: jaeger
   138  #       app.kubernetes.io/name: jaeger
   139  #       app.kubernetes.io/component: agent
   140  #   spec:
   141  #     ports:
   142  #     - name: agent-zipkin-thrift
   143  #       port: 5775
   144  #       protocol: UDP
   145  #       targetPort: 5775
   146  #     - name: agent-compact
   147  #       port: 6831
   148  #       protocol: UDP
   149  #       targetPort: 6831
   150  #     - name: agent-binary
   151  #       port: 6832
   152  #       protocol: UDP
   153  #       targetPort: 6832
   154  #     - name: agent-configs
   155  #       port: 5778
   156  #       protocol: TCP
   157  #       targetPort: 5778
   158  #     clusterIP: None
   159  #     selector:
   160  #       app.kubernetes.io/name: jaeger
   161  #       app.kubernetes.io/component: all-in-one
   162  # - apiVersion: v1
   163  #   kind: Service
   164  #   metadata:
   165  #     name: zipkin
   166  #     labels:
   167  #       app: jaeger
   168  #       app.kubernetes.io/name: jaeger
   169  #       app.kubernetes.io/component: zipkin
   170  #   spec:
   171  #     ports:
   172  #     - name: jaeger-collector-zipkin
   173  #       port: 9411
   174  #       protocol: TCP
   175  #       targetPort: 9411
   176  #     clusterIP: None
   177  #     selector:
   178  #       app.kubernetes.io/name: jaeger
   179  #       app.kubernetes.io/component: all-in-one