If you have the ability to use ReadWriteMany persistent volume access mode, using the Nginx sub-chart will provide you with the most features, such as:
independent scaling of Nginx and IN pods
built-in TLS functionality
high-availability
However, since there are a lot of people without access to this volume type, using the inline Nginx web server will allow you to use a ReadWriteOnce public volume. Please note that you will need to change persistence.public.accessModes parameter and disable the Nginx sub-chart by setting nginx.enabled to false. Please note that you will be limited 1 IN replica.
Inline webserver vs Nginx sub-chart
If you have the ability to use
ReadWriteMany
persistent volume access mode, using the Nginx sub-chart will provide you with the most features, such as:However, since there are a lot of people without access to this volume type, using the inline Nginx web server will allow you to use a
ReadWriteOnce
public volume. Please note that you will need to changepersistence.public.accessModes
parameter and disable the Nginx sub-chart by settingnginx.enabled
to false. Please note that you will be limited 1 IN replica.