Skip to content

Commit

Permalink
Add docs for https support in nats scalers (kedacore#973)
Browse files Browse the repository at this point in the history
* Add docs for https support in nats scalers
Signed-off-by: Manuel Cañete <[email protected]>
Signed-off-by: Manuel Cañete <[email protected]>
Co-authored-by: Jorge Turrado Ferrero <[email protected]>
  • Loading branch information
mknet3 authored Nov 10, 2022
1 parent a614ad2 commit 0c0c01c
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
3 changes: 3 additions & 0 deletions content/docs/2.9/scalers/nats-jetstream.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ triggers:
consumer: "pull_consumer"
lagThreshold: "10"
activationLagThreshold: "15"
useHttps: "false"
```
**Parameter list:**
Expand All @@ -31,6 +32,7 @@ triggers:
- `consumer` - Name of the consumer for a given stream.
- `lagThreshold` - Average target value to trigger scaling actions.
- `activationLagThreshold` - Target value for activating the scaler. Learn more about activation [here](./../concepts/scaling-deployments.md#activating-and-scaling-thresholds).(Default: `0`, Optional)
- `useHttps` - Specifies if the NATS server monitoring endpoint is using HTTPS. (Default: `false`, Optional)

### Authentication Parameters

Expand Down Expand Up @@ -60,4 +62,5 @@ spec:
consumer: "pull_consumer"
lagThreshold: "10"
activationLagThreshold: "15"
useHttps: "false"
```
5 changes: 4 additions & 1 deletion content/docs/2.9/scalers/nats-streaming.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ triggers:
subject: "Test"
lagThreshold: "10"
activationLagThreshold: "5"
useHttps: "false"
```
**Parameter list:**
Expand All @@ -30,6 +31,7 @@ triggers:
- `subject` - Name of the channel.
- `lagThreshold` - Average target value to trigger scaling actions.
- `activationLagThreshold` - Target value for activating the scaler. Learn more about activation [here](./../concepts/scaling-deployments.md#activating-and-scaling-thresholds).(Default: `0`, Optional)
- `useHttps` - Specifies if the NATS Streaming monitoring endpoint is using HTTPS. (Default: `false`, Optional)

### Authentication Parameters

Expand Down Expand Up @@ -60,6 +62,7 @@ spec:
durableName: "ImDurable"
subject: "Test"
lagThreshold: "10"
useHttps: "false"
```
#### Example with TriggerAuthentication:

Expand Down Expand Up @@ -105,4 +108,4 @@ spec:
lagThreshold: "10"
authenticationRef:
name: keda-trigger-auth-stan-secret
```
```

0 comments on commit 0c0c01c

Please sign in to comment.