iwilltry42
a3d27e9c86
v5: update changelog
3 years ago
Thorsten Klein
3b9d8373e1
[Docs] v5 update ( #740 )
3 years ago
iwilltry42
bfe1efb1e6
docs: switch everything to v5
3 years ago
Thorsten Klein
7071129df8
[Enhancement] More powerful registry-create opt ( #727 )
...
- `--registry-create NAME[:HOST][:HOSTPORT]` changed from bool flag
- respective config added to config file
3 years ago
iwilltry42
149dfdb9ab
Merge branch 'main' into main-v5
3 years ago
iwilltry42
fdcdc4117b
ci/drone: remove docs references
3 years ago
Thorsten Klein
2a62eab3a2
docs: use mike and gh actions for versioned k3d.io ( #731 )
...
* docs: use mike for versioned k3d.io
* switch to ghactions for docs
3 years ago
iwilltry42
7073a8fad7
migrate to module rancher/k3d/v5
3 years ago
iwilltry42
5aa1edfb73
update to go1.17 and update direct dependencies
3 years ago
iwilltry42
630788f1e7
clusterCreate: add --lb-config-override flag
...
- allow overriding k3d-proxy settings (workerProcesses,
defaultProxyTimeout)
- add new field to loadbalancer config and SimpleConfig structs
3 years ago
Thorsten Klein
7ba71ad66c
[Feature] CreateNode: add token and network flags and allow remote cluster ( #734 )
...
- `--cluster` flag parsed for `https://` prefix and node creation treated differently accordingly
- new `--network` string array flag to add the node to multiple networks (primary network when adding to a remote cluster)
- new `--token` flag to provide the cluster token
3 years ago
iwilltry42
91426eabd1
cmd: make config initialization more general
...
- move viper initialization from k3d config file to separate util
sub-package in cmd/
- use that new subpackage init function to leverage the config file in
`k3d cluster delete`
- cover that with an e2e test case
3 years ago
iwilltry42
78738058c8
fix regression on checking edac folder introduced by wrapping a nil error
3 years ago
iwilltry42
6f76f8ce5d
fix: delete k3d-tools node after gathering environment information, so it doesn't block an IP in a designated subnet
3 years ago
iwilltry42
17dc4b7b4d
fix e2e makefile target
3 years ago
iwilltry42
6d45a15e05
fix/cluster: do not use the same nodestartopts value for all nodes
3 years ago
iwilltry42
9efe980789
overall: make error handling and error logs a bit more streamlined
3 years ago
Thorsten Klein
b4158a1dc1
[Enhancement] Network Magic ( #721 )
...
- before starting the cluster, gather environment info via tools node
- use hostIP/gatewayIP for DNS (iptables + resolv.conf updated in entrypoint script)
- revamp of custom entrypoint scripts
3 years ago
iwilltry42
7c635c29ab
Merge branch 'main' into main-v5
3 years ago
iwilltry42
bcc1d60db9
manifests: ensure that dind image has - separator
3 years ago
iwilltry42
790b9e492f
v4.4.8: changelog
3 years ago
iwilltry42
1ae8302980
fix: do not try to parse container IP if container is restarting
3 years ago
iwilltry42
e448f488be
ci/drone: fix pipeline screwed up from merge
3 years ago
Thorsten Klein
212979d0bb
[Enhancement] DNS Injection ( #718 )
...
- remove`--no-hostip` flag and the related `disableHostIPInjection` config option
- inject host IP on every cluster startup (except when hostnetwork is chosen)(/etc/hosts + CoreDNS)
- inject host entries for every cluster network member container into the CoreDNS configmap
3 years ago
iwilltry42
737ae9570c
Merge branch 'main' into main-v5
3 years ago
iwilltry42
6a58a9f57d
fix: trim 'v' prefix when getting helper image tag version due to the new semver release pipeline
3 years ago
iwilltry42
6770225a45
Merge branch 'main' into main-v5
3 years ago
iwilltry42
af82c130c6
manifests: strip v prefix from semver
3 years ago
iwilltry42
093b4e550f
ci/drone: drop k3d image builds for arm as base image doesn't exist for arm
3 years ago
Thorsten Klein
aa6e902743
[Enhancement] Improved Pipeline for Multiarch Images and SemVer Tags ( #712 )
...
* ci/drone: multiarch images for everything + auto_tagged semver manifests/images
3 years ago
Thorsten Klein
2faeda2117
[FIX] tools: use api version negotation when creating the docker client ( #679 )
3 years ago
iwilltry42
8a49181798
Merge branch 'main' into main-v5
3 years ago
iwilltry42
9abcbedb37
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
3 years ago
iwilltry42
95e0045418
Merge branch 'main' into main-v5
3 years ago
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
3 years ago
allcontributors[bot]
e0f5e2ba2c
docs: add Shanduur as a contributor for code ( #713 )
...
Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com>
3 years ago
iwilltry42
8a745062ed
Merge branch 'main' into main-v5
3 years ago
Mateusz Szostok
0c02607d1e
[FIX]: import all requested images ( #701 , @mszostok )
3 years ago
Mateusz Urbanek
917c19eae5
feat(logging): using new package containing logrus.Logger instead of global scope logrus ( closes #583 ) ( #699 , @Shanduur )
3 years ago
iwilltry42
ac527e7c8a
fix nilpointer in config transformation when lb is disabled ( fixes #695 )
3 years ago
Thorsten Klein
b8f9bad879
[Enhancement] Improved Pipeline for Multiarch Images and SemVer Tags ( #712 )
...
* ci/drone: multiarch images for everything + auto_tagged semver manifests/images
3 years ago
Łukasz Oleś
5d0d0acc77
[FIX] Do not override hostIP when hostPort is missing ( #693 , @lukaszo )
3 years ago
iwilltry42
ed7db5daa9
cleanup: rootcmd use the common way of creating a cobra cmd
3 years ago
iwilltry42
5364bd1300
fix: log level overwritten by dockerCli.Initialize()
3 years ago
iwilltry42
25c6f65948
fix: clusterGet no error on no lb config
...
- clusterGet should not return an error, if it cannot get the
loadbalancer config, as it's not critical
-> it should not rely on files created in nodehook actions
- this also fixes a nil pointer exception when cluster creation was
interrupted even before the loadbalancer was added to the cluster in
memory
Fixes #683
3 years ago
Thorsten Klein
a5c1d3becb
[Enhancement] Docs: update for v5 (first iteration) ( #682 )
3 years ago
iwilltry42
760bcae19c
Merge branch 'main' into main-v5
3 years ago
Thorsten Klein
3b8c877b43
[Enhancement] docs: add a project overview ( #680 )
3 years ago
Rauno Ots
cb02f6bce1
docs: fix go install command ( #677 )
3 years ago
iwilltry42
b94a057d9a
cleanup completion functions
3 years ago