Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
K
k3s
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Jacklull
k3s
Commits
2b00d582
Commit
2b00d582
authored
Jun 11, 2015
by
Abhi Shah
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #9508 from caesarxuchao/celery-example-v1
update examples/celery-rabbitmq to v1
parents
30558d25
8f908460
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
8 additions
and
18 deletions
+8
-18
README.md
examples/celery-rabbitmq/README.md
+4
-9
celery-controller.yaml
examples/celery-rabbitmq/celery-controller.yaml
+1
-2
flower-controller.yaml
examples/celery-rabbitmq/flower-controller.yaml
+1
-2
rabbitmq-controller.yaml
examples/celery-rabbitmq/rabbitmq-controller.yaml
+1
-2
rabbitmq-service.yaml
examples/celery-rabbitmq/rabbitmq-service.yaml
+1
-3
No files found.
examples/celery-rabbitmq/README.md
View file @
2b00d582
...
...
@@ -34,7 +34,7 @@ The Celery task queue will need to communicate with the RabbitMQ broker. RabbitM
Use the file
[
`examples/celery-rabbitmq/rabbitmq-service.yaml`
](
rabbitmq-service.yaml
)
:
```
yaml
apiVersion
:
v1
beta3
apiVersion
:
v1
kind
:
Service
metadata
:
labels
:
...
...
@@ -43,8 +43,6 @@ metadata:
spec
:
ports
:
-
port
:
5672
protocol
:
TCP
targetPort
:
5672
selector
:
app
:
taskQueue
component
:
rabbitmq
...
...
@@ -64,7 +62,7 @@ This service allows other pods to connect to the rabbitmq. To them, it will be s
A RabbitMQ broker can be turned up using the file
[
`examples/celery-rabbitmq/rabbitmq-controller.yaml`
](
rabbitmq-controller.yaml
)
:
```
yaml
apiVersion
:
v1
beta3
apiVersion
:
v1
kind
:
ReplicationController
metadata
:
labels
:
...
...
@@ -85,7 +83,6 @@ spec:
name
:
rabbitmq
ports
:
-
containerPort
:
5672
protocol
:
TCP
resources
:
limits
:
cpu
:
100m
...
...
@@ -101,7 +98,7 @@ Note that bringing up the pod includes pulling down a docker image, which may ta
Bringing up the celery worker is done by running
`$ kubectl create -f examples/celery-rabbitmq/celery-controller.yaml`
, which contains this:
```
yaml
apiVersion
:
v1
beta3
apiVersion
:
v1
kind
:
ReplicationController
metadata
:
labels
:
...
...
@@ -122,7 +119,6 @@ spec:
name
:
celery
ports
:
-
containerPort
:
5672
protocol
:
TCP
resources
:
limits
:
cpu
:
100m
...
...
@@ -179,7 +175,7 @@ Flower is a web-based tool for monitoring and administrating Celery clusters. By
To bring up the frontend, run this command
`$ kubectl create -f examples/celery-rabbitmq/flower-controller.yaml`
. This controller is defined as so:
```
yaml
apiVersion
:
v1
beta3
apiVersion
:
v1
kind
:
ReplicationController
metadata
:
labels
:
...
...
@@ -201,7 +197,6 @@ spec:
ports
:
-
containerPort
:
5555
hostPort
:
5555
protocol
:
TCP
resources
:
limits
:
cpu
:
100m
...
...
examples/celery-rabbitmq/celery-controller.yaml
View file @
2b00d582
apiVersion
:
v1
beta3
apiVersion
:
v1
kind
:
ReplicationController
metadata
:
labels
:
...
...
@@ -19,7 +19,6 @@ spec:
name
:
celery
ports
:
-
containerPort
:
5672
protocol
:
TCP
resources
:
limits
:
cpu
:
100m
examples/celery-rabbitmq/flower-controller.yaml
View file @
2b00d582
apiVersion
:
v1
beta3
apiVersion
:
v1
kind
:
ReplicationController
metadata
:
labels
:
...
...
@@ -20,7 +20,6 @@ spec:
ports
:
-
containerPort
:
5555
hostPort
:
5555
protocol
:
TCP
resources
:
limits
:
cpu
:
100m
examples/celery-rabbitmq/rabbitmq-controller.yaml
View file @
2b00d582
apiVersion
:
v1
beta3
apiVersion
:
v1
kind
:
ReplicationController
metadata
:
labels
:
...
...
@@ -19,7 +19,6 @@ spec:
name
:
rabbitmq
ports
:
-
containerPort
:
5672
protocol
:
TCP
resources
:
limits
:
cpu
:
100m
examples/celery-rabbitmq/rabbitmq-service.yaml
View file @
2b00d582
apiVersion
:
v1
beta3
apiVersion
:
v1
kind
:
Service
metadata
:
labels
:
...
...
@@ -7,8 +7,6 @@ metadata:
spec
:
ports
:
-
port
:
5672
protocol
:
TCP
targetPort
:
5672
selector
:
app
:
taskQueue
component
:
rabbitmq
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment