Skip to content

Start custom k3s image including Argo CD #1475

Answered by iwilltry42
Sebast1aan asked this question in Q&A
Discussion options

You must be logged in to vote

Hey!
Yes, k3d uses a custom entrypoint for various pre-start operations.
Using a custom image just for installing ArgoCD seems overkill 🤔
Also that entrypoint script you shared would not start K3s at all, right? It's blocking at the end (and K3s would have to start before you install ArgoCD).

What you'd probably want to do here is using K3s auto-deploy manifests functionality - checkout auto-deploying manifests here: https://k3d.io/v5.7.2/usage/k3s/?h=manifests#general-k3s-documentation

If you really need to use entrypoint scripts, you may be able to add them to the entrypoint scripts dir which will then be picked up by the main entrypoint (I'd have to look up where that was again though)

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@Sebast1aan
Comment options

Answer selected by Sebast1aan
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants