ejose19
bfead49c46
[Enhancement] Refactoring: normalize label flags (k3s node & runtime) ( #598 , @ejose19)
2021-07-09 10:46:16 +02:00
iwilltry42
6c94d7db3d
overall/license: update to year range -2021
2021-05-21 13:07:59 +02:00
iwilltry42
8b0174bed2
runtimes/docker/getgatewayip: properly catch non-existent ipam config
2021-03-02 18:38:55 +01:00
markrexwinkel
e307b69dca
[Fix] Allow absolute paths for volumes on Windows ( #510 , @markrexwinkel)
2021-03-02 18:30:03 +01:00
Thorsten Klein
092f26a4e2
[FEATURE/FIX] Viper Configuration and JSON Schema ( #472 )
2021-02-03 11:31:21 +01:00
Alvaro
c6df1448ef
[Enhancement] Improved listings for nodes & registries ( #439 , @inercia)
2021-01-14 12:51:44 +01:00
Thorsten Klein
c44c576d69
[Refactoring/Preparation] use real port structs as prep for registries ( #427 )
2020-12-11 16:36:10 +01:00
iwilltry42
621640c901
rename ExposedPort
2020-12-10 14:41:31 +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
iwilltry42
d7b25ac6ab
v3 -> v4
2020-12-04 13:45:57 +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
Thorsten Klein
a5d2910f29
[Feature] clusterCreate: add back --env/-e flag to inject environment variables ( #409 )
2020-11-23 10:23:45 +01:00
Lionel Nicolas
ffe8c9697c
add ability to set container labels on nodes using --label/-l
...
This supports node filters as is already done for '--volume' and '--port'.
2020-10-16 20:46:04 -04:00
iwilltry42
972c004930
add entry for host.k3d.internal to /etc/hosts in the node containers
2020-09-29 15:20:43 +02:00
iwilltry42
fb0d09545b
plugin: finish handling and executing plugins
2020-08-13 09:05:26 +02:00
iwilltry42
a746e4f2db
init plugin system
2020-08-13 07:55:45 +02:00
iwilltry42
ec3f10ec57
use server/agent instead of master/worker
2020-07-14 20:29:33 +02:00
iwilltry42
b02c783130
adjust toplevel pkg functions to new syntax
2020-07-14 15:02:51 +02:00
iwilltry42
76d90478f5
Go Module: use v3 for go module compatibility
2020-06-18 07:58:36 +02:00
iwilltry42
d6b5d4dbf5
createCluster: fallback to default api port if random allocation fails
2020-06-12 13:32:19 +02:00
iwilltry42
3205cbac67
createCluster: ask OS/kernel for free port...
...
... instead of leaving this up to docker, since then we don't know about
it when creating the labels, etc. used e.g. for updating the kubeconfig with
the correct port
2020-06-12 13:22:21 +02:00
iwilltry42
711e1ed048
createCluster: use random hostPort for API-Port by default
...
- this makes it easier to create multiple clusters without having to
worry about choosing a different port every time
- This is for you @ibuildthecloud ;)
2020-06-12 12:57:40 +02:00
iwilltry42
374d9d16d7
completion: NodeRoles for '--role' flag on 'create node'
2020-06-05 14:12:08 +02:00
iwilltry42
45a7b2dd7d
completion: new ValidArgsAvailableNodes
...
- completion proposes list of existing nodes
- available for get/delete/start/stop node
2020-06-05 13:50:34 +02:00
iwilltry42
2e75b90ffb
completion/getCluster: move validargs function to util package
2020-06-05 13:44:15 +02:00
iwilltry42
ae9be0603d
volumes: only warn about possible issues and don't error out
...
- allows for specifying more possibilities
2020-05-29 14:26:18 +02:00
iwilltry42
06f543518c
fix: re-add support for named volumes used with --volume flag
2020-05-28 11:01:25 +02:00
iwilltry42
dabec2f091
createCluster: fix loadblancer consideration
...
- issue #248 : nil pointer dereference because we're trying to access
non-existent loadblancer node
2020-05-27 18:23:39 +02:00
iwilltry42
9c9f49646e
MasterLoadBalancer: add nodefilter & extra treatment
...
- masterlb is now an extra part of the cluster spec
- ports can now be attached to masterlb by using the 'loadbalancer'
nodefilter
- all ports exposed on the masterlb will be proxied to all master nodes
(on the same port)
2020-05-11 10:57:54 +02:00
iwilltry42
cc8399ba63
Cleanup: Todos in cmd/
2020-04-08 13:28:10 +02:00
iwilltry42
bc49f197d9
cleanup and prepare for push to rancher/k3d
2020-01-05 21:16:31 +01:00
iwilltry42
f571ff3143
getk3sversion
2020-01-02 14:32:25 +01:00
iwilltry42
7098be1693
initial version of --port flag
2019-11-08 14:21:21 +01:00
iwilltry42
77ed3d3669
init --port flag implementation
2019-11-07 16:15:18 +01:00
iwilltry42
389e67f4dd
cleanup
2019-11-07 13:26:12 +01:00
iwilltry42
a625328cc7
cleanup
2019-11-07 13:26:00 +01:00
iwilltry42
f87c7cd9fa
remove debug prints and add some comments
2019-11-07 13:22:39 +01:00
iwilltry42
b99ee41558
fix node filtering function didn't deduplicate
2019-11-07 13:17:21 +01:00
iwilltry42
d31a4334cc
always have src and dest in volume mount
2019-11-07 13:09:11 +01:00
iwilltry42
b52da4ac52
fix filtering
2019-11-07 12:01:33 +01:00
iwilltry42
b78a8cf993
finish filterNodes beta
2019-11-07 11:29:15 +01:00
iwilltry42
82c29868a1
use pointers to nodes in cluster struct
2019-11-07 10:18:54 +01:00
iwilltry42
c92c9b8e2f
filter nodes and validate volume mounts
2019-11-06 19:34:20 +01:00
iwilltry42
62501af7e9
prepare volume flag
2019-11-05 19:17:47 +01:00