Last active
          August 22, 2018 02:00 
        
      - 
      
- 
        Save georgepaoli/59b686cac70213272eba5d142e329494 to your computer and use it in GitHub Desktop. 
    jaeger-deploy-as-side-car
  
        
  
    
      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: List | |
| items: | |
| - apiVersion: extensions/v1beta1 | |
| kind: Deployment | |
| metadata: | |
| name: myapp | |
| spec: | |
| selector: | |
| matchLabels: | |
| app: myapp | |
| template: | |
| metadata: | |
| labels: | |
| app: myapp | |
| spec: | |
| containers: | |
| - image: nginx | |
| name: myapp | |
| ports: | |
| - containerPort: 80 | |
| - image: jaegertracing/jaeger-agent | |
| name: jaeger-agent | |
| ports: | |
| - containerPort: 5775 | |
| protocol: UDP | |
| - containerPort: 6831 | |
| protocol: UDP | |
| - containerPort: 6832 | |
| protocol: UDP | |
| - containerPort: 5778 | |
| protocol: TCP | |
| args: ["--collector.host-port=jaeger-collector.jaeger-infra.svc:14267"] | |
| - apiVersion: v1 | |
| kind: Service | |
| metadata: | |
| name: myapp | |
| labels: | |
| app: myapp | |
| spec: | |
| ports: | |
| - name: myapp | |
| port: 80 | |
| protocol: TCP | |
| targetPort: 80 | |
| selector: | |
| app: myapp | |
| type: LoadBalancer | 
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment