add exec support for k8s
Bug #1876105 reported by
Tom Haddon
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Canonical Juju |
Confirmed
|
Low
|
Unassigned |
Bug Description
The operator framework has some pretty interesting support for debugging code using the new "juju debug-code" command, but it's not currently possible to use it on k8s because there isn't yet support for exec on k8s, AIUI.
As noted in discussions with the operator developers the juju agent looks for special files to decide to run in debug mode, so we should be able to inject those via kubectl.
To post a comment you must log in.
We're working on some relevant improvements to the interactions between juju and k8s, which will make that sort of operation easier to handle. I suggest revisiting this issue after that's done.