iwilltry42
2516cad12e
allow for adding ports to a running cluster via the loadbalancer
2021-07-09 12:08:30 +02:00
iwilltry42
c6ee295deb
Merge branch 'main-v5' into feature/cluster-edit-ports
2021-07-09 10:55:40 +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
2e59b45ea9
dockerfile: include a specific yq version that doesn't have issues with control characters when checking the lb config
2021-07-09 10:48:31 +02:00
iwilltry42
a278725078
tests/e2e: quiet grep output to pollute the terminal a little less
2021-07-09 10:48:31 +02:00
iwilltry42
924fdfe586
tests/e2e: check more cases for port-mappings that should go via the loadbalancer
2021-07-09 10:48:30 +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
abc53113c3
changelog: add some notes about the new nodefilters and port-mapping behavior
2021-07-09 10:48:30 +02:00
iwilltry42
e8932d7287
test/e2e: loadbalancer test case no suffix
2021-07-09 10:48:29 +02:00
iwilltry42
95ecaf77e0
fix nilpointer exception when cluster loadbalancer is not specified
2021-07-09 10:48:29 +02:00
iwilltry42
02ebc23efe
add forgotten dependency
2021-07-09 10:48:28 +02:00
iwilltry42
6f1f58a2c2
fix missing merge conflict resolutions
2021-07-09 10:48:28 +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
fb1c45b9ae
client/cluster:make injecting the coredns entry for host.k3d.internal more robust
2021-07-09 10:48:27 +02:00
iwilltry42
a8a643eed5
tests/e2e: add test for loadbalancer
2021-07-09 10:48:27 +02:00
iwilltry42
d41b49d423
document using new nodefilter syntax with : instead of [] for indexing
2021-07-09 10:48:27 +02:00
iwilltry42
edfd54c6d5
remove debug logs for merged kubeconfig as they add too much noise
2021-07-09 10:48:26 +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
2092ceaaa9
[FEATURE] add ability to add ports to an existing loadbalancer ( #615 )
2021-07-09 10:48:25 +02:00
iwilltry42
f6c3bd2e8b
clusterCreate: use tempfile with expanded env vars as viper input file
2021-07-09 10:48:25 +02:00
iwilltry42
d593530f76
update changelog to include already merged prs
2021-07-09 10:48:25 +02:00
iwilltry42
7bcb1730c6
nodeCreate: remove dead code and parallelize adding nodes to the cluster completely
2021-07-09 10:48:24 +02:00
iwilltry42
e063405b02
some really final log output after creating/deleting nodes
2021-07-09 10:48:24 +02:00
iwilltry42
c2ad051f4b
update changelog
2021-07-09 10:48:21 +02:00
iwilltry42
1a68ae0372
updatelbconfig: check for log output to see if the update succeeded and give proper info
2021-07-09 10:46:22 +02:00
iwilltry42
4a84874a86
nodeWaitForLogMessage: log found target line when on >= trace level logging
2021-07-09 10:46:22 +02:00
iwilltry42
a4dc34531a
node/edit: use new loadbalancer config file for ports update
2021-07-09 10:46:21 +02:00
iwilltry42
2b2041f028
loadbalancer: use auto-reload for confd (file watcher)
2021-07-09 10:46:21 +02:00
iwilltry42
2a4c8910e8
proxy: use new confd release with fixed file watcher
2021-07-09 10:46:20 +02:00
iwilltry42
339187b4da
adapt updating the loadbalancer config when adding a new node
2021-07-09 10:46:20 +02:00
iwilltry42
2daf3872ca
nodeAdd: do not copy ports from existing node (+ some cleanup)
2021-07-09 10:46:20 +02:00
iwilltry42
2d52949859
tests/e2e: ensure that we use a cluster create timeout everywhere
2021-07-09 10:46:19 +02:00
iwilltry42
44a79c4670
types/node: add nodehooks to node struct to have them around at any stage (TO-DO: use this everywhere -> breaking change)
2021-07-09 10:46:19 +02:00
iwilltry42
756a7d7b6e
proxy: add Makefile and remove test file from Dockerfile
2021-07-09 10:46:18 +02:00
iwilltry42
ff76512e63
move defaults for images to new file
2021-07-09 10:46:18 +02:00
iwilltry42
a3dd47029d
generate new config file for lb and add helper functions to get images from env if needed
2021-07-09 10:46:18 +02:00
iwilltry42
21244172c9
move loadbalancer creation to separate function
2021-07-09 10:46:17 +02:00
iwilltry42
de401c6db3
add debug functionality to get current loadbalancer config
2021-07-09 10:46:17 +02:00
iwilltry42
bf2e81ca34
init enhanced templating for the nginx config
2021-07-09 10:46:16 +02:00
Thorsten Klein
77aa76d7f2
[FEATURE] add ability to add ports to an existing loadbalancer ( #615 )
2021-07-09 10:46:16 +02:00
ejose19
bfead49c46
[Enhancement] Refactoring: normalize label flags (k3s node & runtime) ( #598 , @ejose19)
2021-07-09 10:46:16 +02:00
Thorsten Klein
261ac0faf4
[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
2021-07-09 10:46:12 +02:00
iwilltry42
296f24c9b7
Revert 'Revert "add --node-label flag for node create command ( #584 , @developer-guy, @ejose, @dentrax)"'
...
This reverts commit 70872648b3
.
2021-07-09 10:45:30 +02:00
iwilltry42
a464bcdff2
v4.4.7: update changelog + docs
2021-07-09 08:34:59 +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
iwilltry42
4b1b14034c
simplify cuda guide
2021-07-09 08:21:18 +02:00
iwilltry42
831e58fdce
init clusteredit
2021-07-07 17:12:00 +02:00
iwilltry42
2162504ee1
transformsimple: move transformports to own function
2021-07-07 16:38:05 +02:00
iwilltry42
bb237d3389
fix: do not allow the same direct port-mapping on more than one node
2021-07-07 15:52:18 +02:00