Skip to content

Commit

Permalink
Update the HA component list. (#2621)
Browse files Browse the repository at this point in the history
  • Loading branch information
mattmoor authored Jul 1, 2020
1 parent 203b924 commit aef0cb0
Showing 1 changed file with 15 additions and 7 deletions.
22 changes: 15 additions & 7 deletions docs/serving/config-ha.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,16 +12,21 @@ When using a leader election HA pattern, instances of controllers are already sc

HA functionality is available on Knative for the following components:

- `autoscaler-hpa`
- `controller`
- `activator`
- `controller`
- `webhook`
- (optional) `hpaautoscaler` (if HPA autoscaling)
- (optional) `istiocontroller` (if `net-istio`)
- (optional) `contour-ingress-controller` (if `net-contour`)
- (optional) `kourier` (if `net-kourier`)
- (optional) `nscontroller` (if using wildcard certificates)
- (optional) `certcontroller` (if using `net-certmanager`)

Note that `net-kourier` runs in `kourier-system`, so similar commands to what's below should be run against the configmaps and deployments in that namespace.

HA functionality is not currently available for the following components:

- `autoscaler`
- `webhook`
- `queueproxy`
- `net-kourier`

## Enabling leader election

Expand All @@ -32,7 +37,7 @@ HA functionality is not currently available for the following components:
$ kubectl patch configmap/config-leader-election \
--namespace knative-serving \
--type merge \
--patch '{"data":{"enabledComponents": "controller,hpaautoscaler,certcontroller,istiocontroller,nscontroller"}}'
--patch '{"data":{"enabledComponents": "controller,contour-ingress-controller,hpaautoscaler,certcontroller,istiocontroller,net-http01,nscontroller,webhook"}}'
```

1. Restart the controllers:
Expand All @@ -58,13 +63,16 @@ The following serving controller deployments can be scaled up once leader electi
Standard deployments:

- `controller`
- `networking-istio` (if Istio is installed)
- `webhook`

Optionally installed deployments:

- `autoscaler-hpa`
- `contour-ingress-controller`
- `networking-istio`
- `networking-ns-cert`
- `networking-certmanager`
- `3scale-kourier-control` (in `kourier-system`)

Scale up the deployment(s):
```
Expand Down

0 comments on commit aef0cb0

Please sign in to comment.