github.com/onflow/flow-go@v0.35.7-crescendo-preview.23-atree-inlining/k8s/local/jaeger-all-in-one.yml (about)

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