forked from kubeflow/kubeflow
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
On GCP use BackendConfig to set the backend timeout and other improvm…
…ents (kubeflow#513) * On GCP use BackendConfig to set the backend timeout and other improvements. * As of GKE 1.13 we can now set the backend timeout using a BackendConfig https://cloud.google.com/kubernetes-engine/docs/how-to/configure-backend-service * BasicAuth doesn't have a backendconfig so we need to add one. * In BasicAuth we are still using Ambassador to handle the auth. * Improve the setup_backend.sh script for IAP * This script is only updating the JWT based on IAP; there's no reason the script should be checking if the backend timeout is set. * Make the script run for ever to avoid confusing container restarts * Related to kubeflow#4269 backend timeout not set * Related to kubeflow#4043 crash looping of iap enabler and backend_updater pods. * Update tests. * Update Ambassador test.
- Loading branch information
1 parent
9e78376
commit 288ae85
Showing
17 changed files
with
929 additions
and
834 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
apiVersion: cloud.google.com/v1beta1 | ||
kind: BackendConfig | ||
metadata: | ||
name: basicauth-backendconfig | ||
spec: | ||
# Jupyter uses websockets so we want to increase the timeout. | ||
timeoutSec: 3600 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.