mirror of
				https://github.com/optim-enterprises-bv/kubernetes.git
				synced 2025-11-04 04:08:16 +00:00 
			
		
		
		
	removed unneccesary usage of hostport from clerey-rabbit examples
This commit is contained in:
		@@ -242,15 +242,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//
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -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
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user