Thorsten Klein
c5f7884f78
[ENHANCEMENT] imageImport: start existing tools node before using it and add option to keep it around ( #672 )
3 years ago
iwilltry42
831e58fdce
init clusteredit
3 years ago
iwilltry42
2162504ee1
transformsimple: move transformports to own function
3 years ago
iwilltry42
bb237d3389
fix: do not allow the same direct port-mapping on more than one node
3 years ago
iwilltry42
99490ca7c1
ports: no nodefilter or loadbalancer nodefilter should default to use all servers & agents as upstream
3 years ago
iwilltry42
d6bf08feed
properly handle --port 1234:4321@loadbalancer:proxy style port mappings which should default to all nodes as upstream
3 years ago
iwilltry42
1730ca5dfb
fix nilpointer exception when cluster loadbalancer is not specified
3 years ago
iwilltry42
28ff88a1ed
fix missing merge conflict resolutions
3 years ago
iwilltry42
6e8b27f99f
fix usage of the new loadbalancer type and ordering when cluster is created
3 years ago
iwilltry42
31a1ac1d70
client/cluster:make injecting the coredns entry for host.k3d.internal more robust
3 years ago
iwilltry42
6c06208b8f
document using new nodefilter syntax with : instead of [] for indexing
3 years ago
iwilltry42
5ce9f82428
remove debug logs for merged kubeconfig as they add too much noise
3 years ago
iwilltry42
d15ed26875
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
3 years ago
iwilltry42
9574002b38
add some more portmapping work
3 years ago
Thorsten Klein
1d72983a02
[FEATURE] add ability to add ports to an existing loadbalancer ( #615 )
3 years ago
iwilltry42
574148685d
nodeCreate: remove dead code and parallelize adding nodes to the cluster completely
3 years ago
iwilltry42
cc544a273e
some really final log output after creating/deleting nodes
3 years ago
iwilltry42
5e2c03f586
updatelbconfig: check for log output to see if the update succeeded and give proper info
3 years ago
iwilltry42
d10ed031d8
nodeWaitForLogMessage: log found target line when on >= trace level logging
3 years ago
iwilltry42
2b059962c4
node/edit: use new loadbalancer config file for ports update
3 years ago
iwilltry42
49451df1f7
loadbalancer: use auto-reload for confd (file watcher)
3 years ago
iwilltry42
f2cb7c4e0a
adapt updating the loadbalancer config when adding a new node
3 years ago
iwilltry42
92b7689f9d
nodeAdd: do not copy ports from existing node (+ some cleanup)
3 years ago
iwilltry42
364e96bf1f
types/node: add nodehooks to node struct to have them around at any stage (TO-DO: use this everywhere -> breaking change)
3 years ago
iwilltry42
a1977a2d31
move defaults for images to new file
3 years ago
iwilltry42
220313524e
generate new config file for lb and add helper functions to get images from env if needed
3 years ago
iwilltry42
12527f8a8d
move loadbalancer creation to separate function
3 years ago
iwilltry42
a928e41a2a
add debug functionality to get current loadbalancer config
3 years ago
Thorsten Klein
897e49a8ee
[FEATURE] add ability to add ports to an existing loadbalancer ( #615 )
3 years ago
ejose19
1deb0aa64d
[Enhancement] Refactoring: normalize label flags (k3s node & runtime) ( #598 , @ejose19 )
3 years ago
Thorsten Klein
99fe3c75c4
[BREAKING] Config File Enhancements: v1alpha3, migrations, generic k3s-args ( #605 )
...
Excerpt:
- new version v1alpha3 with k3s extraArgs using node filters
- reflected in CLI via --k3s-arg
- new migration option to migrate (internally and via cli) from v1alpha2
to v1alpha3
- enhancements to how config files are being read
- e2e tests for config file migration
3 years ago
iwilltry42
774af31d24
Revert 'Revert "add --node-label flag for node create command ( #584 , @developer-guy , @ejose , @dentrax )"'
...
This reverts commit 70872648b3
.
3 years ago
Christian Mäder
3451675bc7
[Enhancement] Follow Docker's image nameing convention in `k3d image import` ( #653 , @cimnine )
3 years ago
MichalK
cbe187d008
[Fix] Use default gateway, when bridge network doesn't have it ( #666 , @kuritka )
...
Signed-off-by: kuritka <kuritka@gmail.com>
3 years ago
Thorsten Klein
32c368f531
[FIX] waiting for serverlb logs that exist already ( #637 )
3 years ago
蜻蜓特派员
511c6c3f53
new file handle should close after create ( #628 , @dragonflylee )
3 years ago
蜻蜓特派员
f648e381a3
fix kubeconfig write on windows ( #626 , @dragonflylee )
3 years ago
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
3 years ago
iwilltry42
34aac579d2
runtimes/docker: use getDockerClient function everywhere so all functions can work via e.g. ssh
3 years ago
iwilltry42
6c94d7db3d
overall/license: update to year range -2021
3 years ago
iwilltry42
70872648b3
Revert "add --node-label flag for node create command ( #584 , @developer-guy , @ejose , @dentrax )"
...
This reverts commit 5fe8a3c6c7
.
3 years ago
Thorsten Klein
770aaa4913
[Feature] cgroupv2fix: enable by default and move to nodestart ( #603 )
3 years ago
Batuhan Apaydın
f59216c2e0
docker context support
...
Signed-off-by: Batuhan Apaydın <batuhan.apaydin@trendyol.com>
3 years ago
Thorsten Klein
bb1f5bde71
[FIX/ENHANCEMENT] node/create: inherit registry config from existing nodes ( #597 )
3 years ago
Batuhan Apaydın
5fe8a3c6c7
add --node-label flag for node create command ( #584 , @developer-guy , @ejose , @dentrax )
3 years ago
iwilltry42
b4c910b729
runtimes/docker/network: only read ipam config if exists
...
- fixes #576
- IPAM config is empty for e.g. the "host" network
3 years ago
Thorsten Klein
0b7de65ebd
fix/workaround: add workaround for cgroupv2 until fixed in k3s ( #579 )
...
special thanks to @AkihiroSuda for the support on this!
3 years ago
iwilltry42
a576a0e295
fix/runtime/util: docker volume not mountable due to validation failure
3 years ago
Thorsten Klein
24cf263c73
[FEATURE] IPAM via subnet flag ( #560 )
3 years ago
iwilltry42
70a00bed1d
json-schema: add some examples and defaults
3 years ago