github.com/replicatedhq/ship@v0.55.0/integration/init/jaeger-cassandra/expected/rendered.yaml (about)

     1  apiVersion: v1
     2  kind: Service
     3  metadata:
     4    labels:
     5      app: jaeger
     6      jaeger-infra: cassandra-service
     7      name: jaeger-cassandra-service
     8    name: cassandra
     9  spec:
    10    clusterIP: None
    11    ports:
    12    - name: intra-node
    13      port: 7000
    14    - name: tls-intra-node
    15      port: 7001
    16    - name: jmx
    17      port: 7199
    18    - name: cql
    19      port: 9042
    20    - name: thrift
    21      port: 9160
    22    selector:
    23      app: cassandra
    24  ---
    25  apiVersion: v1
    26  kind: Service
    27  metadata:
    28    labels:
    29      app: jaeger
    30      jaeger-infra: collector-service
    31    name: jaeger-collector
    32  spec:
    33    ports:
    34    - name: jaeger-collector-tchannel
    35      port: 14267
    36      protocol: TCP
    37      targetPort: 14267
    38    - name: jaeger-collector-http
    39      port: 14268
    40      protocol: TCP
    41      targetPort: 14268
    42    - name: jaeger-collector-zipkin
    43      port: 9411
    44      protocol: TCP
    45      targetPort: 9411
    46    selector:
    47      jaeger-infra: collector-pod
    48    type: ClusterIP
    49  ---
    50  apiVersion: v1
    51  kind: Service
    52  metadata:
    53    labels:
    54      app: jaeger
    55      jaeger-infra: query-service
    56    name: jaeger-query
    57  spec:
    58    ports:
    59    - name: jaeger-query
    60      port: 80
    61      protocol: TCP
    62      targetPort: 16686
    63    selector:
    64      jaeger-infra: query-pod
    65    type: LoadBalancer
    66  ---
    67  apiVersion: v1
    68  kind: Service
    69  metadata:
    70    labels:
    71      app: jaeger
    72      jaeger-infra: zipkin-service
    73    name: zipkin
    74  spec:
    75    ports:
    76    - name: jaeger-collector-zipkin
    77      port: 9411
    78      protocol: TCP
    79      targetPort: 9411
    80    selector:
    81      jaeger-infra: collector-pod
    82    type: ClusterIP
    83  ---
    84  apiVersion: extensions/v1beta1
    85  kind: Deployment
    86  metadata:
    87    labels:
    88      app: jaeger
    89      jaeger-infra: collector-deployment
    90    name: jaeger-collector
    91  spec:
    92    replicas: 1
    93    strategy:
    94      type: Recreate
    95    template:
    96      metadata:
    97        annotations:
    98          prometheus.io/port: "14268"
    99          prometheus.io/scrape: "true"
   100        labels:
   101          app: jaeger
   102          jaeger-infra: collector-pod
   103      spec:
   104        containers:
   105        - args:
   106          - --config-file=/conf/collector.yaml
   107          env:
   108          - name: SPAN_STORAGE_TYPE
   109            valueFrom:
   110              configMapKeyRef:
   111                key: span-storage-type
   112                name: jaeger-configuration
   113          image: jaegertracing/jaeger-collector:1.7.0
   114          name: jaeger-collector
   115          ports:
   116          - containerPort: 14267
   117            protocol: TCP
   118          - containerPort: 14268
   119            protocol: TCP
   120          - containerPort: 9411
   121            protocol: TCP
   122          readinessProbe:
   123            httpGet:
   124              path: /
   125              port: 14269
   126          volumeMounts:
   127          - mountPath: /conf
   128            name: jaeger-configuration-volume
   129        volumes:
   130        - configMap:
   131            items:
   132            - key: collector
   133              path: collector.yaml
   134            name: jaeger-configuration
   135          name: jaeger-configuration-volume
   136  ---
   137  apiVersion: extensions/v1beta1
   138  kind: Deployment
   139  metadata:
   140    labels:
   141      app: jaeger
   142      jaeger-infra: query-deployment
   143    name: jaeger-query
   144  spec:
   145    replicas: 1
   146    strategy:
   147      type: Recreate
   148    template:
   149      metadata:
   150        annotations:
   151          prometheus.io/port: "16686"
   152          prometheus.io/scrape: "true"
   153        labels:
   154          app: jaeger
   155          jaeger-infra: query-pod
   156      spec:
   157        containers:
   158        - args:
   159          - --config-file=/conf/query.yaml
   160          env:
   161          - name: SPAN_STORAGE_TYPE
   162            valueFrom:
   163              configMapKeyRef:
   164                key: span-storage-type
   165                name: jaeger-configuration
   166          image: jaegertracing/jaeger-query:1.7.0
   167          name: jaeger-query
   168          ports:
   169          - containerPort: 16686
   170            protocol: TCP
   171          readinessProbe:
   172            httpGet:
   173              path: /
   174              port: 16687
   175          volumeMounts:
   176          - mountPath: /conf
   177            name: jaeger-configuration-volume
   178        volumes:
   179        - configMap:
   180            items:
   181            - key: query
   182              path: query.yaml
   183            name: jaeger-configuration
   184          name: jaeger-configuration-volume
   185  ---
   186  apiVersion: apps/v1beta1
   187  kind: StatefulSet
   188  metadata:
   189    labels:
   190      app: jaeger
   191      jaeger-infra: cassandra-statefulset
   192    name: cassandra
   193  spec:
   194    replicas: 3
   195    serviceName: cassandra
   196    template:
   197      metadata:
   198        labels:
   199          app: cassandra
   200          jaeger-infra: cassandra-replica
   201      spec:
   202        containers:
   203        - command:
   204          - /docker-entrypoint.sh
   205          - -R
   206          env:
   207          - name: MAX_HEAP_SIZE
   208            value: 512M
   209          - name: HEAP_NEWSIZE
   210            value: 100M
   211          - name: CASSANDRA_LISTEN_ADDRESS
   212            valueFrom:
   213              fieldRef:
   214                fieldPath: status.podIP
   215          - name: CASSANDRA_CLUSTER_NAME
   216            value: jaeger
   217          - name: CASSANDRA_DC
   218            value: dc1
   219          - name: CASSANDRA_RACK
   220            value: rack1
   221          - name: CASSANDRA_ENDPOINT_SNITCH
   222            value: GossipingPropertyFileSnitch
   223          - name: CASSANDRA_SEEDS
   224            value: cassandra-0.cassandra
   225          image: cassandra:3.11
   226          lifecycle:
   227            preStop:
   228              exec:
   229                command:
   230                - /bin/sh
   231                - -c
   232                - nodetool drain
   233          name: cassandra
   234          ports:
   235          - containerPort: 7000
   236            name: intra-node
   237          - containerPort: 7001
   238            name: tls-intra-node
   239          - containerPort: 7199
   240            name: jmx
   241          - containerPort: 9042
   242            name: cql
   243          - containerPort: 9160
   244            name: thrift
   245          volumeMounts:
   246          - mountPath: /var/lib/cassandra
   247            name: cassandra-data
   248          - mountPath: /var/log/cassandra
   249            name: cassandra-logs
   250        terminationGracePeriodSeconds: 1800
   251        volumes:
   252        - emptyDir: {}
   253          name: cassandra-data
   254        - emptyDir: {}
   255          name: cassandra-logs
   256  ---
   257  apiVersion: batch/v1
   258  kind: Job
   259  metadata:
   260    labels:
   261      app: jaeger
   262      jaeger-infra: cassandra-schema-job
   263    name: jaeger-cassandra-schema-job
   264  spec:
   265    activeDeadlineSeconds: 120
   266    template:
   267      metadata:
   268        name: cassandra-schema
   269      spec:
   270        containers:
   271        - env:
   272          - name: MODE
   273            value: prod
   274          - name: DATACENTER
   275            value: dc1
   276          image: jaegertracing/jaeger-cassandra-schema:1.6.0
   277          name: jaeger-cassandra-schema
   278        restartPolicy: OnFailure
   279  ---
   280  apiVersion: extensions/v1beta1
   281  kind: DaemonSet
   282  metadata:
   283    labels:
   284      app: jaeger
   285      jaeger-infra: agent-daemonset
   286    name: jaeger-agent
   287  spec:
   288    template:
   289      metadata:
   290        annotations:
   291          prometheus.io/port: "5778"
   292          prometheus.io/scrape: "true"
   293        labels:
   294          app: jaeger
   295          jaeger-infra: agent-instance
   296      spec:
   297        containers:
   298        - args:
   299          - --config-file=/conf/agent.yaml
   300          image: jaegertracing/jaeger-agent:1.7.0
   301          name: agent-instance
   302          ports:
   303          - containerPort: 5775
   304            protocol: UDP
   305          - containerPort: 6831
   306            protocol: UDP
   307          - containerPort: 6832
   308            protocol: UDP
   309          - containerPort: 5778
   310            protocol: TCP
   311          volumeMounts:
   312          - mountPath: /conf
   313            name: jaeger-configuration-volume
   314        dnsPolicy: ClusterFirstWithHostNet
   315        hostNetwork: true
   316        volumes:
   317        - configMap:
   318            items:
   319            - key: agent
   320              path: agent.yaml
   321            name: jaeger-configuration
   322          name: jaeger-configuration-volume