k2d
k2d copied to clipboard
Allow bi-directional management of services
Follow-up on https://github.com/portainer/k2d/issues/79
Assuming bi-directional management is interesting for our users, we should potentially add bi-directional service management.
This would allow support for the following operations:
- List services -
kubectl get svc -A,kubectl get svc- Listing services across all namespaces or the default namespace will include a service for each container created via
docker run...that expose at least one port. These will default to hostPort type services.
- Listing services across all namespaces or the default namespace will include a service for each container created via
- Inspect a service -
kubectl get svc/container-name,kubectl describe svc/container-name- Allows you to inspect a service associated to a container created via
docker run...
- Allows you to inspect a service associated to a container created via
- Delete a service -
kubectl delete svc/container-name- Allows a user to remove any port exposed on a container created via
docker run...
- Allows a user to remove any port exposed on a container created via