48 Commits

Author SHA1 Message Date
Thorsten Klein
32c368f531
[FIX] waiting for serverlb logs that exist already (#637) 2021-06-16 15:08:29 +02:00
蜻蜓特派员
511c6c3f53
new file handle should close after create (#628, @dragonflylee) 2021-06-11 12:31:52 +02:00
蜻蜓特派员
f648e381a3
fix kubeconfig write on windows (#626, @dragonflylee) 2021-06-10 16:59:07 +02:00
iwilltry42
d98925f5b1
fix: do not copy meminfo/edac volume mounts from existing node
... as this will end up in duplicate mounts due to the also-copied
memory limit

- fixes #618
2021-06-04 08:35:25 +02:00
iwilltry42
6c94d7db3d
overall/license: update to year range -2021 2021-05-21 13:07:59 +02:00
iwilltry42
70872648b3
Revert "add --node-label flag for node create command (#584, @developer-guy, @ejose, @dentrax)"
This reverts commit 5fe8a3c6c741f1720796c11b09efec26107cb72d.
2021-05-14 13:53:47 +02:00
Thorsten Klein
770aaa4913
[Feature] cgroupv2fix: enable by default and move to nodestart (#603) 2021-05-12 10:19:15 +02:00
Thorsten Klein
bb1f5bde71
[FIX/ENHANCEMENT] node/create: inherit registry config from existing nodes (#597) 2021-05-11 08:17:58 +02:00
Batuhan Apaydın
5fe8a3c6c7
add --node-label flag for node create command (#584, @developer-guy, @ejose, @dentrax) 2021-05-10 16:58:01 +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
Thorsten Klein
24cf263c73
[FEATURE] IPAM via subnet flag (#560) 2021-04-20 07:39:51 +02:00
Konrad Malik
e495fe83a8
[FEATURE] Memory Limits (#494, @konradmalik) 2021-03-29 17:52:15 +02:00
Dinar Valeev
78c22f7a0c
[FIX] Fix udp service access through k3d-proxy (fixes #489) (#488, @k0da) 2021-02-09 16:48:44 +01:00
iwilltry42
e1384c91a2
server: trim the port off the dockerHost as it renders the kubeconfig unusable (fixes #487) 2021-02-09 16:21:55 +01:00
Konrad Malik
df9859eae6
[ENHANCEMENT] Add config processing and fix hostmode (#477, @konradmalik) 2021-02-09 15:17:58 +01:00
iwilltry42
601bef45d7
general: properly use variable default object labels 2021-02-09 14:57:29 +01:00
iwilltry42
ac96c9c448
simplify log outputs and increase timeout for tests 2021-02-05 16:08:32 +01:00
iwilltry42
b5c055f436
less loggigng 2021-02-04 19:07:38 +01:00
iwilltry42
746cbcd131
node: add start time field and use it when waiting for log messages 2021-02-04 19:07:38 +01:00
iwilltry42
504fd3ad31
run multi-server e2e tests for multiple k3s versions 2021-02-04 19:07:37 +01:00
iwilltry42
1c61130fdf
clusterStart: sequential and ordered node starts & nodeCreate: do not copy status 2021-02-04 19:07:36 +01:00
iwilltry42
b2162b1618
clusterCreate: add warning for 2 server nodes (quorum for etcd) 2021-02-04 19:07:36 +01:00
Erik Kristensen
63d54842c0
[Feature] Support docker over ssh (#324, @ekristen & @inercia) 2021-02-04 17:54:49 +01:00
iwilltry42
5adab78ef6
release v4.1.0-alpha.2 2021-02-04 12:59:48 +01:00
iwilltry42
eaee32e227
fix: print error which causes serverlb to fail starting
Fixes #466
2021-02-03 13:26:05 +01:00
iwilltry42
e119326184
fix: --no-lb failed
- initialize port map of initnode, if nil

Fixes #463
2021-02-03 12:36:04 +01:00
Konrad Malik
73e1548264
[FIX] do not ignore --no-hostip and don't try to inject if network = host (#471) 2021-02-03 11:38:31 +01:00
Thorsten Klein
092f26a4e2
[FEATURE/FIX] Viper Configuration and JSON Schema (#472) 2021-02-03 11:31:21 +01:00
iwilltry42
e7c43df434
properly handle initNode and normalize waiting for log messages to determine successful node starts 2021-01-28 08:32:48 +01:00
iwilltry42
7b8506b1d9
fix: proper handling of registries and networks when deleting clusters/nodes 2021-01-19 18:53:32 +01:00
iwilltry42
7a3edd9d7e
NodeSpec: transform network string to list of strings to allow checking out node networks 2021-01-19 18:03:57 +01:00
iwilltry42
683a92792e
registryDelete/nodeDelete: make --all work and add 'node delete --registries' 2021-01-19 17:41:51 +01:00
iwilltry42
a37b01c5b9
NodeDelete: add NodeDeleteOpts 2021-01-19 14:50:34 +01:00
Thorsten Klein
c809767448
[Fix] registry: adjustments on how the registry is perceived (#454)
- LocalRegistryHostingConfigMap
  - use localhost or docker-machine as external host IP
  - fromContainerRuntime: user container-name + internal port
- registries.yaml: set up mirrors for both external and internal address
2021-01-19 08:49:42 +01:00
iwilltry42
8f7d820081
fix order of interpreting different registry inputs 2021-01-18 20:20:13 +01:00
iwilltry42
f0486a388b
only merge configs, if there is one referenced 2021-01-18 15:45:21 +01:00
iwilltry42
267e520fce
registry: basic merge of existing registry with generated registry config 2021-01-18 15:35:57 +01:00
iwilltry42
118eea57f9
registry: add restart=true (unless-stopped restart policy)
fixes #450
2021-01-15 11:33:47 +01:00
iwilltry42
d17a2aefa9
registry: only warn, if configmap couldn't be created in any node, as one is enough. 2021-01-14 09:49:30 +01:00
Thorsten Klein
4dfb62ebff
[Feature] add LocalRegistryHostingV1 from KEP-1755 (#441) 2021-01-12 09:05:58 +01:00
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
iwilltry42
418275565c
disable hostname validation for registry to allow dotted names like registry.localhost 2021-01-05 07:29:22 +01:00
iwilltry42
eafae0073a
registry: allow creating new and using existing registries 2021-01-04 09:40:36 +01:00
Thorsten Klein
c44c576d69
[Refactoring/Preparation] use real port structs as prep for registries (#427) 2020-12-11 16:36:10 +01:00
iwilltry42
d042c79df2
unify the registry type 2020-12-11 08:56:26 +01:00
iwilltry42
0c32c36d99
rename Registry field from name to host 2020-12-10 14:36:51 +01:00
iwilltry42
a58785f442
rename externalRegistry field from name to host 2020-12-10 14:34:52 +01:00
Thorsten Klein
ecc025b35e
[Feature] Registry for v4 & Restructure Cluster Creation (#334) 2020-12-09 15:59:20 +01:00