Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Setup the sidecar and main container start/shutdown sequence. #275

Open
ryanzhang-oss opened this issue Sep 9, 2022 · 1 comment
Open
Labels
bug Something isn't working enhancement New feature or request

Comments

@ryanzhang-oss
Copy link
Contributor

Describe the bug

The sidecar currently starts alongside the main container. We would like to make sure the main container does not start before the sidecar has dropped the credential to the bonded volume. In this way, we can clearly identify the problem.

Environment

Please provide the following:

  • Hub cluster details
  • Member cluster details

To Reproduce

Steps to reproduce the behavior:

Expected behavior

the main container does not start until the hub cluster credential is dropped in.

Additional context

https://kubernetes.io/docs/concepts/containers/container-lifecycle-hooks/

@ryanzhang-oss ryanzhang-oss added the bug Something isn't working label Sep 9, 2022
@ryanzhang-oss ryanzhang-oss changed the title [BUG] the sidecar and main container start/shutdown sequence. Setup the sidecar and main container start/shutdown sequence. Sep 9, 2022
@ryanzhang-oss ryanzhang-oss added enhancement New feature or request bug Something isn't working and removed bug Something isn't working labels Sep 9, 2022
@zhiying-lin
Copy link
Contributor

https://medium.com/@marko.luksa/delaying-application-start-until-sidecar-is-ready-2ec2d21a7b74 useful doc to explain how post-start should be configured

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants