Compare commits
	
		
			2 Commits
		
	
	
		
			33828c7105
			...
			f637bfb800
		
	
	| Author | SHA1 | Date | |
|---|---|---|---|
| f637bfb800 | |||
| f1a3f3269d | 
							
								
								
									
										24
									
								
								deployment-2.yaml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										24
									
								
								deployment-2.yaml
									
									
									
									
									
										Normal file
									
								
							@ -0,0 +1,24 @@
 | 
				
			|||||||
 | 
					apiVersion: apps/v1
 | 
				
			||||||
 | 
					kind: Deployment
 | 
				
			||||||
 | 
					metadata:
 | 
				
			||||||
 | 
					  creationTimestamp: null
 | 
				
			||||||
 | 
					  labels:
 | 
				
			||||||
 | 
					    app: http-bin
 | 
				
			||||||
 | 
					  name: http-bin
 | 
				
			||||||
 | 
					spec:
 | 
				
			||||||
 | 
					  replicas: 1
 | 
				
			||||||
 | 
					  selector:
 | 
				
			||||||
 | 
					    matchLabels:
 | 
				
			||||||
 | 
					      app: http-bin
 | 
				
			||||||
 | 
					  strategy: {}
 | 
				
			||||||
 | 
					  template:
 | 
				
			||||||
 | 
					    metadata:
 | 
				
			||||||
 | 
					      creationTimestamp: null
 | 
				
			||||||
 | 
					      labels:
 | 
				
			||||||
 | 
					        app: http-bin
 | 
				
			||||||
 | 
					    spec:
 | 
				
			||||||
 | 
					      containers:
 | 
				
			||||||
 | 
					      - image: kennethreitz/httpbin
 | 
				
			||||||
 | 
					        name: httpbin
 | 
				
			||||||
 | 
					        resources: {}
 | 
				
			||||||
 | 
					status: {}
 | 
				
			||||||
							
								
								
									
										16
									
								
								ingress.yaml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										16
									
								
								ingress.yaml
									
									
									
									
									
										Normal file
									
								
							@ -0,0 +1,16 @@
 | 
				
			|||||||
 | 
					apiVersion: networking.k8s.io/v1
 | 
				
			||||||
 | 
					kind: Ingress
 | 
				
			||||||
 | 
					metadata:
 | 
				
			||||||
 | 
					  name: gatewayyy-ingress
 | 
				
			||||||
 | 
					spec:
 | 
				
			||||||
 | 
					  rules:
 | 
				
			||||||
 | 
					  - host: gatewayyy.example.com
 | 
				
			||||||
 | 
					    http:
 | 
				
			||||||
 | 
					      paths:
 | 
				
			||||||
 | 
					      - path: /
 | 
				
			||||||
 | 
					        pathType: Prefix
 | 
				
			||||||
 | 
					        backend:
 | 
				
			||||||
 | 
					          service:
 | 
				
			||||||
 | 
					            name: gatewayyy-service
 | 
				
			||||||
 | 
					            port:
 | 
				
			||||||
 | 
					              number: 80
 | 
				
			||||||
							
								
								
									
										11
									
								
								service.yaml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										11
									
								
								service.yaml
									
									
									
									
									
										Normal file
									
								
							@ -0,0 +1,11 @@
 | 
				
			|||||||
 | 
					apiVersion: v1
 | 
				
			||||||
 | 
					kind: Service
 | 
				
			||||||
 | 
					metadata:
 | 
				
			||||||
 | 
					  name: gatewayyy-service
 | 
				
			||||||
 | 
					spec:
 | 
				
			||||||
 | 
					  selector:
 | 
				
			||||||
 | 
					    app: gatewayyy
 | 
				
			||||||
 | 
					  ports:
 | 
				
			||||||
 | 
					    - protocol: TCP
 | 
				
			||||||
 | 
					      port: 80
 | 
				
			||||||
 | 
					      targetPort: 80
 | 
				
			||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user