iwilltry42
5aa1edfb73
update to go1.17 and update direct dependencies
2021-09-07 08:57:05 +02:00
iwilltry42
581378feb0
upgrade cobra to prepare completions upgrade
2021-07-20 12:40:55 +02:00
iwilltry42
82cdcac8bd
bump deps
2021-07-20 12:39:40 +02:00
iwilltry42
79790d1c30
Merge branch 'main' of github.com:developer-guy/k3d into developer-guy-main
2021-07-13 12:38:45 +02:00
Thorsten Klein
77aa76d7f2
[FEATURE] add ability to add ports to an existing loadbalancer ( #615 )
2021-07-09 10:46:16 +02:00
Thorsten Klein
eff262b3c7
[FIX] deps: switch back to upstream viper (StringArray fix) ( #655 )
2021-06-28 13:51:43 +02:00
Batuhan Apaydın
f59216c2e0
docker context support
...
Signed-off-by: Batuhan Apaydın <batuhan.apaydin@trendyol.com>
2021-05-11 12:42:51 +03:00
iwilltry42
6499704223
bump deps
2021-04-30 16:31:06 +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
6f5f4bb924
Remove containerd runtime implementation
...
- unused
- incomplete
- caused issues building on Windows due to dependencies
2021-03-10 17:14:38 +01:00
iwilltry42
c688391549
vendor update including kubernetes, docker, containerd, etc.
2021-03-04 15:34:25 +01:00
iwilltry42
8b0174bed2
runtimes/docker/getgatewayip: properly catch non-existent ipam config
2021-03-02 18:38:55 +01:00
Erik Kristensen
63d54842c0
[Feature] Support docker over ssh ( #324 , @ekristen & @inercia)
2021-02-04 17:54:49 +01:00
Thorsten Klein
092f26a4e2
[FEATURE/FIX] Viper Configuration and JSON Schema ( #472 )
2021-02-03 11:31:21 +01:00
iwilltry42
ff7d1bcc57
update docker dependency to fix cross-compilation issues
2020-12-09 18:10:09 +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
d0158c97c6
clusterCreate: add docker's --gpus flag ( #395 )
2020-11-03 20:12:52 +01:00
iwilltry42
9ea71d8c88
cmd: upgrade cobra dep to v1.1.0 with fixed zsh completion
2020-10-15 07:25:08 +02:00
iwilltry42
d75672887e
mod: use upstream cobra again
2020-06-29 22:21:45 +02:00
iwilltry42
3a962b3226
completion: use PR branch of cobra to fix completion for zsh
2020-06-05 08:24:03 +02:00
iwilltry42
f39a9513fd
dependencies: update docker dependencies to fix issues with failing windows builds introduced by the usage of the archive package
2020-06-04 15:03:18 +02:00
iwilltry42
dbb24f4e1c
loadImages: accept mixed runtimeImage and tarball args
...
- loads images from tarballs and runtime
- only tries to do something if respective lists are not empty
- only creates tools node if it's not present yet
- uses new tools image to remove tarballs after process
2020-06-04 11:55:40 +02:00
iwilltry42
48f8393a86
Merge branch 'master-v3' of ssh://github.com/rancher/k3d into feature/kubeconfig-modification
2020-04-22 08:14:20 +02:00
Jacob Weinstock
3548642cb3
Merge branch 'master-v3' into master-v3
2020-04-19 09:36:17 -06:00
Jacob Weinstock
fdd5e5a57a
log to stdout or stderr depending on the log level
2020-04-19 15:32:40 +00:00
iwilltry42
2a76bba98b
getKubeconfig: modify kubeconfig as an object
...
Before this change, we simply did a search/replace on the
stringified kubeconfig blob.
Now we're parsing it into a kubeconfig struct and modify the fields
directly in a more controlled manner.
Here's what we change:
- server URL: based on the chosen APIHost and APIPort
- cluster name: default -> k3d-CLUSTERNAME
- user name: default -> admin@k3d-CLUSTERNAME
- context name: default -> admin@k3d-CLUSTERNAME
2020-04-16 11:42:57 +02:00
iwilltry42
1b7f5c5f78
createCluster/timeout: use context to handle cancellation
...
With the updated cobra depencendy, we're now passing a context
from the cmd to the called functions.
When creating a cluster, one can pass a Duration to the --timeout
flag, which will create a new context with a timeout.
In the two blocking functions, where we're waiting for the master nodes
(initializing master nodes and "normal" master nodes), we're now
checking for the context cancellation as well, which may be caused
by the timeout.
2020-04-15 11:52:22 +02:00
iwilltry42
f571ff3143
getk3sversion
2020-01-02 14:32:25 +01:00
iwilltry42
84234e7a98
add proper k3d config dir and kubeconfig output path
2019-12-05 09:08:10 +01:00
iwilltry42
5f4af67379
update README
2019-10-16 14:13:39 +02:00
iwilltry42
03eaba037f
restructure docker runtime pkg
2019-10-10 12:30:48 +02:00
iwilltry42
4a02c25857
update modules
2019-09-25 13:08:55 +02:00
iwilltry42
97a8081c59
init containerd
2019-09-25 13:08:27 +02:00
Thorsten Klein
a34bbc3ef7
try interface
2019-09-24 19:42:29 +02:00
iwilltry42
e9a620caf3
add most important flags to create cluster
2019-09-03 15:17:36 +02:00
iwilltry42
bdcdbd817a
init cobra
2019-09-03 12:04:02 +02:00
wxdao
c1263487a5
Upgrade docker sdk
2019-07-25 03:15:28 +00:00
iwilltry42
f4687db162
add vendor
2019-04-04 09:23:24 +02:00
iwilltry42
6e6aed3994
add vendor directory
2019-04-03 09:14:54 +02:00