[
https://issues.apache.org/jira/browse/YUNIKORN-1112?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Craig Condit closed YUNIKORN-1112.
----------------------------------
> Use Kubernetes ENV vars for locating yunikorn service from admission
> controller
> -------------------------------------------------------------------------------
>
> Key: YUNIKORN-1112
> URL: https://issues.apache.org/jira/browse/YUNIKORN-1112
> Project: Apache YuniKorn
> Issue Type: Bug
> Components: shim - kubernetes
> Reporter: Craig Condit
> Assignee: Craig Condit
> Priority: Major
> Labels: pull-request-available
>
> Currently, we call out to the yunikorn service from within the admission
> controller to do config validations. This requires that yunikorn be reachable
> by the admission controller for validation succeed. When running under
> environments such as EKS with Calico, the services are not able to see one
> another when connecting to the yunikorn service address. However, Kubernetes
> provides several environment variables which can be used for this purpose:
>
> YUNIKORN_SERVICE_SERVICE_HOST=\{snip}
> YUNIKORN_SERVICE_SERVICE_PORT=9080
>
> These are visible and reachable from within the admission controller
> container, even though yunikorn-service is unresolvable.
>
>
--
This message was sent by Atlassian Jira
(v8.20.1#820001)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]