1. The container’s ulimit is set too low
Error message:
| |
- Under Docker, you can add the
ulimitparameter at startup
| |
- Under Kubernetes, the Pod needs to be started in privileged mode
| |
Add the snippet above to the yaml configuration, then add ulimit -c unlimited to the startup script to change the ulimit.
2. Credentials mounted read-only cannot be used
Error message:
| |
This happens because .obsutilconfig credentials are mounted into the container with read-only permissions, while the obsutil command needs write access to the credentials.
So the credentials need to be read and regenerated when the container starts.
| |
