Merge pull request #11401 from mikedanese/unneccesary-hostport

removed unneccesary usage of hostport from clerey-rabbit examples
This commit is contained in:
David Oppenheimer 2015-07-17 12:13:25 -07:00
commit 1ca454a4a2
2 changed files with 1 additions and 7 deletions

View File

@ -252,15 +252,12 @@ spec:
containers: containers:
- image: endocode/flower - image: endocode/flower
name: flower name: flower
ports:
- containerPort: 5555
hostPort: 5555
resources: resources:
limits: limits:
cpu: 100m cpu: 100m
``` ```
This will bring up a new pod with Flower installed and port 5555 (Flower's default port) exposed. This image uses the following command to start Flower: This will bring up a new pod with Flower installed and port 5555 (Flower's default port) exposed through the service endpoint. This image uses the following command to start Flower:
```sh ```sh
flower --broker=amqp://guest:guest@${RABBITMQ_SERVICE_SERVICE_HOST:localhost}:5672// flower --broker=amqp://guest:guest@${RABBITMQ_SERVICE_SERVICE_HOST:localhost}:5672//

View File

@ -17,9 +17,6 @@ spec:
containers: containers:
- image: endocode/flower - image: endocode/flower
name: flower name: flower
ports:
- containerPort: 5555
hostPort: 5555
resources: resources:
limits: limits:
cpu: 100m cpu: 100m