Skip to content

Commit

Permalink
Added doc hint for install behind proxy (#3311)
Browse files Browse the repository at this point in the history
* Added doc hint for install behind proxy

* Move proxy info to end of doc
  • Loading branch information
bmfisher authored Jun 21, 2021
1 parent 3eacc2d commit ab12736
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions doc/source/workflow/install.md
Original file line number Diff line number Diff line change
Expand Up @@ -222,3 +222,15 @@ make deploy-controllerid

See the [multiple server example notebook](../examples/multiple_operators.html).

### Install behind a proxy

When your kubernetes cluster is behind a proxy, the `kube-apiserver` typically inherits the system proxy variables. This can block the `kube-apiserver` from reaching the webhooks needed to create Seldon resources.

You could see this error:

```bash
Internal error occurred: failed calling webhook "v1.vseldondeployment.kb.io": Post https://seldon-webhook-service.seldon-system.svc:443/validate-machinelearning-seldon-io-v1-seldondeployment?timeout=30s: Service Unavailable
```

To fix this, ensure the `no_proxy` environment variable for the `kube-apiserver` includes `.svc,.svc.cluster.local`. See [this Github Issue Comment](https://github.com/jetstack/cert-manager/issues/2640#issuecomment-601872165) for reference. As described there, the error could also occur for the `cert-manager-webhook`.

0 comments on commit ab12736

Please sign in to comment.