Altinn / altinn-pdf

Altinn platform microservice for generating PDFs
0 stars 1 forks source link

Consider deploy pdf generator in service owner cluster on virtual nodes #41

Closed bengtfredh closed 2 years ago

bengtfredh commented 2 years ago

Description

We can add virtual nodes to service owner clusters and in deployment use nodeselector to lock odf generator to virtual nodes. Virtual nodes have 0 cost on rest, and will accept load faster compared to scaling.

In scope

Set up virtual nodes in 1 cluster. Deploy pdf generator with nodeselector. Test function, performance.

Out of scope

Choices directly tied to pdf generator. This analysis is only about infrastructure, knowledge is transferable.

Additional Information

https://learn.microsoft.com/en-us/azure/aks/virtual-nodes-cli

Analysis

virtual nodes do nor support init containers. Because if this we can not run linkerd sidecars.

Conclusion

virtual nodes is not a viable options as long as init containers is not supported