-
Notifications
You must be signed in to change notification settings - Fork 46
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
Helm install on AWS EKS fails due multiple containers being unable to mount /etc/localtime #134
Comments
Calling experts @JorgeGar @IronCore864 |
I also had issues with the localtime being a hostPath but on the permission side. Kubernetes recommend avoiding the hostPath unless they are completely required: https://kubernetes.io/docs/concepts/storage/volumes/#hostpath. |
I tried to push my local issues/134 with the workaround/fix but I get an error: Please make sure you have the correct access rights |
Are you trying to push from the very same repo? Having said that... If you're already doing, then I don't know what's going on 😄 |
D'oh! You can tell I work on internal repos only. Forked and PR created |
Is it possible to remove the localtime volume mount? If not, is it possible to create a configmap containing the value and mount the configmap instead of a hostpath? |
If we could pass the localtime as an env variable or configmap as @IronCore864 mentioned, that would be the best option. |
@IronCore864 @JorgeGar |
Errors:
MountVolume.SetUp failed for volume "devlake-mysql-localtime" : hostPath type check failed: /etc/localtime is not a file
Fix:
Remove the mappings for /etc/localtime. The containers in the pod will inherit time from the cluster nodes.
affects: deployments.yaml & statefulsets.yaml.
The text was updated successfully, but these errors were encountered: