Add k8s example (#19)
This commit is contained in:
		
				
					committed by
					
						 Manfred Touron
						Manfred Touron
					
				
			
			
				
	
			
			
			
						parent
						
							514198f2e5
						
					
				
				
					commit
					6c946d62eb
				
			
							
								
								
									
										18
									
								
								examples/k8s/gen/nginx/dpl.yaml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										18
									
								
								examples/k8s/gen/nginx/dpl.yaml
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,18 @@ | ||||
| apiVersion: extensions/v1beta1 | ||||
| kind: Deployment | ||||
| metadata: | ||||
|   name: nginx | ||||
|   labels: | ||||
|     method: Hello-World-nginx | ||||
| spec: | ||||
|   replicas: 3 | ||||
|   template: | ||||
|     metadata: | ||||
|       labels: | ||||
|         app: nginx | ||||
|     spec: | ||||
|       containers: | ||||
|       - name: nginx | ||||
|         image: nginx | ||||
|         ports: | ||||
|         - containerPort: 80 | ||||
							
								
								
									
										10
									
								
								examples/k8s/gen/nginx/svc.yaml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										10
									
								
								examples/k8s/gen/nginx/svc.yaml
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,10 @@ | ||||
| apiVersion: v1 | ||||
| kind: Service | ||||
| metadata: | ||||
|   name: nginx | ||||
| spec: | ||||
|   selector: | ||||
|     app: nginx | ||||
|   ports: | ||||
|   - name: http | ||||
|     port: 80 | ||||
		Reference in New Issue
	
	Block a user