<#5702 [Core feature] Allow flyteadmin to start ev...
# flyte-github
c
#5702 [Core feature] Allow flyteadmin to start even if OIDC is unavailable (Improve flyteadmin startup resiliency) Pull request opened by ddl-rliu Tracking issue #5701 Why are the changes needed? Today, the flyteadmin pod is blocked from starting up until the OIDC provider is healthy and available (the pod gets stuck in Error state). In some Kubernetes configurations, this erroring-pod could cause deployment-wide issues. The current behavior could be made more resilient. (Note that this applies to configurations using
useAuth=true
) What changes were proposed in this pull request? A better approach in these configurations is to allow flyte to start up, even if the OIDC provider is unavailable. Then, try to re-initialize the OIDC provider later in the deployment lifespan. This is a more resilient approach, and it can be made configurable. Adds an
onlyStartIfOIDCIsAvailable
config which controls this behavior. How was this patch tested? A writeup is here which shows the "good" flow when
onlyStartIfOIDCIsAvailable
is enabled and OIDC is unhealthy for a period: https://gist.github.com/ddl-rliu/4c09862404f46a5adbc451025160e0eb Setup process Screenshots Check all the applicable boxes • I updated the documentation accordingly. • All new and existing tests passed. • All commits are signed-off. Related PRs Docs link flyteorg/flyte