Last active
March 1, 2020 02:38
-
-
Save alicek106/b73d17afc8df4da23e3c30828e2da0fd 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: apps/v1 | |
kind: DaemonSet | |
metadata: | |
labels: | |
app: jaeger | |
app.kubernetes.io/component: agent | |
app.kubernetes.io/instance: jaeger-allinone | |
app.kubernetes.io/managed-by: jaeger-operator | |
app.kubernetes.io/name: jaeger-allinone-agent | |
app.kubernetes.io/part-of: jaeger | |
name: jaeger-allinone-agent-daemonset | |
namespace: observability | |
spec: | |
selector: | |
matchLabels: | |
app: jaeger | |
app.kubernetes.io/component: agent | |
app.kubernetes.io/instance: jaeger-allinone | |
app.kubernetes.io/managed-by: jaeger-operator | |
app.kubernetes.io/name: jaeger-allinone-agent | |
app.kubernetes.io/part-of: jaeger | |
template: | |
metadata: | |
annotations: | |
prometheus.io/port: "14271" | |
prometheus.io/scrape: "true" | |
sidecar.istio.io/inject: "false" | |
labels: | |
app: jaeger | |
app.kubernetes.io/component: agent | |
app.kubernetes.io/instance: jaeger-allinone | |
app.kubernetes.io/managed-by: jaeger-operator | |
app.kubernetes.io/name: jaeger-allinone-agent | |
app.kubernetes.io/part-of: jaeger | |
spec: | |
dnsPolicy: ClusterFirstWithHostNet # Hostnetwork를 쓰는 경우는 반드시 이 옵션이 필요함 | |
hostNetwork: true # 애플리케이션 서버는 node IP를 downward로 가져와서 데이터를 쏜다. | |
tolerations: | |
- effect: NoSchedule | |
key: application | |
operator: Exists | |
containers: | |
- args: | |
- --reporter.grpc.host-port=dns:///jaeger-allinone-collector-headless.observability:14250 | |
- --reporter.type=grpc | |
image: jaegertracing/jaeger-agent:1.16.0 | |
livenessProbe: | |
failureThreshold: 5 | |
httpGet: | |
path: / | |
port: 14271 | |
scheme: HTTP | |
initialDelaySeconds: 5 | |
periodSeconds: 15 | |
successThreshold: 1 | |
timeoutSeconds: 1 | |
name: jaeger-agent-daemonset | |
ports: | |
- containerPort: 5775 | |
hostPort: 5775 | |
name: zk-compact-trft | |
protocol: UDP | |
- containerPort: 5778 | |
hostPort: 5778 | |
name: config-rest | |
protocol: TCP | |
- containerPort: 6831 | |
hostPort: 6831 | |
name: jg-compact-trft | |
protocol: UDP | |
- containerPort: 6832 | |
hostPort: 6832 | |
name: jg-binary-trft | |
protocol: UDP | |
- containerPort: 14271 | |
hostPort: 14271 | |
name: admin-http | |
protocol: TCP | |
readinessProbe: | |
failureThreshold: 3 | |
httpGet: | |
path: / | |
port: 14271 | |
scheme: HTTP | |
initialDelaySeconds: 1 | |
periodSeconds: 10 | |
successThreshold: 1 | |
restartPolicy: Always | |
serviceAccount: jaeger-allinone | |
serviceAccountName: jaeger-allinone |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment