Skip to content
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

[frontend] Run frontend server locally for development with multi-user enabled in server(k8s) #6380

Closed
Sharathmk99 opened this issue Aug 18, 2021 · 2 comments

Comments

@Sharathmk99
Copy link

Environment

  • How did you deploy Kubeflow Pipelines (KFP)?

on-prem Kubernetes cluster - using manifest repo

  • KFP version: 1.6.0

Kubeflow with multi tenancy is deployed in on-prem Kubernetes cluster. Everything is working as expected.
Now trying to do local development for frontend. Followed all instruction to build and run frontend by proxying node server to k8s. I started getting below error,

Invalid input error: Invalid resource references for experiment. ListExperiment requires filtering by namespace.

After making below changes, above error got resolved and started getting new error,

Under index.tsx

ReactDOM.render(
  KFP_FLAGS.DEPLOYMENT === Deployments.KUBEFLOW ? (
    <NamespaceContextProvider>{app}</NamespaceContextProvider>
  ) : (
    // Uncomment the following for namespace switch during development.
    <NamespaceContext.Provider value='kubeflow-sharath'>{app}</NamespaceContext.Provider>
    // <NamespaceContext.Provider value={undefined}>{app}</NamespaceContext.Provider>
  ),
  document.getElementById('root'),
);

New Error,

Internal error: Unauthenticated: Request header error: there is no user identity header.: Request header error: there is no user identity header

Can you please help me to start frontend application locally with multi-tenancy enabled?

Steps to reproduce

Expected result

Start frontend application locally for local development

Materials and Reference


Impacted by this bug? Give it a 👍. We prioritise the issues with the most 👍.

@zijianjoy
Copy link
Collaborator

You can install https://modheader.com/guide/

Then add the request header: X-Goog-Authenticated-User-Email with value: accounts.google.com:<user-email-address>

@Sharathmk99
Copy link
Author

Works as expected. Thank you

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants