@@ -46,8 +46,8 @@ service:
4646 externalTrafficPolicy : Cluster
4747image :
4848 registry : docker.io
49- repository : mosipid /data-share-service
50- tag : 1.3.0
49+ repository : mosipqa /data-share-service
50+ tag : 1.3.x
5151 # # Specify a imagePullPolicy
5252 # # Defaults to 'Always' if image tag is 'latest', else set to 'IfNotPresent'
5353 # # ref: http://kubernetes.io/docs/user-guide/images/#pre-pulling-images
@@ -113,15 +113,25 @@ resources:
113113 # resources, such as Minikube. If you do want to specify resources, uncomment the following
114114 # lines, adjust them as necessary, and remove the curly braces after 'resources:'.
115115 limits :
116- cpu : 1000m
116+ cpu : 600m
117117 memory : 4000Mi
118118 requests :
119- cpu : 500m
120- memory : 2400Mi
119+ cpu : 300m
120+ memory : 2000Mi
121121additionalResources :
122122 # # Specify any JAVA_OPTS string here. These typically will be specified in conjunction with above resources
123123 # # Example: java_opts: "-Xms500M -Xmx500M"
124- javaOpts : " -Xms1800M -Xmx3000M"
124+ javaOpts : >-
125+ -XX:+UseZGC -XX:+ZGenerational -XX:+ZUncommit
126+ -XX:ZUncommitDelay=30 -XX:+ZProactive -XX:ZCollectionInterval=5
127+ -Xms1500m -Xmx3600m -XX:SoftMaxHeapSize=3200m
128+ -XX:+UseContainerSupport -XX:MaxMetaspaceSize=256m
129+ -XX:MetaspaceSize=128m -XX:ReservedCodeCacheSize=160m
130+ -XX:InitialCodeCacheSize=48m -XX:+UseCodeCacheFlushing
131+ -XX:+ExitOnOutOfMemoryError -XX:+PrintCommandLineFlags
132+ -Djava.security.egd=file:/dev/urandom
133+ -Dcom.amazonaws.sdk.disableEc2Metadata=true
134+ -Daws.sdk.disableCertChecking=false -Dhttp.keepAlive=true
125135# # ref: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/#set-the-security-context-for-a-container
126136# # Clamav container already runs as 'mosip' user, so we may not need to enable this
127137containerSecurityContext :
0 commit comments