committed by
							
								 GitHub
								GitHub
							
						
					
				
				 3 changed files with 31 additions and 1 deletions
			
			
		| @ -0,0 +1,20 @@ | |||||
|  | apiVersion: apps/v1 | ||||
|  | kind: Deployment | ||||
|  | metadata: | ||||
|  |   name: guestbook-ui | ||||
|  | spec: | ||||
|  |   replicas: 1 | ||||
|  |   revisionHistoryLimit: 3 | ||||
|  |   selector: | ||||
|  |     matchLabels: | ||||
|  |       app: guestbook-ui | ||||
|  |   template: | ||||
|  |     metadata: | ||||
|  |       labels: | ||||
|  |         app: guestbook-ui | ||||
|  |     spec: | ||||
|  |       containers: | ||||
|  |         - image: gcr.io/heptio-images/ks-guestbook-demo:0.2 | ||||
|  |           name: guestbook-ui | ||||
|  |           ports: | ||||
|  |             - containerPort: 80 | ||||
| @ -0,0 +1,10 @@ | |||||
|  | apiVersion: v1 | ||||
|  | kind: Service | ||||
|  | metadata: | ||||
|  |   name: guestbook-ui | ||||
|  | spec: | ||||
|  |   ports: | ||||
|  |     - port: 80 | ||||
|  |       targetPort: 80 | ||||
|  |   selector: | ||||
|  |     app: guestbook-ui | ||||
					Loading…
					
					
				
		Reference in new issue