iwilltry42
09686f121d
add test script for connecting to remote docker servers
2021-10-29 14:40:54 +02:00
Thorsten Klein
7113694ab5
[Enhancement] Edit CoreDNS ConfigMap on disk for more reliability ( #814 )
2021-10-22 15:07:01 +02:00
iwilltry42
a4d573fc2c
fix: check temp file with env vars expanded instead of original config file to avoid validation failures
2021-10-21 21:28:31 +02:00
Thorsten Klein
594e3ced3f
config: fix failing v1alpha2 -> v1alpha3 migration ( #799 )
...
- add validation as extra step after migration
- add missing json struct tags to new v1alpha3 config fields
- add unit tests
- add missing `omitempty` tags to configs to avoid (un-)marshalling issues
- drop `string` type for `time.Duration` type field in JSON Schema (doesn't work properly sometimes due to broken handling of time.Duration as per https://github.com/golang/go/issues/10275 )
2021-10-13 21:05:35 +02:00
Thorsten Klein
12180ffdd5
[Fix] more resilient post-create cluster preparation (DNS) ( #780 )
2021-10-13 17:36:42 +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
2a2bee0e63
fix: not gathering env info on cluster start (+ fix ipam e2e test)
2021-09-30 14:59:27 +02:00
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
2021-09-08 19:09:23 +02:00
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
2021-09-06 17:44:38 +02:00
iwilltry42
17dc4b7b4d
fix e2e makefile target
2021-08-31 09:33:39 +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
e8932d7287
test/e2e: loadbalancer test case no suffix
2021-07-09 10:48:29 +02:00
iwilltry42
a8a643eed5
tests/e2e: add test for loadbalancer
2021-07-09 10:48:27 +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
f6c3bd2e8b
clusterCreate: use tempfile with expanded env vars as viper input file
2021-07-09 10:48:25 +02:00
iwilltry42
2d52949859
tests/e2e: ensure that we use a cluster create timeout everywhere
2021-07-09 10:46:19 +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
a2b3e9ddcf
tests/e2e: update tested k3s versions
2021-05-27 12:04:43 +02:00
Thorsten Klein
24cf263c73
[FEATURE] IPAM via subnet flag ( #560 )
2021-04-20 07:39:51 +02:00
iwilltry42
45d451a661
[hotfix] use viper fork with fixed stringArray handling from https://github.com/spf13/viper/pull/398
2021-03-30 15:26:37 +02:00
iwilltry42
ad9a128703
tests/e2e: add memory limit test
2021-03-30 12:55:40 +02:00
iwilltry42
0225fab8e8
tests/e2e/k3s-versions: skip multi-server-start-stop test for k3s versions that won't work with it (dqlite)
2021-02-05 19:07:13 +01:00
iwilltry42
ac96c9c448
simplify log outputs and increase timeout for tests
2021-02-05 16:08:32 +01:00
iwilltry42
98a48a0fc6
enable buildkit and timestamped logging
2021-02-04 19:33:19 +01:00
iwilltry42
58cf15b0e5
tests/e2e: add step information and clean resources after every step
2021-02-04 19:07:37 +01:00
iwilltry42
504fd3ad31
run multi-server e2e tests for multiple k3s versions
2021-02-04 19:07:37 +01:00
iwilltry42
7966ade1d9
tests/e2e: add multi-server start stop scenario
2021-02-04 19:07:35 +01:00
Thorsten Klein
092f26a4e2
[FEATURE/FIX] Viper Configuration and JSON Schema ( #472 )
2021-02-03 11:31:21 +01:00
iwilltry42
8f7d820081
fix order of interpreting different registry inputs
2021-01-18 20:20:13 +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
iwilltry42
267e520fce
registry: basic merge of existing registry with generated registry config
2021-01-18 15:35:57 +01:00
iwilltry42
d17a2aefa9
registry: only warn, if configmap couldn't be created in any node, as one is enough.
2021-01-14 09:49:30 +01:00
iwilltry42
680a6974c6
tests/e2e: add E2E_INCLUDE and rename E2E_SKIP to E2E_EXCLUDE
2021-01-14 09:01:24 +01:00
Thorsten Klein
4dfb62ebff
[Feature] add LocalRegistryHostingV1 from KEP-1755 ( #441 )
2021-01-12 09:05:58 +01:00
iwilltry42
4590ac57e2
tests/e2e: allow overriding helper image tag for e2e tests to avoid building
2020-12-11 16:24:15 +01:00
Thorsten Klein
ecc025b35e
[Feature] Registry for v4 & Restructure Cluster Creation ( #334 )
2020-12-09 15:59:20 +01:00
Thorsten Klein
778f80d8fd
[FEATURE] Config File ( #351 )
2020-12-04 16:02:37 +01:00
Thorsten Klein
0f15ca34d0
[Fix] Allow literal @ in flags that have nodefilters ( #421 )
...
- literal @s can now be escaped with a preceeding backslash
- use case e.g. `--env HTTPS_PROXY=user:pass\@myproxy.com`
- if the last char before a non-literal @ (designating a following
nodefilter) is a backslash, then it can be escaped with another
backslash (no cascading escapes though)
2020-12-04 11:45:56 +01:00
iwilltry42
870b82c8d7
update checked k3s versions
2020-11-23 10:44:38 +01:00
iwilltry42
5cea7eae0a
tests/e2e: more extensive k3s version tests
2020-10-19 13:53:34 +02:00
iwilltry42
688c8d1ef6
tests/e2e: update k3s versions
2020-10-10 17:39:00 +02:00
iwilltry42
6708515125
tests/e2e: add wait time between exec tries
2020-10-06 12:50:46 +02:00
iwilltry42
dc725fcdbc
docs: add some missing flags and info on host.k3d.internal
2020-10-06 12:46:06 +02:00
iwilltry42
c47f7b731d
tests/e2e: test host.k3d.internal DNS entry
2020-10-05 21:44:11 +02:00
iwilltry42
d420ccf1f7
tests/e2e: use imported image
2020-10-05 15:53:41 +02:00
iwilltry42
66a63f654f
E2E: enable skipping multiple tests and improve log messages
2020-09-20 14:42:52 +02:00