kubernetes-client / haskell

Haskell client for the kubernetes API. A work in progress.
Apache License 2.0
126 stars 59 forks source link

Support exec/attach calls #4

Open mbohlool opened 6 years ago

mbohlool commented 6 years ago

Exec and Attach class are non-standard calls that kubernetes API server uses to connect to a port of a pod/container or execute a command on them. It uses SPDY or WebSockets. Normal calls to these endpoints will result in an upgrade request from API server. We need to support WebSocket for this client (for those endpoints). This is python implementation of the same feature.

dservgun commented 6 years ago

@mbohlool I would like to pick up this task. I need some help in getting my dev env setup. Is there a document that i can use as a guide, that would be quite helpful. As far as implementation, I was planning to initially implement a client on ws:/// and then add security? Will this work. Are there any issues that i need to be aware of. This is my first intro kubernetes so I may need some help in getting oriented with the ecosystem. Thanks.

mbohlool commented 6 years ago

The dev setup should be as simple as your haskell dev env + minikube. For a reference implementation look at the stream class in python client at kubernetes-client/python-base.

fejta-bot commented 5 years ago

Issues go stale after 90d of inactivity. Mark the issue as fresh with /remove-lifecycle stale. Stale issues rot after an additional 30d of inactivity and eventually close.

If this issue is safe to close now please do so with /close.

Send feedback to sig-testing, kubernetes/test-infra and/or fejta. /lifecycle stale

guoshimin commented 5 years ago

/remove-lifecycle stale

fejta-bot commented 5 years ago

Issues go stale after 90d of inactivity. Mark the issue as fresh with /remove-lifecycle stale. Stale issues rot after an additional 30d of inactivity and eventually close.

If this issue is safe to close now please do so with /close.

Send feedback to sig-testing, kubernetes/test-infra and/or fejta. /lifecycle stale

akshaymankar commented 5 years ago

/remove-lifecycle stale

fejta-bot commented 4 years ago

Issues go stale after 90d of inactivity. Mark the issue as fresh with /remove-lifecycle stale. Stale issues rot after an additional 30d of inactivity and eventually close.

If this issue is safe to close now please do so with /close.

Send feedback to sig-testing, kubernetes/test-infra and/or fejta. /lifecycle stale

akshaymankar commented 4 years ago

/remove-lifecycle stale

fejta-bot commented 4 years ago

Issues go stale after 90d of inactivity. Mark the issue as fresh with /remove-lifecycle stale. Stale issues rot after an additional 30d of inactivity and eventually close.

If this issue is safe to close now please do so with /close.

Send feedback to sig-testing, kubernetes/test-infra and/or fejta. /lifecycle stale

akshaymankar commented 4 years ago

/remove-lifecycle stale /lifecycle frozen