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

[artifactory] Option to rotate nginx logs in HA setup on GKE with helm #1555

Closed
alejandroLuchador opened this issue Dec 6, 2021 · 2 comments
Labels
enhancement New feature or request triaged

Comments

@alejandroLuchador
Copy link

Is this a request for help?:


Is this a BUG REPORT or FEATURE REQUEST? (choose one):
FEATURE REQUEST

Version of Helm and Kubernetes:
HELM_VERSION: '3'
KUBERNETES_VERSION: '1.18.20-gke.901'

Which chart:
ARTIFACTORY_HELM_CHART_VERSION: '4.10.0'
ARTIFACTORY_VERSION: '7.16.3'

What happened:

At the moment we are running Artifactory HA on GKE. The issue we are facing is that there is no options to enable log rotation for the following nginx log /var/opt/jfrog/nginx/logs/access.log. We have large number of users and activity, so approximate average log growth is ~2.5GB per day. After about a month the nginx pod get evicted by kubernetes. We run 3 pods and this is consistent across all of them.

When pods get evicted kubernetest spins up new ones. However, the danger is that all 3 get evicted at the same time and we get an outage.

What you expected to happen:

We would like to be able to have an option in helm chart to rotate logs.

How to reproduce it (as minimally and precisely as possible):

  • Deploy Artifactory HA with NginX to k8s.
  • Create a script that will continually invoke actions on nginx (e.g. download/upload, etc)
  • Watch the /var/opt/jfrog/nginx/logs/access.log grow indefinitely or its pod get evicted by k8s if that option is configured

Anything else we need to know:

As a background, we have raised this in JFrog support ticket #187751 and support have suggested that this would be a good candidate for feature request.

@chukka chukka added the enhancement New feature or request label Dec 6, 2021
@chukka
Copy link
Collaborator

chukka commented Dec 6, 2021

Thanks for reporting ! Would you mind raising a PR for this so that it gets faster to release , Any way we will take this as a feature request

@chukka chukka changed the title Option to rotate nginx logs in HA setup on GKE with helm [artifactory] Option to rotate nginx logs in HA setup on GKE with helm Dec 6, 2021
@chukka chukka added the triaged label Dec 13, 2021
@gitta-jfrog
Copy link
Collaborator

Not planned to implement.

@gitta-jfrog gitta-jfrog closed this as not planned Won't fix, can't repro, duplicate, stale Aug 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request triaged
Projects
None yet
Development

No branches or pull requests

3 participants