mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-08 20:50:24 +00:00
Updates celery example
Change files from JSON to YAML.
This commit is contained in:
25
examples/celery-rabbitmq/celery-controller.yaml
Normal file
25
examples/celery-rabbitmq/celery-controller.yaml
Normal file
@@ -0,0 +1,25 @@
|
||||
apiVersion: v1beta3
|
||||
kind: ReplicationController
|
||||
metadata:
|
||||
labels:
|
||||
name: celery
|
||||
name: celery-controller
|
||||
spec:
|
||||
replicas: 1
|
||||
selector:
|
||||
component: celery
|
||||
template:
|
||||
metadata:
|
||||
labels:
|
||||
app: taskQueue
|
||||
component: celery
|
||||
spec:
|
||||
containers:
|
||||
- image: endocode/celery-app-add
|
||||
name: celery
|
||||
ports:
|
||||
- containerPort: 5672
|
||||
protocol: TCP
|
||||
resources:
|
||||
limits:
|
||||
cpu: 100m
|
Reference in New Issue
Block a user