Skip to content

PN-12528 mount EFS true#180

Open
vincenzo-racca-pa wants to merge 2 commits intomainfrom
hotfix/PN-12528
Open

PN-12528 mount EFS true#180
vincenzo-racca-pa wants to merge 2 commits intomainfrom
hotfix/PN-12528

Conversation

@vincenzo-racca-pa
Copy link
Contributor

No description provided.

"CpuValue": "2048",
"MemoryAmount": "4GB"
"MemoryAmount": "4GB",
"MountEfs": "true"
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@fdammassa @mbrachi dubbio: va bene così oppure in DEV lasciamo a false? (mentre in hotfix e prod sarà true?)

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@vincenzo-racca-pa questa riga toglila, la mettiamo a true solo in prod

Copy link
Contributor

@mbrachi mbrachi Aug 28, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@vincenzo-racca-pa quel parametro e' alla bisogna, nel senso che va messo a true ogni qual volta serve montare l'EFS, in hotfix e prod sara' sempre a "false" e verra' valorizzato sempre se si ha necessita' di un dump.
Sicuramente in prod servira' e ci pensiamo noi da "pn-configuration".

"CpuValue": "2048",
"MemoryAmount": "4GB"
"MemoryAmount": "4GB",
"MountEfs": "true"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@vincenzo-racca-pa questa riga toglila, la mettiamo a true solo in prod

TaskRoleManagedPolicyArn: !Ref NationalRegistryMicroserviceTaskManagedPolicy
EcsLogGroup: !Ref EcsLogGroup
LogAlarmStrategyV1: !Ref LogAlarmStrategy
JavaToolOptions: '-XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath="/mnt/efs/dump_national-registries.hprof"'
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@vincenzo-racca-pa metti il parametro "JavaToolOptions" nei Parameters di microservice.yaml con default '' (stringa vuota)
Passi al frammento ecs-service JavaToolOptions: !Ref JavaToolOptions

@sonarqubecloud
Copy link

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants