67 Commits

Author SHA1 Message Date
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
74b93fda45 test/e2e: loadbalancer test case no suffix 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
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
7db9275a5b
clusterCreate: use tempfile with expanded env vars as viper input file 2021-07-06 13:20:26 +02:00
iwilltry42
0fbf03a080
tests/e2e: ensure that we use a cluster create timeout everywhere 2021-07-06 13:20:22 +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
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
iwilltry42
a578c32260
E2E: add extra tests and test different k3s versions 2020-09-19 09:11:30 +02:00
iwilltry42
ec3f10ec57
use server/agent instead of master/worker 2020-07-14 20:29:33 +02:00
iwilltry42
c83ac0afd4
fix merge leftovers 2020-07-14 15:46:44 +02:00
iwilltry42
84d6063e4b
Merge branch 'master' into enhancement/noun-verb-syntax 2020-07-14 15:31:12 +02:00
iwilltry42
59359073e4
adjust e2e tests to new syntax 2020-07-14 12:52:34 +02:00
iwilltry42
7325cc41c4
tests/e2e: update flags for 'get kubeconfig' 2020-06-22 08:15:35 +02:00
iwilltry42
c00f8952ba
getKubeconfig: write to new file by default 2020-06-18 17:44:11 +02:00
iwilltry42
7e775f009f
Tests/E2E: include heper image builds in e2e tests 2020-06-18 10:02:46 +02:00
Thorsten Klein
4272ad4fd8
[Enhancement] Improved CI with Drone (#278)
* Misc: cleanup and restructure Makefile

* Misc: use dind output target in Dockerfile

* tests/e2e: ensure that the docker runner is really up before continuing

* CI: add drone

* Misc: fix image tag for e2e in Makefile

* CI/drone: add build step, step conditionals and restrict to linux platform

* CI/drone: add docs pipeline

* Misc: allow setting e2e runner timeout via Makefile arg

* CI/drone: add target platform for docs pipeline

* CI: Goodbye travis

* Misc: add drone make target to run drone CI locally

* CI/drone: add basic pipelines for k3d-tools and k3d-proxy

* remove ref event trigger
2020-06-17 19:35:42 +02:00
iwilltry42
d6b5d4dbf5
createCluster: fallback to default api port if random allocation fails 2020-06-12 13:32:19 +02:00
Antoine
0862f11324
👌 replace k3d getk3stoken command by --token flag onto command k3d get cluster 2020-06-04 00:56:02 +02:00
iwilltry42
ad06e90e13 fix issues with context.Context and remove LOG_LEVEL=debug in e2e test 2020-06-04 00:49:12 +02:00