From e156828b4de7b6fdc5fe16a38dcd611c66cc22f7 Mon Sep 17 00:00:00 2001 From: Mike Danese Date: Thu, 16 Jul 2015 14:52:34 -0700 Subject: [PATCH] removed unneccesary usage of hostport from clerey-rabbit examples --- examples/celery-rabbitmq/README.md | 5 +---- examples/celery-rabbitmq/flower-controller.yaml | 3 --- 2 files changed, 1 insertion(+), 7 deletions(-) diff --git a/examples/celery-rabbitmq/README.md b/examples/celery-rabbitmq/README.md index cef9fb1c333..50d87f54193 100644 --- a/examples/celery-rabbitmq/README.md +++ b/examples/celery-rabbitmq/README.md @@ -242,15 +242,12 @@ spec: containers: - image: endocode/flower name: flower - ports: - - containerPort: 5555 - hostPort: 5555 resources: limits: 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 flower --broker=amqp://guest:guest@${RABBITMQ_SERVICE_SERVICE_HOST:localhost}:5672// diff --git a/examples/celery-rabbitmq/flower-controller.yaml b/examples/celery-rabbitmq/flower-controller.yaml index 6f1cc10c50b..d7dc60915ef 100644 --- a/examples/celery-rabbitmq/flower-controller.yaml +++ b/examples/celery-rabbitmq/flower-controller.yaml @@ -17,9 +17,6 @@ spec: containers: - image: endocode/flower name: flower - ports: - - containerPort: 5555 - hostPort: 5555 resources: limits: cpu: 100m