Thorsten Klein
f8f17caf78
[Cleanup] Types, ready-log-messages & closing connections ( #818 )
...
- new special internal role `initServer` used only to determine the correct ready-log-message
- ready-log-messages now looked up by role and new `Intent` type (cluster-create/cluster-start/node-create/node-start), as especially for the init server there are different log messages indicating that we can proceed with the next step
- moving types around:
- K3s env vars now under .../types/k3s/env.go
- defaults now under .../types/defaults.go
- ...
- improved waiting for log messages
- not checking the whole log again and again in a loop
- follow log with a single reader (and retry in case we see a fatal error, meaning that the K3s container will restart -> backoff after 10 tries)
- BREAKING: new `*runtimeTypes.NodeLogsOpts` parameter in GetNodeLogs
2021-10-27 12:56:04 +02:00
iwilltry42
7073a8fad7
migrate to module rancher/k3d/v5
2021-09-07 08:58:57 +02:00
iwilltry42
9efe980789
overall: make error handling and error logs a bit more streamlined
2021-08-31 09:33:39 +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
iwilltry42
5364bd1300
fix: log level overwritten by dockerCli.Initialize()
2021-07-23 10:20:29 +02:00
Thorsten Klein
607382056b
[Fix] Simplify and Fix docker client creation ( #674 )
...
These options worked:
- unix://
- ssh://
- tcp:// (with and without tls)
2021-07-16 12:04:26 +02:00
iwilltry42
79790d1c30
Merge branch 'main' of github.com:developer-guy/k3d into developer-guy-main
2021-07-13 12:38:45 +02:00
ejose19
bfead49c46
[Enhancement] Refactoring: normalize label flags (k3s node & runtime) ( #598 , @ejose19)
2021-07-09 10:46:16 +02:00
Thorsten Klein
139eadec19
Merge branch 'main' into main
2021-06-11 11:15:31 +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
Batuhan Apaydın
f59216c2e0
docker context support
...
Signed-off-by: Batuhan Apaydın <batuhan.apaydin@trendyol.com>
2021-05-11 12:42:51 +03:00
Thorsten Klein
bb1f5bde71
[FIX/ENHANCEMENT] node/create: inherit registry config from existing nodes ( #597 )
2021-05-11 08:17:58 +02:00
Thorsten Klein
0b7de65ebd
fix/workaround: add workaround for cgroupv2 until fixed in k3s ( #579 )
...
special thanks to @AkihiroSuda for the support on this!
2021-04-29 09:17:49 +02:00
MichalK
76fc9ebed7
[Fix] Reuse registry in multicluster (fixes #485,@kuritka) ( #486 , @kuritka)
2021-02-09 17:45:15 +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
76d90478f5
Go Module: use v3 for go module compatibility
2020-06-18 07:58:36 +02:00
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
bc49f197d9
cleanup and prepare for push to rancher/k3d
2020-01-05 21:16:31 +01:00
iwilltry42
7063d62508
initial implementation of 'get clusters'
2019-10-15 18:57:54 +02:00
Thorsten Klein
433ff16467
add utils
2019-09-06 17:39:56 +02:00