mirror of https://github.com/linkerd/linkerd2.git
				
				
				
			
		
			
				
	
	
		
			31 lines
		
	
	
		
			572 B
		
	
	
	
		
			YAML
		
	
	
	
			
		
		
	
	
			31 lines
		
	
	
		
			572 B
		
	
	
	
		
			YAML
		
	
	
	
| kind: Deployment
 | |
| apiVersion: apps/v1
 | |
| metadata:
 | |
|   name: nginx
 | |
|   namespace: kube-public
 | |
|   labels:
 | |
|     app: nginx
 | |
| spec:
 | |
|   replicas: 1
 | |
|   selector:
 | |
|     matchLabels:
 | |
|       app: nginx
 | |
|   template:
 | |
|     metadata:
 | |
|       labels:
 | |
|         app: nginx
 | |
|       annotations:
 | |
|         created-by: isim
 | |
|     spec:
 | |
|       initContainers:
 | |
|       - name: linkerd-init
 | |
|         image: cr.l5d.io/linkerd/proxy-init
 | |
|       containers:
 | |
|       - name: nginx
 | |
|         image: nginx
 | |
|         ports:
 | |
|         - name: http
 | |
|           containerPort: 80
 | |
|       - name: linkerd-proxy
 | |
|         image: gc.io/linkerd-io/proxy
 |