Hello @sdobbi ,
We would like to know more details about your problem statement but based upon the available information
From AKS point of I was thinking below suggestions:
1) Validate the worker Nodes VM size which is being used , by default AKS gets deployed with Standard_DS2_v2 - try to have a new nodepool with higher configuration (Like more CPU/Memory)
2) When the Deserializer statement is being executed , in other window check the utilization of the node ( kubectl top nodes (or) kubectl top pods)
3) Consider using Ephemeral OS disks for AKS node pools https://learn.microsoft.com/en-us/samples/azure-samples/aks-ephemeral-os-disk/aks-ephemeral-os-disk/
4) Is this running on Linux/Windows container? If it is a windows container - I would suggest higher VM size for the worker nodes (Just play around with available options while creating the node pool)
Coming to Code point of view:
1) The data which you are trying to serialize where exactly it is getting downloaded? (When deployed in AKS and when running locally)
2) Can you provide a sample piece of code which we can test it from our end ?
3) How the docker file is being generated , is that from VS Code ?
Hope that helps !
Regards,
Shiva