Resource debug flag

Registered by Kevin Fox

Its common to replace command: [/bin/bash, -c, 'while true; do sleep 1000; done'] to debug a container that's misbehaving.

It would be great if we extended kolla-kubernetes resource create .... to have a -c <containername> --debug flag that would add that for us so users don't have to manually edit templates to handle that very common case.

Blueprint information

Status:
Not started
Approver:
Ryan Hallisey
Priority:
Undefined
Drafter:
Kevin Fox
Direction:
Needs approval
Assignee:
None
Definition:
Discussion
Series goal:
None
Implementation:
Not started
Milestone target:
None

Related branches

Sprints

Whiteboard

or maybe --debug-container=containername -- kfox1111

Maybe we can control this further with the CLI. In other words, the run command can be overriden by a cli command + args? Kubenetes' pod templates add a nice abstraction around the Dockerfile that keeps it readable. - rhallisey

Gerrit topic: https://review.openstack.org/#q,topic:bp/kolla-kubernetes-resource-debug,n,z

Addressed by: https://review.openstack.org/371931
    Add container debug feature

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.

Subscribers

No subscribers.