Commit Graph

1078 Commits

Author SHA1 Message Date
iwilltry42
99490ca7c1 ports: no nodefilter or loadbalancer nodefilter should default to use all servers & agents as upstream 2021-07-07 15:30:04 +02:00
iwilltry42
9ad422ec9e dockerfile: include a specific yq version that doesn't have issues with control characters when checking the lb config 2021-07-07 15:30:04 +02:00
iwilltry42
b8132407ca tests/e2e: quiet grep output to pollute the terminal a little less 2021-07-07 15:30:04 +02:00
iwilltry42
f03156b166 tests/e2e: check more cases for port-mappings that should go via the loadbalancer 2021-07-07 15:30:04 +02:00
iwilltry42
d6bf08feed properly handle --port 1234:4321@loadbalancer:proxy style port mappings which should default to all nodes as upstream 2021-07-07 15:30:04 +02:00
iwilltry42
c7ace60c50 changelog: add some notes about the new nodefilters and port-mapping behavior 2021-07-07 15:30:04 +02:00
iwilltry42
74b93fda45 test/e2e: loadbalancer test case no suffix 2021-07-07 15:30:04 +02:00
iwilltry42
1730ca5dfb fix nilpointer exception when cluster loadbalancer is not specified 2021-07-07 15:30:04 +02:00
iwilltry42
8da0f7d7dc add forgotten dependency 2021-07-07 15:30:04 +02:00
iwilltry42
28ff88a1ed fix missing merge conflict resolutions 2021-07-07 15:30:04 +02:00
iwilltry42
6e8b27f99f fix usage of the new loadbalancer type and ordering when cluster is created 2021-07-07 15:30:04 +02:00
iwilltry42
31a1ac1d70 client/cluster:make injecting the coredns entry for host.k3d.internal more robust 2021-07-07 15:30:04 +02:00
iwilltry42
877849b2da tests/e2e: add test for loadbalancer 2021-07-07 15:30:04 +02:00
iwilltry42
6c06208b8f document using new nodefilter syntax with : instead of [] for indexing 2021-07-07 15:30:04 +02:00
iwilltry42
5ce9f82428 remove debug logs for merged kubeconfig as they add too much noise 2021-07-07 15:30:04 +02:00
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
2021-07-07 15:30:04 +02:00
iwilltry42
9574002b38 add some more portmapping work 2021-07-07 15:30:04 +02:00
Thorsten Klein
1d72983a02 [FEATURE] add ability to add ports to an existing loadbalancer (#615) 2021-07-07 15:30:04 +02:00
iwilltry42
7db9275a5b
clusterCreate: use tempfile with expanded env vars as viper input file 2021-07-06 13:20:26 +02:00
iwilltry42
d0deee3b18
update changelog to include already merged prs 2021-07-06 13:20:26 +02:00
iwilltry42
574148685d
nodeCreate: remove dead code and parallelize adding nodes to the cluster completely 2021-07-06 13:20:25 +02:00
iwilltry42
cc544a273e
some really final log output after creating/deleting nodes 2021-07-06 13:20:25 +02:00
iwilltry42
6223601cdf
update changelog 2021-07-06 13:20:25 +02:00
iwilltry42
5e2c03f586
updatelbconfig: check for log output to see if the update succeeded and give proper info 2021-07-06 13:20:24 +02:00
iwilltry42
d10ed031d8
nodeWaitForLogMessage: log found target line when on >= trace level logging 2021-07-06 13:20:24 +02:00
iwilltry42
2b059962c4
node/edit: use new loadbalancer config file for ports update 2021-07-06 13:20:23 +02:00
iwilltry42
49451df1f7
loadbalancer: use auto-reload for confd (file watcher) 2021-07-06 13:20:23 +02:00
iwilltry42
97d8d085fd
proxy: use new confd release with fixed file watcher 2021-07-06 13:20:23 +02:00
iwilltry42
f2cb7c4e0a
adapt updating the loadbalancer config when adding a new node 2021-07-06 13:20:22 +02:00
iwilltry42
92b7689f9d
nodeAdd: do not copy ports from existing node (+ some cleanup) 2021-07-06 13:20:22 +02:00
iwilltry42
0fbf03a080
tests/e2e: ensure that we use a cluster create timeout everywhere 2021-07-06 13:20:22 +02:00
iwilltry42
364e96bf1f
types/node: add nodehooks to node struct to have them around at any stage (TO-DO: use this everywhere -> breaking change) 2021-07-06 13:20:21 +02:00
iwilltry42
e78e2c127e
proxy: add Makefile and remove test file from Dockerfile 2021-07-06 13:20:21 +02:00
iwilltry42
a1977a2d31
move defaults for images to new file 2021-07-06 13:20:20 +02:00
iwilltry42
220313524e
generate new config file for lb and add helper functions to get images from env if needed 2021-07-06 13:20:20 +02:00
iwilltry42
12527f8a8d
move loadbalancer creation to separate function 2021-07-06 13:20:20 +02:00
iwilltry42
a928e41a2a
add debug functionality to get current loadbalancer config 2021-07-06 13:20:19 +02:00
iwilltry42
cabfe98023
init enhanced templating for the nginx config 2021-07-06 13:20:19 +02:00
Thorsten Klein
897e49a8ee
[FEATURE] add ability to add ports to an existing loadbalancer (#615) 2021-07-06 13:20:18 +02:00
ejose19
1deb0aa64d
[Enhancement] Refactoring: normalize label flags (k3s node & runtime) (#598, @ejose19) 2021-07-06 13:20:18 +02:00
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
2021-07-06 13:20:17 +02:00
iwilltry42
774af31d24
Revert 'Revert "add --node-label flag for node create command (#584, @developer-guy, @ejose, @dentrax)"'
This reverts commit 70872648b3.
2021-07-06 13:20:17 +02:00
iwilltry42
a2305bd87a
docs: cuda guide: include files directly and use local references 2021-07-05 16:23:02 +02:00
vainkop
bf3f630d1b
[Docs] Update CUDA Guide (#662, @vainkop) 2021-07-05 16:09:17 +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
Sergey Vasilyev
afbfee7d54
Mention "nolar/setup-k3d-k3s" step for GitHub Actions (#668, @nolar) 2021-07-02 10:07:37 +02:00
MichalK
cbe187d008
[Fix] Use default gateway, when bridge network doesn't have it (#666, @kuritka)
Signed-off-by: kuritka <kuritka@gmail.com>
2021-07-02 10:05:26 +02:00
Thorsten Klein
eff262b3c7
[FIX] deps: switch back to upstream viper (StringArray fix) (#655) 2021-06-28 13:51:43 +02:00
iwilltry42
ef33d36786
v4.4.6: update changelog 2021-06-16 15:19:52 +02:00
Thorsten Klein
32c368f531
[FIX] waiting for serverlb logs that exist already (#637) 2021-06-16 15:08:29 +02:00