Thorsten Klein
7113694ab5
[Enhancement] Edit CoreDNS ConfigMap on disk for more reliability ( #814 )
2021-10-22 15:07:01 +02:00
Thorsten Klein
53bdbec636
[Fix] k3d config migrate missing nodefilter migration ( #767 )
...
configMigrate: add missing migrations for nodefilters and fix perm of outputfile
2021-10-05 10:42:09 +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
4132757f34
ports: no nodefilter or loadbalancer nodefilter should default to use all servers & agents as upstream
2021-07-09 10:48:32 +02:00
iwilltry42
1944c06dad
properly handle --port 1234:4321@loadbalancer:proxy style port mappings which should default to all nodes as upstream
2021-07-09 10:48:30 +02:00
iwilltry42
8fef6aee09
fix usage of the new loadbalancer type and ordering when cluster is created
2021-07-09 10:48:28 +02:00
iwilltry42
91db3f647c
changes when creating clusters + new nodefilter syntax
...
- generate node names when transforming from simple to cluster config
- ClusterCreate(clusterconfig) should have a ready made config and not
generate variables
- ClusterCreate() only prep LB if not already present (to be removed)
- cluster struct: serverloadbalancer is now of type LoadBalancer (Node +
Config)
- use new nodefilter syntax with 'id:index:suffix' instead of
'id[index]' everywhere
- use suffix when creating the LB
2021-07-09 10:48:26 +02:00
iwilltry42
8e29ad4f1a
add some more portmapping work
2021-07-09 10:48:26 +02:00
Thorsten Klein
77aa76d7f2
[FEATURE] add ability to add ports to an existing loadbalancer ( #615 )
2021-07-09 10:46:16 +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
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
iwilltry42
16fa1076ff
[Fix] Allow absolute paths for volumes on Windows ( #510 , @markrexwinkel)
...
re-applied in the pkg/util
2021-03-29 17:25:01 +02:00
Thorsten Klein
092f26a4e2
[FEATURE/FIX] Viper Configuration and JSON Schema ( #472 )
2021-02-03 11:31:21 +01:00
iwilltry42
064f1071de
allow reading embedded registries.yaml from SimpleConfig file and add a test case
2021-01-18 16:44:42 +01:00
Thorsten Klein
41aa71800b
[Fix] nil-pointer exception when eyposing port on loadbalancer with --no-lb set ( #442 )
2021-01-12 09:07:17 +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
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
Thorsten Klein
778f80d8fd
[FEATURE] Config File ( #351 )
2020-12-04 16:02:37 +01:00
iwilltry42
972c004930
add entry for host.k3d.internal to /etc/hosts in the node containers
2020-09-29 15:20:43 +02:00
Antoine
e3bf18660e
👌 PR review
...
Use `log.Fatalln(err)` instead of `log.Errorln(err)` + `os.Exit(1)`
Use Label prefix instead of LabelName suffix
Rename all secret occurence with token
2020-06-04 00:49:12 +02:00
iwilltry42
bc49f197d9
cleanup and prepare for push to rancher/k3d
2020-01-05 21:16:31 +01:00
iwilltry42
84234e7a98
add proper k3d config dir and kubeconfig output path
2019-12-05 09:08:10 +01:00
Thorsten Klein
433ff16467
add utils
2019-09-06 17:39:56 +02:00
iwilltry42
a4f5f80286
add utils and function skeletons
2019-09-03 17:29:57 +02:00