Skip to content
This repository has been archived by the owner on Nov 15, 2022. It is now read-only.

Order of the outputted artifacts #207

Closed
kadel opened this issue Aug 8, 2017 · 1 comment
Closed

Order of the outputted artifacts #207

kadel opened this issue Aug 8, 2017 · 1 comment

Comments

@kadel
Copy link
Member

kadel commented Aug 8, 2017

When Kubernetes artifacts are generated they should be in the following order:

PVCs, Services, Secrets, ConfigMaps, Services, others

@kadel
Copy link
Member Author

kadel commented Aug 8, 2017

When Deployment that is using PVC is created before given PVC, it fails and waits 1 minute until it notices that PVC was created.
By simply creating PVCs before Deployments everything is deployed on the first run (at least 1 minute quicker)

The second reason is that Kubernetes automatically injects a few variables pointing to existing Services (for example for docker links compatibility). But those are created only for already existing Services.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant