iwilltry42
f53e8bd718
Go 1.16
2021-03-04 14:50:16 +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
iwilltry42
ec79db4ef5
go v1.15
2020-12-04 14:10:33 +01:00
iwilltry42
d7b25ac6ab
v3 -> v4
2020-12-04 13:45:57 +01:00
Alvaro
a93932e5b6
[Feature] Options for formatted output of cluster list
( #416 , @inercia))
...
This adds a `--ouput` flag to `cluster list` for dumping the
list of clusters as a JSON or YAML document.
Signed-off-by: Alvaro Saurin <alvaro.saurin@gmail.com>
2020-12-03 13:34:33 +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
76d90478f5
Go Module: use v3 for go module compatibility
2020-06-18 07:58:36 +02:00
iwilltry42
3a962b3226
completion: use PR branch of cobra to fix completion for zsh
2020-06-05 08:24:03 +02:00
iwilltry42
ae84791cf4
deps: update modules
2020-06-04 15:04:14 +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
c061104b53
createNode: copy as many details as possible from existing
...
- we now use the full containerJSON details when getting a node
- we now use as many details as possible to copy k3d settings from an
existing node when adding a new node to a running cluster
2020-05-11 08:42:44 +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
iwilltry42
9464651f1a
fix go.mod
2020-04-20 20:10:43 +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
1b70008457
use go 1.14
2020-03-29 18:32:44 +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
4929915717
add completion
2019-12-19 22:11:14 +01:00
iwilltry42
7c63c34609
init completion
2019-12-19 13:12:07 +01:00
iwilltry42
0a8eca31f5
update vendor
2019-12-05 09:09:17 +01:00
iwilltry42
84234e7a98
add proper k3d config dir and kubeconfig output path
2019-12-05 09:08:10 +01:00
iwilltry42
24a0bda247
init get kubeconfig
2019-10-24 14:57:15 +02:00
iwilltry42
ecfe035895
getkubeconfig
2019-10-24 14:01:46 +02:00
iwilltry42
05c048ec43
tabular output for getClusters
2019-10-16 14:10:18 +02:00
iwilltry42
9323179a3c
implement first test
2019-10-10 12:01:53 +02:00
iwilltry42
d4060bc4be
improve k3d -> docker translation
2019-10-09 19:47:58 +02:00
iwilltry42
43eb626b0c
specify role, image and labels
2019-09-30 12:33:17 +02:00
iwilltry42
2217048daf
comment cleanup
2019-09-30 10:57:56 +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
Thorsten Klein
73efb98b32
start docker runtime
2019-09-06 14:45:16 +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
iwilltry42
205a521c81
go mod tidy
2019-07-30 10:36:49 +02:00
wxdao
c1263487a5
Upgrade docker sdk
2019-07-25 03:15:28 +00:00
iwilltry42
7eec5b061b
use docker sdk wherever possible
2019-04-15 15:48:43 +02:00
iwilltry42
866b98c429
rename and add authors
2019-04-12 07:36:59 +02:00
iwilltry42
4e477d3262
rename to k3d
2019-04-10 20:10:36 +02:00
iwilltry42
1f417ce948
enhanced list
2019-04-04 09:19:26 +02:00