Last active
August 19, 2018 00:03
-
-
Save masroorhasan/c801be2612a824ef1a39248cdc0f64ec to your computer and use it in GitHub Desktop.
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
apiVersion: extensions/v1beta1 | |
kind: Deployment | |
metadata: | |
name: jaeger-collector | |
namespace: monitoring | |
labels: | |
app: jaeger | |
jaeger-infra: collector-deployment | |
spec: | |
replicas: 1 | |
strategy: | |
type: Recreate | |
template: | |
metadata: | |
labels: | |
app: jaeger | |
jaeger-infra: collector-pod | |
spec: | |
containers: | |
- image: jaegertracing/jaeger-collector:1.6.0 | |
name: jaeger-collector | |
args: ["--config-file=/conf/collector.yaml"] | |
ports: | |
- containerPort: 14267 | |
protocol: TCP | |
- containerPort: 14268 | |
protocol: TCP | |
- containerPort: 9411 | |
protocol: TCP | |
readinessProbe: | |
httpGet: | |
path: "/" | |
port: 14269 | |
volumeMounts: | |
- name: jaeger-configuration-volume | |
mountPath: /conf | |
env: | |
- name: SPAN_STORAGE_TYPE | |
valueFrom: | |
configMapKeyRef: | |
name: jaeger-configuration | |
key: span-storage-type | |
volumes: | |
- configMap: | |
name: jaeger-configuration | |
items: | |
- key: collector | |
path: collector.yaml | |
name: jaeger-configuration-volume | |
resources: | |
requests: | |
memory: 300M | |
cpu: 250m | |
limits: | |
memory: 300M | |
cpu: 250m | |
--- | |
apiVersion: v1 | |
kind: Service | |
metadata: | |
name: jaeger-collector | |
namespace: monitoring | |
labels: | |
app: jaeger | |
jaeger-infra: collector-service | |
spec: | |
ports: | |
- name: jaeger-collector-tchannel | |
port: 14267 | |
protocol: TCP | |
targetPort: 14267 | |
selector: | |
jaeger-infra: collector-pod | |
type: ClusterIP |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment