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

mitigate CrashLoopBackoff in lifecycle test app #42

Closed
siggy opened this issue May 23, 2018 · 0 comments
Closed

mitigate CrashLoopBackoff in lifecycle test app #42

siggy opened this issue May 23, 2018 · 0 comments
Assignees

Comments

@siggy
Copy link
Member

siggy commented May 23, 2018

Follow up from #41. Containers in the lifecycle test app intentionally exit after a given number of requests. Per kubernetes/kubernetes#57291, Kubernetes puts these pods into an exponential CrashLoopBackoff, with up to 5 minute backoff. Ideally for our testing, we need a faster restart.

One option to mitigate this would be a script that periodically runs a kubectl delete po/foo command.

@siggy siggy self-assigned this May 23, 2018
siggy added a commit that referenced this issue May 24, 2018
The lifecycle environment was testing service discovery via bb-terminus
container exit. This did not play well with k8s's `CrashLoopBackoff`.

Disable bb-terminus container exit in favor of a `redeployer` script,
that deletes each bb-terminus pod once per minute.

Fixes #42, relates to #43.

Signed-off-by: Andrew Seigner <siggy@buoyant.io>
siggy added a commit that referenced this issue May 24, 2018
The lifecycle environment was testing service discovery via bb-terminus
container exit. This did not play well with k8s's `CrashLoopBackoff`.

Disable bb-terminus container exit in favor of a `redeployer` script,
that deletes each bb-terminus pod once per minute. Also create
`ServiceAccount`, `ClusterRole`, and `ClusterRoleBinding`, and install
conduit into conduit-lifecycle namespace.

Fixes #42, relates to #43.

Signed-off-by: Andrew Seigner <siggy@buoyant.io>
@siggy siggy closed this as completed in #44 May 24, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant