Created
March 8, 2017 01:09
-
-
Save naveensrinivasan/10e649f5395f8726eb31ea08dcfb39e6 to your computer and use it in GitHub Desktop.
linkerd sample tracing
This file contains hidden or 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: v1 | |
kind: ConfigMap | |
metadata: | |
name: linkerd-config | |
data: | |
config.yaml: |- | |
admin: | |
port: 9990 | |
telemetry: | |
- kind: io.l5d.zipkin | |
host: zipkin | |
port: 9410 | |
sampleRate: 1.0 | |
routers: | |
- protocol: http | |
label: router1 | |
dtab: /svc => /$/inet/127.1/9001 | |
servers: | |
- port: 9000 | |
- protocol: http | |
label: router2 | |
dtab: /svc => /$/inet/127.1/9002 | |
servers: | |
- port: 9001 | |
- protocol: http | |
label: router3 | |
dtab: /svc => /$/inet/127.1/9990 | |
servers: | |
- port: 9002 |
This file contains hidden or 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
kind: ReplicationController | |
apiVersion: v1 | |
metadata: | |
name: hello | |
spec: | |
replicas: 1 | |
selector: | |
app: hello | |
template: | |
metadata: | |
labels: | |
app: hello | |
spec: | |
dnsPolicy: ClusterFirst | |
volumes: | |
- name: linkerd-config | |
configMap: | |
name: "linkerd-config" | |
containers: | |
- name: linkerd | |
image: buoyantio/linkerd:latest | |
args: | |
- "/io.buoyant/linkerd/config/config.yaml" | |
ports: | |
- name: ext | |
containerPort: 8080 | |
- name: admin | |
containerPort: 9990 | |
volumeMounts: | |
- name: "linkerd-config" | |
mountPath: "/io.buoyant/linkerd/config" | |
readOnly: true | |
- name: kubectl | |
image: buoyantio/kubectl:1.2.3 | |
args: | |
- "proxy" | |
- "-p" | |
- "8001" |
This file contains hidden or 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
kind: Service | |
apiVersion: v1 | |
metadata: | |
name: hello | |
spec: | |
selector: | |
app: hello | |
type: LoadBalancer | |
ports: | |
- name: admin | |
port: 9990 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment