Łukasz Oleś
5d0d0acc77
[FIX] Do not override hostIP when hostPort is missing ( #693 , @lukaszo)
2021-08-16 14:58:33 +02:00
Thorsten Klein
c5f7884f78
[ENHANCEMENT] imageImport: start existing tools node before using it and add option to keep it around ( #672 )
2021-07-09 08:22:05 +02:00
Christian Mäder
3451675bc7
[Enhancement] Follow Docker's image nameing convention in k3d image import ( #653 , @cimnine)
2021-07-05 13:40:14 +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
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
Jason
bfcac7ec4a
fix create command's flags typo ( #568 , @Jason-ZW)
...
Signed-off-by: Jason-ZW <zhenyang@rancher.com>
2021-04-26 10:32:17 +02:00
Thorsten Klein
24cf263c73
[FEATURE] IPAM via subnet flag ( #560 )
2021-04-20 07:39:51 +02:00
Thorsten Klein
f2af514929
[Enhancement] docs: add automatic command tree generation via cobra ( #562 )
2021-04-14 14:14:07 +02:00
Thorsten Klein
239adeb864
[Feature] Runtime Info ( #553 )
2021-04-07 19:20:58 +02:00
iwilltry42
45d451a661
[hotfix] use viper fork with fixed stringArray handling from https://github.com/spf13/viper/pull/398
2021-03-30 15:26:37 +02:00
Konrad Malik
e495fe83a8
[FEATURE] Memory Limits ( #494 , @konradmalik)
2021-03-29 17:52:15 +02:00
iwilltry42
dbe32704a5
root: add goos/goarch debug log
2021-03-11 10:57:21 +01:00
Thorsten Klein
6ba281b4e4
[Enhancement] docs/help: clarify registry names (naming & k3d-prefix) ( #532 )
2021-03-11 08:56:17 +01:00
Eugene Brodsky
845aab932f
[Enhancement] Add status column to registry list ( #496 , @ebr)
2021-03-05 14:45:26 +01:00
Alex Sears
f141bc3be8
Fix typo in cluster stop command doc ( #513 , @searsaw)
2021-03-02 18:52:37 +01:00
iwilltry42
8b0174bed2
runtimes/docker/getgatewayip: properly catch non-existent ipam config
2021-03-02 18:38:55 +01:00
markrexwinkel
e307b69dca
[Fix] Allow absolute paths for volumes on Windows ( #510 , @markrexwinkel)
2021-03-02 18:30:03 +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
Dominik Tomasi
dbfaeb4af3
Fix for KubeAPI Port assignment when using config files ( #490 , @dtomasi)
2021-02-09 15:47:17 +01:00
Konrad Malik
df9859eae6
[ENHANCEMENT] Add config processing and fix hostmode ( #477 , @konradmalik)
2021-02-09 15:17:58 +01:00
iwilltry42
e2a05c1f39
fix/clusterCreate: use StringSlice for k3s-server|agent-arg flag
...
- required due to StringArray incompatibility in Viper
Fixes #482
2021-02-06 21:00:10 +01:00
iwilltry42
98a48a0fc6
enable buildkit and timestamped logging
2021-02-04 19:33:19 +01:00
iwilltry42
1c61130fdf
clusterStart: sequential and ordered node starts & nodeCreate: do not copy status
2021-02-04 19:07:36 +01:00
Thorsten Klein
092f26a4e2
[FEATURE/FIX] Viper Configuration and JSON Schema ( #472 )
2021-02-03 11:31:21 +01:00
iwilltry42
bad77f0027
clusterStart: wait for servers to be up and running by default
2021-01-28 08:24:43 +01:00
iwilltry42
7b8506b1d9
fix: proper handling of registries and networks when deleting clusters/nodes
2021-01-19 18:53:32 +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
iwilltry42
75e758e7ea
Merge branch 'main' of github.com:rancher/k3d into feature/managed-registry-with-registries-file
2021-01-18 16:52:59 +01:00
iwilltry42
4e2b1baa62
add warning, if someone mounts a file at the default registries.yaml location, while they also use a different kind of registry spec
2021-01-18 15:52:16 +01:00
iwilltry42
608f24a6e3
completion/zsh: explicitly source zsh completion
...
Thanks for the hint @konradmalik, fixes #390
2021-01-18 08:52:47 +01:00
iwilltry42
7343c3dbe2
init merging registry config
2021-01-18 08:46:14 +01:00
Alvaro
c6df1448ef
[Enhancement] Improved listings for nodes & registries ( #439 , @inercia)
2021-01-14 12:51:44 +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
85e50d819c
rename merge-default-kubeconfig to kubeconfig-merge-default to follow new naming syntax
2021-01-05 08:06:50 +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
621640c901
rename ExposedPort
2020-12-10 14:41:31 +01:00
iwilltry42
0c32c36d99
rename Registry field from name to host
2020-12-10 14:36:51 +01:00
Thorsten Klein
ecc025b35e
[Feature] Registry for v4 & Restructure Cluster Creation ( #334 )
2020-12-09 15:59:20 +01:00
Thorsten Klein
778f80d8fd
[FEATURE] Config File ( #351 )
2020-12-04 16:02:37 +01:00
iwilltry42
d7b25ac6ab
v3 -> v4
2020-12-04 13:45:57 +01:00
Thorsten Klein
0f15ca34d0
[Fix] Allow literal @ in flags that have nodefilters ( #421 )
...
- literal @s can now be escaped with a preceeding backslash
- use case e.g. `--env HTTPS_PROXY=user:pass\@myproxy.com`
- if the last char before a non-literal @ (designating a following
nodefilter) is a backslash, then it can be escaped with another
backslash (no cascading escapes though)
2020-12-04 11:45:56 +01:00
Alvaro
a93932e5b6
[Feature] Options for formatted output of cluster list ( #416 , @inercia))
...
This adds a `--ouput` flag to `cluster list` for dumping the
list of clusters as a JSON or YAML document.
Signed-off-by: Alvaro Saurin <alvaro.saurin@gmail.com>
2020-12-03 13:34:33 +01:00
Fabrice Vergnenegre
2d8d60b005
FIX : #412 set Restart flag to true before creation ( #413 , thanks @fabricev)
2020-11-26 08:54:06 +01:00
Thorsten Klein
a5d2910f29
[Feature] clusterCreate: add back --env/-e flag to inject environment variables ( #409 )
2020-11-23 10:23:45 +01:00
Thorsten Klein
d0158c97c6
clusterCreate: add docker's --gpus flag ( #395 )
2020-11-03 20:12:52 +01:00