Open jhaswati opened 11 months ago
Hello,
it looks like current documentation is incorrect and it's not possible to pass LIGHTER_SESSION_PERMANENT_SESSIONS
at the moment.
As a workaround you could provide whole Lighter application config using following example:
- name: MICRONAUT_APPLICATION_JSON
value: '{"lighter":{"session":{"permanent-sessions":[{"id":"permanentId2","submit-params":{"driverCores":"1","executorCores":"1","conf":{"spark.kubernetes.container":"<...>"}}}}}}'
We will look into the approached you used later and fix the documentation.
I have added the above env in the lighter deployment manifest. Below is the configmap:
However I dont see any lighter sessions getting created. How should I pass the value permanent session in the lighter deployment manifest.