Skip to content
This repository has been archived by the owner on Apr 22, 2024. It is now read-only.

Take care of the authservice image size #56

Open
sergicastro opened this issue Feb 26, 2024 · 0 comments
Open

Take care of the authservice image size #56

sergicastro opened this issue Feb 26, 2024 · 0 comments

Comments

@sergicastro
Copy link
Contributor

sergicastro commented Feb 26, 2024

Authservice could be deployed as a standalone service or as a sidecar next to the app.
The second way to would mean multiple instances of it running in the cluster, in that case, a smaller image is desired.

So we should do something about it, even if it's not using big dependencies or creating different tags including more or less functionalities.

To help on that, I did some investigation on sizes. I detected a big increase between 2 commits by just adding the k8s libs as dependency:

Image or commit size
ghcr.io/istio-ecosystem/authservice/authservice:0.5.3 ~37MB
commit Remove leftover method and improve docs. (#49) ~25MB
commit support loading client secrets from Kubernetes Secret Resource (#26) ~57MB
# for free to subscribe to this conversation on GitHub. Already have an account? #.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant