Eng Zer Jun
5e5a35c67c
refactor: move from io/ioutil to io and os package ( #827 )
2021-10-27 15:52:37 +02:00
iwilltry42
7073a8fad7
migrate to module rancher/k3d/v5
2021-09-07 08:58:57 +02:00
iwilltry42
78738058c8
fix regression on checking edac folder introduced by wrapping a nil error
2021-08-31 10:42:45 +02:00
iwilltry42
9efe980789
overall: make error handling and error logs a bit more streamlined
2021-08-31 09:33:39 +02:00
iwilltry42
95e0045418
Merge branch 'main' into main-v5
2021-08-18 14:14:07 +02:00
iwilltry42
8647a0ca40
fix: when checking for folder existence in container, only pull the
...
image if not present
works around issue reported in
https://github.com/rancher/k3d/discussions/703 if image is present
locally
2021-08-18 14:12:41 +02:00
Mateusz Urbanek
917c19eae5
feat(logging): using new package containing logrus.Logger instead of global scope logrus ( closes #583 ) ( #699 , @Shanduur)
2021-08-18 12:22:44 +02:00
ejose19
bfead49c46
[Enhancement] Refactoring: normalize label flags (k3s node & runtime) ( #598 , @ejose19)
2021-07-09 10:46:16 +02:00
iwilltry42
34aac579d2
runtimes/docker: use getDockerClient function everywhere so all functions can work via e.g. ssh
2021-06-04 07:43:06 +02:00
iwilltry42
6c94d7db3d
overall/license: update to year range -2021
2021-05-21 13:07:59 +02:00
Konrad Malik
e495fe83a8
[FEATURE] Memory Limits ( #494 , @konradmalik)
2021-03-29 17:52:15 +02:00
iwilltry42
dbf3ff8172
getNodeContainer: regex to allow k3d-prefixed or non-prefixed name
...
- fixes #495
- additionally brings in a fix for a nil-pointer exception in case
someone inputs a regex that would result in multiple containers being
returned
2021-03-05 14:57:32 +01:00
iwilltry42
ac96c9c448
simplify log outputs and increase timeout for tests
2021-02-05 16:08:32 +01:00
Erik Kristensen
63d54842c0
[Feature] Support docker over ssh ( #324 , @ekristen & @inercia)
2021-02-04 17:54:49 +01:00
Thorsten Klein
ecc025b35e
[Feature] Registry for v4 & Restructure Cluster Creation ( #334 )
2020-12-09 15:59:20 +01:00
iwilltry42
d7b25ac6ab
v3 -> v4
2020-12-04 13:45:57 +01:00
iwilltry42
11cc797922
overall/logging: new trace log level
...
- new root flag '--trace' with precedence over '--verbose'
- some new trace logs
- migrated some debug logs to trace logs to reduce debug verbosity
2020-10-07 08:58:03 +02:00
iwilltry42
972c004930
add entry for host.k3d.internal to /etc/hosts in the node containers
2020-09-29 15:20:43 +02:00
kshelton
eaa7784625
Handle leading '/' in names for docker runtime
2020-08-06 18:03:49 +00:00
iwilltry42
76d90478f5
Go Module: use v3 for go module compatibility
2020-06-18 07:58:36 +02:00
iwilltry42
f39a9513fd
dependencies: update docker dependencies to fix issues with failing windows builds introduced by the usage of the archive package
2020-06-04 15:03:18 +02:00
iwilltry42
7817054801
do not use context pointer
2020-05-26 17:15:20 +02:00
iwilltry42
f6c312256e
add names to error messages
2020-05-26 15:12:34 +02:00
iwilltry42
434cf8e91d
overall: pass context from top to bottom
2020-05-26 14:47:21 +02:00
iwilltry42
7744c52ec7
overall: always defer close docker client connections
2020-04-27 18:27:33 +02:00
iwilltry42
f2c8e0cf03
docker/create/node: replace goto with for loop
2020-04-14 19:51:24 +02:00
iwilltry42
bc49f197d9
cleanup and prepare for push to rancher/k3d
2020-01-05 21:16:31 +01:00
iwilltry42
644b369b60
switch from K3S_CLUSTER_SECRET to K3S_TOKEN and use exact matching to get node containers by name and make --cluster flag required when creating a new node
2019-12-19 11:50:25 +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
84cdfac7cb
introduce node roles
2019-10-10 15:02:56 +02:00
iwilltry42
cc682427b8
pull image before creation if not exists
2019-10-10 13:36:11 +02:00
iwilltry42
03eaba037f
restructure docker runtime pkg
2019-10-10 12:30:48 +02:00
iwilltry42
1ec7a3e02a
parsecmd funcs
2019-10-02 18:34:42 +02:00
iwilltry42
7583340d23
create cluster
2019-09-30 13:18:42 +02:00
iwilltry42
43eb626b0c
specify role, image and labels
2019-09-30 12:33:17 +02:00
iwilltry42
ac43655396
update golangci-lint
2019-09-26 18:15:06 +02:00
iwilltry42
b51fa283e1
delete in docker
2019-09-26 15:12:34 +02:00
iwilltry42
edc52c6ae6
delete node containerd
2019-09-25 15:07:17 +02:00
iwilltry42
5f5c516ba2
adapt new way of choosing runtime
2019-09-25 10:04:40 +02:00
iwilltry42
24ba46fc2a
initial test to create container
2019-09-24 21:19:03 +02:00
iwilltry42
6b7de5cab6
test interface implementations
2019-09-24 20:24:51 +02:00
Thorsten Klein
433ff16467
add utils
2019-09-06 17:39:56 +02:00
Thorsten Klein
73efb98b32
start docker runtime
2019-09-06 14:45:16 +02:00
iwilltry42
7b6ee28daa
runtimes dir
2019-09-06 12:27:49 +02:00