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

Add /home/ubuntu/.kube/cache and /tmp mounts for the app controller #19474

Closed
andrii-korotkov-verkada opened this issue Aug 10, 2024 · 0 comments · Fixed by #19480
Closed

Add /home/ubuntu/.kube/cache and /tmp mounts for the app controller #19474

andrii-korotkov-verkada opened this issue Aug 10, 2024 · 0 comments · Fixed by #19480
Labels
component:application-sets Bulk application management related enhancement New feature or request type:enhancement

Comments

@andrii-korotkov-verkada
Copy link
Contributor

Summary

Update the manifests to include mounts for /home/ubuntu/.kube/cache and /tmp

Motivation

When the root file system is configured read-only for security purposes the cache can't be used and there are logs about inability to store things there when gloglevel is set to 6. Not sure about a need for /tmp but can add just in case too.

Proposal

Update the manifests to add empty dir volumes and mount them to the app controller.

@andrii-korotkov-verkada andrii-korotkov-verkada added the enhancement New feature or request label Aug 10, 2024
@alexmt alexmt added component:application-sets Bulk application management related type:enhancement labels Aug 10, 2024
andrii-korotkov-verkada added a commit to andrii-korotkov-verkada/argo-cd that referenced this issue Aug 11, 2024
…er (argoproj#19474)

Closes argoproj#19474

Kube cache couldn't be used on read-only root file system leading to errors as revealed with `--gloglevel` equal to 6. Create an empty dir volume mount for the cache to fix this.
Also, create an empty dir mount for `/tmp` just in case.

Signed-off-by: Andrii Korotkov <andrii.korotkov@verkada.com>
andrii-korotkov-verkada added a commit to andrii-korotkov-verkada/argo-cd that referenced this issue Aug 11, 2024
argoproj#19474)

Closes argoproj#19474

Kube cache couldn't be used on read-only root file system leading to errors as revealed with `--gloglevel` equal to 6. Create an empty dir volume mount for the cache to fix this.
Also, create an empty dir mount for `/tmp` just in case.

Signed-off-by: Andrii Korotkov <andrii.korotkov@verkada.com>
andrii-korotkov-verkada added a commit to andrii-korotkov-verkada/argo-cd that referenced this issue Aug 12, 2024
argoproj#19474)

Closes argoproj#19474

Kube cache couldn't be used on read-only root file system leading to errors as revealed with `--gloglevel` equal to 6.
Create an empty dir mount for `/tmp` and add a config-map-based param to override `KUBECACHEDIR`.

Signed-off-by: Andrii Korotkov <andrii.korotkov@verkada.com>
andrii-korotkov-verkada added a commit to andrii-korotkov-verkada/argo-cd that referenced this issue Aug 13, 2024
argoproj#19474)

Closes argoproj#19474

Kube cache couldn't be used on read-only root file system leading to errors as revealed with `--gloglevel` equal to 6.
Create an empty dir mount for `/tmp` and override `KUBECACHEDIR` to be in `/tmp`.

Signed-off-by: Andrii Korotkov <andrii.korotkov@verkada.com>
andrii-korotkov-verkada added a commit to andrii-korotkov-verkada/argo-cd that referenced this issue Nov 4, 2024
argoproj#19474)

Closes argoproj#19474

Kube cache couldn't be used on read-only root file system leading to errors as revealed with `--gloglevel` equal to 6.
Create an empty dir mount for `/tmp` and override `KUBECACHEDIR` to be in `/tmp`.

Signed-off-by: Andrii Korotkov <andrii.korotkov@verkada.com>
jannfis pushed a commit that referenced this issue Nov 5, 2024
#19474) (#19480)

Closes #19474

Kube cache couldn't be used on read-only root file system leading to errors as revealed with `--gloglevel` equal to 6.
Create an empty dir mount for `/tmp` and override `KUBECACHEDIR` to be in `/tmp`.

Signed-off-by: Andrii Korotkov <andrii.korotkov@verkada.com>
adriananeci pushed a commit to adriananeci/argo-cd that referenced this issue Dec 4, 2024
argoproj#19474) (argoproj#19480)

Closes argoproj#19474

Kube cache couldn't be used on read-only root file system leading to errors as revealed with `--gloglevel` equal to 6.
Create an empty dir mount for `/tmp` and override `KUBECACHEDIR` to be in `/tmp`.

Signed-off-by: Andrii Korotkov <andrii.korotkov@verkada.com>
Signed-off-by: Adrian Aneci <aneci@adobe.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component:application-sets Bulk application management related enhancement New feature or request type:enhancement
Projects
None yet
2 participants