heap memory recommended for jenkins with docker (JAVA_OPTS)

2021-06-16 Thread Mahesh Waikar
What should be minimum and maximum recommended size for heap memory in JENKINS as per ram size ? While starting jenkins server on Docker container, generally pass JAVA_OPTS parameter for heap memory allocation. There parameters are given below, Use -Xmx to specify the maximum heap size
 Use -

Permission denied returned from a container due to uid used = 1000

2021-06-16 Thread Charles Moulliard
Hi One of our container is reporting a permission denied as git cannot write a file on the filesystem mounted. As the uid used during the pod creation to allow the jenkins jnlp client to work correctly is 1000, what should we do to design correctly the image of that container to be able to give

Re: Permission denied returned from a container due to uid used = 1000

2021-06-16 Thread uday kiran
Have you tried -u root while running the container? On Thu, 17 Jun, 2021, 1:35 am Charles Moulliard, wrote: > Hi > > One of our container is reporting a permission denied as git cannot write > a file on the filesystem mounted. As the uid used during the pod creation > to allow the jenkins jnlp c

Re: weak ciphers-enabled vulnerability

2021-06-16 Thread s.p...@gmail.com
I was able to remediate the weak ciphers finding by updating jdk.tls.disabledAlgorithms as below: jdk.tls.disabledAlgorithms=MD5,SSLv3,DSA, DESede,DES,3DES, RSA keySize < 2048, CBC, TLSv1, TLSv1.1, RC4, 3DES_EDE_CBC, RC4, MD5withRSA, DH keySize < 1024, TLS_DHE_RSA_WITH_AES_256_CBC_SHA256, TLS_

Re: Permission denied returned from a container due to uid used = 1000

2021-06-16 Thread Charles Moulliard
No as the container is not launched using docker but using jenkins kubernetes plugin as a pod where the UID needed is 1000: https://github.com/jenkinsci/kubernetes-plugin#pipeline-sh-step-hangs-when-multiple-containers-are-used On Wednesday, June 16, 2021 at 10:14:44 PM UTC+2 uday1...@gmail.c