Ahmed AbouZaid
9eaa6c4d8e
feat: support config embedded and external files ( #1417 )
6 months ago
iwilltry42
f73fe36eb0
change/docs: copyright notice year
11 months ago
iwilltry42
cc3fe91265
change (breaking/module): switch from netaddr.af to netipx + netip
1 year ago
Thorsten Klein
831c0a2f66
fix: custom registry config not parsed correctly ( #1292 )
1 year ago
iwilltry42
93a67d712e
change: golangci-lint fix whitespaces
1 year ago
Max Sargent
dc9f05036a
change: allow full K3s registry configuration ( #1215 )
1 year ago
dan-ash
88c5f18792
Add support for ulimits ( #1264 )
1 year ago
Sunghoon Kang
24bb5f4493
fix: print consistent json/yaml output ( #1094 )
2 years ago
iwilltry42
60ec077afd
add: v1alpha4 add registry create proxy config + documentation
2 years ago
flaneur
eb5bd52638
feat: allow set image in simpleConfig.Registries.Create ( #1056 )
2 years ago
Thorsten Klein
852df7786a
[Migration] search and replace rancher/k3d with k3d-io/k3d in most places ( #976 )
3 years ago
Thorsten Klein
08bf145e95
[Feature] Config v1alpha4 ( #944 )
...
- add: hostAliases
- add: hostPidMode
3 years ago
Thorsten Klein
3b0e6990c4
license: - 2022 ( #943 )
3 years ago
iwilltry42
7710f33686
license: - 2022
3 years ago
Thorsten Klein
aec4507db8
[Feature] add: config options to configure extra hosts ( #938 )
...
- add: `k3d cluster create --host-alias <ip>:<hostname>[,alias,...]`
- add: `.hostAliases` config option (to be present in v1alpha4/Simple
- change: regexp hostname validation
- add: `HostAliases` in `SimpleConfig`, `ClusterCreateOpts` and `ClusterStartOpts`
- add: `NewHostAliasesInjectEtcHostsAction`
- add: `RewriteFileActionOpts` with option `NoCopy` to work around "Resource Busy" issue
3 years ago
Hiroto Funakoshi
c16bf6f3d2
[FEATURE] host pid mode support for k3s-server and k3s-agent ( #929 )
3 years ago
Thorsten Klein
b63fefe74d
[Enhancement] extend usability of nodefilters with suffices internally... ( #871 )
...
... and throw error if suffix is used in unsupported cases (e.g. volumes)
Note: as of now, only the port config supports nodefilter suffices (proxy, direct) and all the others don't.
3 years ago
Thorsten Klein
b073e7675f
feat: fetch K3s image tag from channelserver on latest/stable/+min.major ( #841 )
3 years ago
Eng Zer Jun
5e5a35c67c
refactor: move from io/ioutil to io and os package ( #827 )
3 years ago
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
3 years ago
iwilltry42
7073a8fad7
migrate to module rancher/k3d/v5
3 years ago
iwilltry42
630788f1e7
clusterCreate: add --lb-config-override flag
...
- allow overriding k3d-proxy settings (workerProcesses,
defaultProxyTimeout)
- add new field to loadbalancer config and SimpleConfig structs
3 years ago
iwilltry42
9efe980789
overall: make error handling and error logs a bit more streamlined
3 years ago
Thorsten Klein
212979d0bb
[Enhancement] DNS Injection ( #718 )
...
- remove`--no-hostip` flag and the related `disableHostIPInjection` config option
- inject host IP on every cluster startup (except when hostnetwork is chosen)(/etc/hosts + CoreDNS)
- inject host entries for every cluster network member container into the CoreDNS configmap
3 years ago
Mateusz Urbanek
917c19eae5
feat(logging): using new package containing logrus.Logger instead of global scope logrus ( closes #583 ) ( #699 , @Shanduur )
3 years ago
iwilltry42
ac527e7c8a
fix nilpointer in config transformation when lb is disabled ( fixes #695 )
3 years ago
iwilltry42
2516cad12e
allow for adding ports to a running cluster via the loadbalancer
3 years ago
iwilltry42
4132757f34
ports: no nodefilter or loadbalancer nodefilter should default to use all servers & agents as upstream
3 years ago
iwilltry42
1944c06dad
properly handle --port 1234:4321@loadbalancer:proxy style port mappings which should default to all nodes as upstream
3 years ago
iwilltry42
8fef6aee09
fix usage of the new loadbalancer type and ordering when cluster is created
3 years ago
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
3 years ago
ejose19
bfead49c46
[Enhancement] Refactoring: normalize label flags (k3s node & runtime) ( #598 , @ejose19 )
3 years ago
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
3 years ago
iwilltry42
831e58fdce
init clusteredit
3 years ago
iwilltry42
2162504ee1
transformsimple: move transformports to own function
3 years ago
iwilltry42
bb237d3389
fix: do not allow the same direct port-mapping on more than one node
3 years ago
iwilltry42
99490ca7c1
ports: no nodefilter or loadbalancer nodefilter should default to use all servers & agents as upstream
3 years ago
iwilltry42
d6bf08feed
properly handle --port 1234:4321@loadbalancer:proxy style port mappings which should default to all nodes as upstream
3 years ago
iwilltry42
6e8b27f99f
fix usage of the new loadbalancer type and ordering when cluster is created
3 years ago
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
3 years ago
ejose19
1deb0aa64d
[Enhancement] Refactoring: normalize label flags (k3s node & runtime) ( #598 , @ejose19 )
3 years ago
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
3 years ago
iwilltry42
6c94d7db3d
overall/license: update to year range -2021
3 years ago
Thorsten Klein
24cf263c73
[FEATURE] IPAM via subnet flag ( #560 )
3 years ago
Konrad Malik
e495fe83a8
[FEATURE] Memory Limits ( #494 , @konradmalik )
4 years ago
Fabrice Vergnenegre
83da516bc6
[FIX] Properly handle host/hostIP cases for kubeconfig ( #500 , @fabricev )
4 years ago
Konrad Malik
73e1548264
[FIX] do not ignore --no-hostip and don't try to inject if network = host ( #471 )
4 years ago
Thorsten Klein
092f26a4e2
[FEATURE/FIX] Viper Configuration and JSON Schema ( #472 )
4 years ago
iwilltry42
a37b01c5b9
NodeDelete: add NodeDeleteOpts
4 years ago
iwilltry42
064f1071de
allow reading embedded registries.yaml from SimpleConfig file and add a test case
4 years ago