github.com/replicatedhq/ship@v0.55.0/integration/init/jaeger/expected/.ship/upstream/jaeger-production-template.yml (about)

     1  #
     2  # Copyright 2017-2018 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  apiVersion: v1
    16  kind: List
    17  items:
    18  - apiVersion: extensions/v1beta1
    19    kind: Deployment
    20    metadata:
    21      name: jaeger-collector
    22      labels:
    23        app: jaeger
    24        jaeger-infra: collector-deployment
    25    spec:
    26      replicas: 1
    27      strategy:
    28        type: Recreate
    29      template:
    30        metadata:
    31          labels:
    32            app: jaeger
    33            jaeger-infra: collector-pod
    34          annotations:
    35            prometheus.io/scrape: "true"
    36            prometheus.io/port: "14268"
    37        spec:
    38          containers:
    39          - image: jaegertracing/jaeger-collector:1.6.0
    40            name: jaeger-collector
    41            args: ["--config-file=/conf/collector.yaml"]
    42            ports:
    43            - containerPort: 14267
    44              protocol: TCP
    45            - containerPort: 14268
    46              protocol: TCP
    47            - containerPort: 9411
    48              protocol: TCP
    49            readinessProbe:
    50              httpGet:
    51                path: "/"
    52                port: 14269
    53            volumeMounts:
    54            - name: jaeger-configuration-volume
    55              mountPath: /conf
    56            env:
    57            - name: SPAN_STORAGE_TYPE
    58              valueFrom:
    59                configMapKeyRef:
    60                  name: jaeger-configuration
    61                  key: span-storage-type
    62          volumes:
    63            - configMap:
    64                name: jaeger-configuration
    65                items:
    66                  - key: collector
    67                    path: collector.yaml
    68              name: jaeger-configuration-volume
    69  - apiVersion: v1
    70    kind: Service
    71    metadata:
    72      name: jaeger-collector
    73      labels:
    74        app: jaeger
    75        jaeger-infra: collector-service
    76    spec:
    77      ports:
    78      - name: jaeger-collector-tchannel
    79        port: 14267
    80        protocol: TCP
    81        targetPort: 14267
    82      - name: jaeger-collector-http
    83        port: 14268
    84        protocol: TCP
    85        targetPort: 14268
    86      - name: jaeger-collector-zipkin
    87        port: 9411
    88        protocol: TCP
    89        targetPort: 9411
    90      selector:
    91        jaeger-infra: collector-pod
    92      type: ClusterIP
    93  - apiVersion: v1
    94    kind: Service
    95    metadata:
    96      name: zipkin
    97      labels:
    98        app: jaeger
    99        jaeger-infra: zipkin-service
   100    spec:
   101      ports:
   102      - name: jaeger-collector-zipkin
   103        port: 9411
   104        protocol: TCP
   105        targetPort: 9411
   106      selector:
   107        jaeger-infra: collector-pod
   108      type: ClusterIP
   109  - apiVersion: extensions/v1beta1
   110    kind: Deployment
   111    metadata:
   112      name: jaeger-query
   113      labels:
   114        app: jaeger
   115        jaeger-infra: query-deployment
   116    spec:
   117      replicas: 1
   118      strategy:
   119        type: Recreate
   120      template:
   121        metadata:
   122          labels:
   123            app: jaeger
   124            jaeger-infra: query-pod
   125          annotations:
   126            prometheus.io/scrape: "true"
   127            prometheus.io/port: "16686"
   128        spec:
   129          containers:
   130          - image: jaegertracing/jaeger-query:1.6.0
   131            name: jaeger-query
   132            args: ["--config-file=/conf/query.yaml"]
   133            ports:
   134            - containerPort: 16686
   135              protocol: TCP
   136            readinessProbe:
   137              httpGet:
   138                path: "/"
   139                port: 16687
   140            volumeMounts:
   141            - name: jaeger-configuration-volume
   142              mountPath: /conf
   143            env:
   144            - name: SPAN_STORAGE_TYPE
   145              valueFrom:
   146                configMapKeyRef:
   147                  name: jaeger-configuration
   148                  key: span-storage-type
   149          volumes:
   150            - configMap:
   151                name: jaeger-configuration
   152                items:
   153                  - key: query
   154                    path: query.yaml
   155              name: jaeger-configuration-volume
   156  - apiVersion: v1
   157    kind: Service
   158    metadata:
   159      name: jaeger-query
   160      labels:
   161        app: jaeger
   162        jaeger-infra: query-service
   163    spec:
   164      ports:
   165      - name: jaeger-query
   166        port: 80
   167        protocol: TCP
   168        targetPort: 16686
   169      selector:
   170        jaeger-infra: query-pod
   171      type: LoadBalancer
   172  - apiVersion: extensions/v1beta1
   173    kind: DaemonSet
   174    metadata:
   175      name: jaeger-agent
   176      labels:
   177        app: jaeger
   178        jaeger-infra: agent-daemonset
   179    spec:
   180      template:
   181        metadata:
   182          labels:
   183            app: jaeger
   184            jaeger-infra: agent-instance
   185          annotations:
   186            prometheus.io/scrape: "true"
   187            prometheus.io/port: "5778"
   188        spec:
   189          containers:
   190          - name: agent-instance
   191            image: jaegertracing/jaeger-agent:1.6.0
   192            args: ["--config-file=/conf/agent.yaml"]
   193            volumeMounts:
   194            - name: jaeger-configuration-volume
   195              mountPath: /conf
   196            ports:
   197            - containerPort: 5775
   198              protocol: UDP
   199            - containerPort: 6831
   200              protocol: UDP
   201            - containerPort: 6832
   202              protocol: UDP
   203            - containerPort: 5778
   204              protocol: TCP
   205          hostNetwork: true
   206          dnsPolicy: ClusterFirstWithHostNet
   207          volumes:
   208            - configMap:
   209                name: jaeger-configuration
   210                items:
   211                  - key: agent
   212                    path: agent.yaml
   213              name: jaeger-configuration-volume