Fixed references to old Bulletin Board demo

The current documentation references the newer todo list built in the [Getting Started demo](https://docs.docker.com/get-started/02_our_app/) built in previous steps, but the docs listed the code for the older [BulletinBoard:1.0 image](http://www.myclass5.cn/get-started/part2/). So, this patch applies the following to run Getting Started:

- changed the name of the image to `getting-started`, and rebuild the image using `docker build -t getting-started .`
- changed the port numbers under the `ports` key in the Kubernetes YAML to *3000*
This commit is contained in:
Jason Salas 2021-09-14 05:30:21 +10:00 committed by GitHub
parent 9008e8c3e8
commit 4fcb2c94f4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 3 deletions

View File

@ -44,7 +44,7 @@ All containers in Kubernetes are scheduled as _pods_, which are groups of co-loc
spec:
containers:
- name: bb-site
image: bulletinboard:1.0
image: getting-started
---
apiVersion: v1
kind: Service
@ -56,8 +56,8 @@ All containers in Kubernetes are scheduled as _pods_, which are groups of co-loc
selector:
bb: web
ports:
- port: 8080
targetPort: 8080
- port: 3000
targetPort: 3000
nodePort: 30001
```