Warning
You are currently viewing v"2.11" of the documentation and it is not the latest. For the most recent documentation, kindly click here.
This specification describes the external
trigger for an external scaler.
triggers:
- type: external
metadata:
scalerAddress: external-scaler-service:8080
caCert : /path/to/tls/ca.pem
tlsCertFile: /path/to/tls/cert.pem # Deprecated. https://github.com/kedacore/keda/issues/4549
tlsClientCert: /path/to/tls/cert.pem
tlsClientKey: /path/to/tls/key.pem
unsafeSsl: false
Parameter list:
scalerAddress
- Address of the external scaler. Format must be host:port
.caCert
- Location of a Certificate Authority (CA) certificate to use for the GRPC connection to authenticate with. (Optional)tlsClientCert
- Location of a client certificate to use for the GRPC connection to authenticate with. (Optional)tlsClientKey
- Location of a client private key to use for the GRPC connection to authenticate with. (Optional)unsafeSsl
- Skip certificate validation when connecting over HTTPS. (Values: true
, false
, Default: false
, Optional)For implementing an external scaler, refer to External Scalers Concept.
Not supported yet.
apiVersion: keda.sh/v1alpha1
kind: ScaledObject
metadata:
name: redis-scaledobject
namespace: keda-redis-test
spec:
scaleTargetRef:
name: keda-redis-node
triggers:
- type: external
metadata:
scalerAddress: redis-external-scaler-service:8080
address: REDIS_HOST
password: REDIS_PASSWORD
listName: mylist
listLength: "5"