Commit Graph

24 Commits

Author SHA1 Message Date
iwilltry42
3cd1a05b91
Maintenance: move all labels to constants and fix log formatting issues 2020-06-12 19:00:01 +02:00
iwilltry42
dbb24f4e1c
loadImages: accept mixed runtimeImage and tarball args
- loads images from tarballs and runtime
- only tries to do something if respective lists are not empty
- only creates tools node if it's not present yet
- uses new tools image to remove tarballs after process
2020-06-04 11:55:40 +02:00
iwilltry42
477fe8b395
Merge branch 'master' of github.com:rancher/k3d into enhancement/use-context 2020-06-02 19:26:20 +02:00
iwilltry42
16f01f5fc9
runtime/getNode: do not return nil
- fixes: #253
2020-05-29 13:34:11 +02:00
iwilltry42
4710f65b85
Merge branch 'master' of github.com:rancher/k3d into enhancement/use-context 2020-05-29 11:42:47 +02:00
iwilltry42
99f5a6884a
getNodeLogs: accept time.Time parameter
- fixes startCluster's --wait/--timeout functionality
--> now doesn't check all the logs (e.g. from previous run)
----> no more false positives when checking for a specifc log message
only in the current run
2020-05-29 11:21:12 +02:00
iwilltry42
f6c312256e
add names to error messages 2020-05-26 15:12:34 +02:00
iwilltry42
ba431c6235
Merge branch 'master' of github.com:rancher/k3d into enhancement/use-context 2020-05-26 14:49:45 +02:00
iwilltry42
434cf8e91d
overall: pass context from top to bottom 2020-05-26 14:47:21 +02:00
iwilltry42
21fd427d8a
maintenance: cleanup debug logs 2020-05-26 14:14:55 +02:00
iwilltry42
c061104b53
createNode: copy as many details as possible from existing
- we now use the full containerJSON details when getting a node
- we now use as many details as possible to copy k3d settings from an
existing node when adding a new node to a running cluster
2020-05-11 08:42:44 +02:00
iwilltry42
7744c52ec7
overall: always defer close docker client connections 2020-04-27 18:27:33 +02:00
iwilltry42
3b77ecd6dd
getLogs: return error if container is not in running state to avoid long unnecessary wait 2020-04-26 17:17:14 +02:00
iwilltry42
b32e116a67
add comment 2020-04-24 15:00:04 +02:00
iwilltry42
5121ef80a5
create/start/stop cluster: fix how Master-LoadBalancer is treated
- always include the k3d.role label and use LoadBalancerRole for
masterlb
- start masterlb last when starting a stopped cluster so it won't fail
2020-04-22 13:18:26 +02:00
iwilltry42
bc49f197d9
cleanup and prepare for push to rancher/k3d 2020-01-05 21:16:31 +01:00
iwilltry42
11b937a910 implement load images command 2019-12-04 14:54:58 +01:00
iwilltry42
ff98343420 extend 2019-11-20 22:52:48 +01:00
iwilltry42
536b543cc2 implement get nodes 2019-11-13 14:58:59 +01:00
iwilltry42
098fe0803c implement start/stop for nodes and clusters 2019-11-13 13:43:56 +01:00
iwilltry42
8450604182 start implementing getkubeconfig 2019-10-17 07:59:56 +02:00
iwilltry42
7063d62508 initial implementation of 'get clusters' 2019-10-15 18:57:54 +02:00
iwilltry42
84cdfac7cb introduce node roles 2019-10-10 15:02:56 +02:00
iwilltry42
03eaba037f restructure docker runtime pkg 2019-10-10 12:30:48 +02:00