mirror of
https://github.com/argoproj/argo-cd
synced 2026-04-21 17:07:16 +00:00
Signed-off-by: Rick Brouwer <rickbrouwer@gmail.com> Co-authored-by: Dan Garfield <dan@codefresh.io>
49 lines
1.1 KiB
YAML
49 lines
1.1 KiB
YAML
apiVersion: keda.sh/v1alpha1
|
|
kind: ScaledJob
|
|
metadata:
|
|
annotations:
|
|
finalizers:
|
|
- finalizer.keda.sh
|
|
name: keda
|
|
namespace: keda
|
|
resourceVersion: '159237'
|
|
uid: 9a6b7c4f-c35b-46ca-a801-ee5cb515ce0a
|
|
spec:
|
|
jobTargetRef:
|
|
backoffLimit: 1
|
|
template:
|
|
metadata:
|
|
creationTimestamp: null
|
|
spec:
|
|
containers:
|
|
- command:
|
|
- sleep
|
|
- '10'
|
|
envFrom:
|
|
- secretRef:
|
|
name: scaledjob-conditions-test-secret
|
|
image: docker.io/library/busybox
|
|
imagePullPolicy: IfNotPresent
|
|
name: sleeper
|
|
resources: {}
|
|
restartPolicy: Never
|
|
maxReplicaCount: 5
|
|
pollingInterval: 5
|
|
rollout: {}
|
|
scalingStrategy: {}
|
|
triggers:
|
|
- metadata:
|
|
hostFromEnv: RabbitApiHost
|
|
mode: QueueLength
|
|
queueName: hello
|
|
value: '1'
|
|
type: rabbitmq
|
|
status:
|
|
authenticationsTypes: ''
|
|
conditions:
|
|
- message: Waiting for ScaledJob
|
|
reason: Running
|
|
status: 'True'
|
|
type: Running
|
|
triggersTypes: rabbitmq
|
|
|