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

[QUESTION] CSI Driver with kerberized hdfs #572

Closed
kyungwan-nam opened this issue Feb 17, 2023 · 3 comments
Closed

[QUESTION] CSI Driver with kerberized hdfs #572

kyungwan-nam opened this issue Feb 17, 2023 · 3 comments
Labels
kind/question Further information is requested

Comments

@kyungwan-nam
Copy link
Contributor

Question

Before asking a question, make sure you have:

  • Reviewed relevant Kubernetes information: Google your error messages and look at K8s docs.
  • Searched open and closed GitHub issues
  • Read the documentation: JuiceFS CSI Driver Doc

What help did you want:

I'm trying to JuiceFS CSI Driver with kerberized hdfs.
in my understanding, It requires kinit first, then JuiceFS authenticate using KRB5CCNAME.
but, I couldn't figure out how to do that under CSI Driver.
Could you help me? Thanks.

Environment:

  • JuiceFS CSI Driver version (which image tag did your CSI Driver use): juicedata/juicefs-csi-driver:v0.18.0
  • Kubernetes version (e.g. kubectl version): v1.19.9
  • Object storage (cloud provider and region): hdfs
  • Metadata engine info (version, cloud provider managed or self maintained):
  • Network connectivity (JuiceFS to metadata engine, JuiceFS to object storage):
  • Others:
@kyungwan-nam kyungwan-nam added the kind/question Further information is requested label Feb 17, 2023
@tangyoupeng
Copy link

Did you mean use HDFS as storage backend? You can try kinit in local machine and add generated ccache file to pod.
https://juicefs.com/docs/csi/guide/pv/#mount-pod-extra-files

@kyungwan-nam
Copy link
Contributor Author

@tangyoupeng
Thanks to your advice I did it! Thank you for letting me know

I have another question.
generated ccache file would be expired at the end.
so, I have to update ccache secret whenever accessing juicefs.
Isn't there any way to authenticate using my keytab file instead of ccache file?

@zwwhdls
Copy link
Member

zwwhdls commented May 19, 2023

closed by juicedata/juicefs#3517

@zwwhdls zwwhdls closed this as completed May 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/question Further information is requested
Projects
None yet
Development

No branches or pull requests

3 participants