Created
February 21, 2019 18:47
-
-
Save akhenakh/615686891340f5306dcbed82dd1d9d67 to your computer and use it in GitHub Desktop.
Jaeger all in one for development for Kubernetes from https://raw.githubusercontent.com/jaegertracing/jaeger-kubernetes/master/all-in-one/jaeger-all-in-one-template.yml modified to use an ingress
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# | |
# Copyright 2017-2019 The Jaeger Authors | |
# | |
# Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except | |
# in compliance with the License. You may obtain a copy of the License at | |
# | |
# http://www.apache.org/licenses/LICENSE-2.0 | |
# | |
# Unless required by applicable law or agreed to in writing, software distributed under the License | |
# is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express | |
# or implied. See the License for the specific language governing permissions and limitations under | |
# the License. | |
# | |
apiVersion: v1 | |
kind: List | |
items: | |
- apiVersion: extensions/v1beta1 | |
kind: Deployment | |
metadata: | |
name: jaeger-deployment | |
labels: | |
app: jaeger | |
jaeger-infra: jaeger-deployment | |
spec: | |
replicas: 1 | |
strategy: | |
type: Recreate | |
template: | |
metadata: | |
labels: | |
app: jaeger | |
jaeger-infra: jaeger-pod | |
annotations: | |
prometheus.io/scrape: "true" | |
prometheus.io/port: "16686" | |
spec: | |
containers: | |
- env: | |
- name: COLLECTOR_ZIPKIN_HTTP_PORT | |
value: "9411" | |
image: jaegertracing/all-in-one | |
name: jaeger | |
ports: | |
- containerPort: 5775 | |
protocol: UDP | |
- containerPort: 6831 | |
protocol: UDP | |
- containerPort: 6832 | |
protocol: UDP | |
- containerPort: 5778 | |
protocol: TCP | |
- containerPort: 16686 | |
protocol: TCP | |
- containerPort: 9411 | |
protocol: TCP | |
readinessProbe: | |
httpGet: | |
path: "/" | |
port: 14269 | |
initialDelaySeconds: 5 | |
- apiVersion: v1 | |
kind: Service | |
metadata: | |
name: jaeger-query | |
labels: | |
app: jaeger | |
jaeger-infra: jaeger-service | |
spec: | |
ports: | |
- name: query-http | |
port: 80 | |
protocol: TCP | |
targetPort: 16686 | |
selector: | |
jaeger-infra: jaeger-pod | |
type: ClusterIP | |
- apiVersion: v1 | |
kind: Service | |
metadata: | |
name: jaeger-collector | |
labels: | |
app: jaeger | |
jaeger-infra: collector-service | |
spec: | |
ports: | |
- name: jaeger-collector-tchannel | |
port: 14267 | |
protocol: TCP | |
targetPort: 14267 | |
- name: jaeger-collector-http | |
port: 14268 | |
protocol: TCP | |
targetPort: 14268 | |
- name: jaeger-collector-zipkin | |
port: 9411 | |
protocol: TCP | |
targetPort: 9411 | |
selector: | |
jaeger-infra: jaeger-pod | |
type: ClusterIP | |
- apiVersion: v1 | |
kind: Service | |
metadata: | |
name: jaeger-agent | |
labels: | |
app: jaeger | |
jaeger-infra: agent-service | |
spec: | |
ports: | |
- name: agent-zipkin-thrift | |
port: 5775 | |
protocol: UDP | |
targetPort: 5775 | |
- name: agent-compact | |
port: 6831 | |
protocol: UDP | |
targetPort: 6831 | |
- name: agent-binary | |
port: 6832 | |
protocol: UDP | |
targetPort: 6832 | |
- name: agent-configs | |
port: 5778 | |
protocol: TCP | |
targetPort: 5778 | |
clusterIP: None | |
selector: | |
jaeger-infra: jaeger-pod | |
- apiVersion: v1 | |
kind: Service | |
metadata: | |
name: zipkin | |
labels: | |
app: jaeger | |
jaeger-infra: zipkin-service | |
spec: | |
ports: | |
- name: jaeger-collector-zipkin | |
port: 9411 | |
protocol: TCP | |
targetPort: 9411 | |
clusterIP: None | |
selector: | |
jaeger-infra: jaeger-pod | |
--- | |
apiVersion: extensions/v1beta1 | |
kind: Ingress | |
metadata: | |
name: jaeger | |
labels: | |
app: jaeger | |
spec: | |
rules: | |
- host: jaeger.minikube | |
http: | |
paths: | |
- path: / | |
backend: | |
serviceName: jaeger-query | |
servicePort: 80 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment