You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
API for Interacting with Docker Desktop Managed Kubernetes #181
How might an extension be able to interact with the Docker Desktop Kubenetes cluster (when one exists)?
Comments in the Extension SDK source show using ddClient.extension.host.cli.exec to invoke kubectl on the host, provided the kubectl binary is shipped as part of your extension. Would this be the recommended way to interact with the Docker Desktop managed Kubernetes cluster from an extension?
Reacted by Justin Siebert, Dave and todd densmore
Reacted by Mark Lopez, S Santhosh Nagaraj, Federico Busetti, Jason L, Alexander Yakimov and Justin Siebert
Activity
[-]Kubernetes Client[/-][+]API for Interacting with Docker Desktop Managed Kubernetes[/+]felipecruz91 commentedon May 30, 2022
Hi @gilday, as of today there are no API methods available to interact with the Docker Desktop Kubernetes cluster.
If your extension needs to interact with Kubernetes clusters, then include the
kubectlbinary as part of your extension. You can find an example here.erulabs commentedon May 30, 2022
@felipecruz91 Hello! An api for enabling Kubernetes on docker-desktop would enable a lot of functionality and ease-of-use. The use case is:
kubectlnormally as explained in the docsThank you!
gilday commentedon Jun 7, 2022
A navigation intent for directing users to the Kubernetes preferences would be helpful too.