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