-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Eclipse che 7.43.0 is always failing to deploy with k8s as platform #21160
Comments
Eclipse Che requires OIDC Identity Provider configured on the k8s cluster since 7.42.0 See similar issues: Doc: |
Hello @tolusha thank you for response. I understood that OIDC provider is required for Eclipse-Che. In case of minikube, it was provided as default DEX installation. |
@gidduhome |
Thank you @tolusha |
Same issue here. I doesn't found a good doc that explain all step to successfully deploy eclipse che with chectl on k8s plateform, maybee with Google Openid or github Oauth. |
@tolusha |
Same problem for me, don't found any easy solution for K8S on docker desktop (windows), and will have the same problem when going to production with managed K8S on OVH. Che need to have an embeded solution, or enough documentation to do it :) |
For information, i did install keycloak with succes on my k8s, and configure it as oidc for kubernetes API. I'm having this error :
OIDC is activate and I use it to login with kubectl, so don't undestund where is the problem.
Any idea about the problem ? if it can help, here is some more logs :
|
Hi, I have read the source cli code to look how it control that the ODIC is enabled. If you are on managed k8s, you haven't access on this namespace (hidden for client), so it failed. |
Issues go stale after Mark the issue as fresh with If this issue is safe to close now please do so. Moderators: Add |
I am new to this , my company provides different corporate trainings and we wanted to use che . But i tried installation on all platform like azure , aws and gcc SSL installation is not workig ,,, (i will do that separately ) but the installation fails on its not anywhere on the default docs i am following https://www.eclipse.org/che/docs/che-7/installation-guide/installing-che-on-google-cloud-platform/ |
Hello. @kushalg-1212 New docs [1] don't cover deploying Eclipse Che on Kubernetes cluster. In general, to deploy Eclipse Che on Kubernetes we need to know a couple of things:
cat >>cr-patch.yaml <<EOF
apiVersion: org.eclipse.che/v2
spec:
networking:
domain: <DOMAIN>
auth:
identityProviderURL: <IDENTITY_PROVIDER_URL>
oAuthClientName: <CLIENT_ID>
oAuthSecret: <CLIENT_SECRET>
EOF
[1] https://www.eclipse.org/che/docs/stable/administration-guide/installing-che-locally/ |
Summary
Hi,
I'm trying to install eclipse-che 7.43.0 on kubernetes cluster. This is always failing with error that
Kubernetes API Server needs to be configured with OIDC provider
. This is the same even if I use--skip-oidc-provider-check
otpion.Error: API server is not configured with OIDC Identity Provider, see details https://kubernetes.io/docs/reference/access-authn-authz/authentication/#configuring-the-api-server. To bypass OIDC Provider check, use '--skip-oidc-provider-check' flag
I also configured
--che-operator-cr-patch-yaml
with external keycloak option with no different result.Here is my command execution:
chectl server:deploy --installer=operator --platform=k8s --multiuser --che-operator-cr-patch-yaml=poc_minimal_che_config.yaml -v=7.43.0 --chenamespace=poc
Error log:
8:57.860Z Cause: Error: API server is not configured with OIDC Identity Provider, see details https://kubernetes.io/docs/reference/access-authn-authz/authentication/#configuring-the-api-server. To bypass OIDC Provider check, use '--skip-oidc-provider-check' flag 2022-02-10T15:48:57.860Z at ~/.local/share/chectl/client/7.43.0/lib/commands/server/deploy.js:440:19 2022-02-10T15:48:57.860Z at Generator.next (<anonymous>) 2022-02-10T15:48:57.860Z at fulfilled (~/.local/share/chectl/client/7.43.0/node_modules/tslib/tslib.js:114:62) 2022-02-10T15:51:14.742Z Warning: Consider using the more reliable 'OLM' installer when deploying a stable release of Eclipse Che (--installer=olm). 2022-02-10T15:51:14.742Z at Object.warn (/root/.local/share/chectl/client/7.43.0/node_modules/@oclif/errors/lib/index.js:49:15) 2022-02-10T15:51:14.742Z at Deploy.warn (/root/.local/share/chectl/client/7.43.0/node_modules/@oclif/command/lib/command.js:57:16) 2022-02-10T15:51:14.742Z at OperatorTasks.<anonymous> (/root/.local/share/chectl/client/7.43.0/lib/tasks/installers/operator.js:151:25) 2022-02-10T15:51:14.742Z at Generator.next (<anonymous>) 2022-02-10T15:51:14.742Z at fulfilled (/root/.local/share/chectl/client/7.43.0/node_modules/tslib/tslib.js:114:62) 2022-02-10T15:51:14.742Z at runMicrotasks (<anonymous>) 2022-02-10T15:51:14.742Z at processTicksAndRejections (node:internal/process/task_queues:96:5) 2022-02-10T16:01:23.053Z Error: Command server:deploy failed. Error log: /root/.cache/chectl/error.log. 2022-02-10T16:01:23.053Z at newError (~/.local/share/chectl/client/7.43.0/lib/util.js:199:19) 2022-02-10T16:01:23.053Z at Object.wrapCommandError (~/.local/share/chectl/client/7.43.0/lib/util.js:195:12) 2022-02-10T16:01:23.053Z at Deploy.<anonymous> (~/.local/share/chectl/client/7.43.0/lib/commands/server/deploy.js:226:35) 2022-02-10T16:01:23.053Z at Generator.throw (<anonymous>) 2022-02-10T16:01:23.053Z at rejected (~/.local/share/chectl/client/7.43.0/node_modules/tslib/tslib.js:115:69) 2022-02-10T16:01:23.053Z at runMicrotasks (<anonymous>) 2022-02-10T16:01:23.053Z Cause: Error: Failed to start a pod, reason: Error, exitCode: 137
Relevant information
No response
The text was updated successfully, but these errors were encountered: