k3d/pkg/runtimes/docker
Thorsten Klein 185ffcd34f
[Enhancement] clusterDelete: proper node and network handling (#437)
This comes with several fixes/improvements

- only consider containers that have the default object label (app=k3d)
- handle network deletion
  - check if there are other k3d containers connected
  - if there are only registries, disconnect them
  - if there are non-registry nodes, leave everything as it is
  - if there are any containers connected, that are not automatically
  disconnected, log a warning and continue
2021-01-07 11:32:30 +01:00
..
container.go [Feature] Registry for v4 & Restructure Cluster Creation (#334) 2020-12-09 15:59:20 +01:00
docker.go cleanup and prepare for push to rancher/k3d 2020-01-05 21:16:31 +01:00
host.go add entry for host.k3d.internal to /etc/hosts in the node containers 2020-09-29 15:20:43 +02:00
image.go loadImages: loop over all input images 2020-06-04 09:50:45 +02:00
kubeconfig.go v3 -> v4 2020-12-04 13:45:57 +01:00
machine.go cleanup docker-machine related logs 2020-11-13 07:38:15 +01:00
network.go [Enhancement] clusterDelete: proper node and network handling (#437) 2021-01-07 11:32:30 +01:00
node.go [Enhancement] clusterDelete: proper node and network handling (#437) 2021-01-07 11:32:30 +01:00
translate_test.go [Refactoring/Preparation] use real port structs as prep for registries (#427) 2020-12-11 16:36:10 +01:00
translate.go [Enhancement] clusterDelete: proper node and network handling (#437) 2021-01-07 11:32:30 +01:00
types.go cleanup and prepare for push to rancher/k3d 2020-01-05 21:16:31 +01:00
util.go [Feature] Registry for v4 & Restructure Cluster Creation (#334) 2020-12-09 15:59:20 +01:00
volume.go [Enhancement] clusterDelete: proper node and network handling (#437) 2021-01-07 11:32:30 +01:00