iwilltry42
9aa5af8d5d
improve log level usage
v1.3.2
2019-10-02 19:06:36 +02:00
Thorsten Klein
802038abb1
Merge pull request #112 from nlamirault/feature/use-logrus
...
[Enhancement] Replace log with logrus (thanks @nlamirault )
2019-10-01 19:57:44 +02:00
Nicolas Lamirault
b5c4204303
Fix: use warningf
...
Signed-off-by: Nicolas Lamirault <nicolas.lamirault@gmail.com>
2019-10-01 14:42:28 +02:00
Nicolas Lamirault
44d6fef28c
Update: use log level instead of errorf
...
Signed-off-by: Nicolas Lamirault <nicolas.lamirault@gmail.com>
2019-10-01 10:15:24 +02:00
Nicolas Lamirault
61107ca5bf
Update: use log level
...
Signed-off-by: Nicolas Lamirault <nicolas.lamirault@gmail.com>
2019-09-28 19:58:05 +02:00
Nicolas Lamirault
3631e65570
Update: replace log with logrus
...
Signed-off-by: Nicolas Lamirault <nicolas.lamirault@gmail.com>
2019-09-25 22:41:00 +02:00
Andy Zhou
164758d29a
Merge pull request #109 from daxmc99/misspell
...
Fix typo
2019-09-17 20:41:36 -07:00
Dax McDonald
eff97313da
Fix typo
2019-09-17 17:10:39 -07:00
iwilltry42
66e86e20ab
add Dockerfile and disable CGO in Makefile
2019-09-11 11:24:28 +02:00
Thorsten Klein
6581844d2e
Merge pull request #105 from splattael/pin-tag-install
...
Allow passing `TAG` to install a specific release [Thanks @splattael]
2019-09-11 10:32:52 +02:00
Peter Leitzen
bde5bc6ff3
Allow passing TAG to install a specific release
2019-09-10 22:06:25 +02:00
iwilltry42
36d4d9774c
fix builds
2019-09-06 11:45:03 +02:00
iwilltry42
eba563f000
improve repeatable build process and enable building with go1.13
2019-09-06 10:49:16 +02:00
Andy Zhou
460ff827f4
Merge pull request #96 from misakwa/misakwa/agent-args
...
Expose `--agent-arg` like `--server-arg`
2019-08-05 20:25:15 -07:00
misakwa
29204d18a5
Address review comment
2019-08-05 21:14:43 -05:00
misakwa
4e52afd578
Add agent-arg and pass through to container
2019-07-30 23:08:40 -05:00
iwilltry42
33b79b1567
Merge branch 'master' of https://github.com/rancher/k3d
v1.3.1
2019-07-30 10:37:22 +02:00
iwilltry42
205a521c81
go mod tidy
2019-07-30 10:36:49 +02:00
iwilltry42
02edf64818
go mod tidy
2019-07-30 10:35:34 +02:00
Andy Zhou
e56be1344e
Merge pull request #94 from wxdao/fix-docker
...
Upgrade Docker SDK
2019-07-26 10:44:10 -07:00
iwilltry42
4ac84e147b
Merge branch 'master' of https://github.com/rancher/k3d
2019-07-25 15:40:28 +02:00
iwilltry42
4747e8fdc3
add warning message for debugging tag issue
2019-07-25 15:40:17 +02:00
iwilltry42
238a07f8ff
add warning message for debugging tag issue
2019-07-25 15:40:07 +02:00
Thorsten Klein
f0d05479f6
Merge pull request #95 from asksven/master
...
[Doc] Added doc for running a local unsecure registry (@asksven)
2019-07-25 14:36:43 +02:00
iwilltry42
4701a8b65f
make make error out if no K3S_TAG was found or set
2019-07-25 13:11:34 +02:00
Sven Knispel
9e2152a540
Incorporated feedback from PR-review
2019-07-25 13:07:44 +02:00
Sven Knispel
8cf155fc91
[Doc] Added doc for running a local unsecure registry
2019-07-25 10:40:18 +02:00
wxdao
058bb1d9e4
Use client.WithAPIVersionNegotiation()
2019-07-25 06:42:31 +00:00
wxdao
c1263487a5
Upgrade docker sdk
2019-07-25 03:15:28 +00:00
Thorsten Klein
c5e5adb0e2
Merge pull request #91 from rancher/feature/import-images-helper
...
[Feature] import images from docker daemon into k3d using a helper container
v1.3.0
2019-07-23 19:26:01 +02:00
iwilltry42
96c883a10a
cleanup tools container using defer
2019-07-17 09:32:46 +02:00
iwilltry42
081ec611bc
--keep flag to not remove the tarball after import
2019-07-11 15:43:49 +02:00
iwilltry42
a4c75c6568
use a tools container
2019-07-10 18:23:47 +02:00
iwilltry42
89c318f478
merge
2019-07-09 11:18:13 +02:00
iwilltry42
7f87e04ecf
update README
2019-07-09 11:15:56 +02:00
iwilltry42
c257be4960
update README
2019-07-09 11:14:36 +02:00
iwilltry42
07e458d6f1
test
2019-07-08 09:59:01 +02:00
iwilltry42
036a8a9fd0
Merge branch 'feature/load-images' of https://github.com/rancher/k3d into feature/load-images
2019-07-08 09:58:33 +02:00
iwilltry42
f670dde640
test
2019-07-08 09:58:26 +02:00
Andy Zhou
6060d46ab2
Merge pull request #88 from darobs/darobs/invert-timeout-logic
...
Fix inverted timeout logic on create.
2019-07-03 19:43:06 -07:00
Ubuntu
4bde59702d
error should occur when current time is after start+timout
2019-07-04 02:12:40 +00:00
iwilltry42
93fa5630ac
create named volume
2019-07-03 16:51:41 +02:00
iwilltry42
cbdeea3bfa
create named volume
2019-07-03 16:50:02 +02:00
iwilltry42
deccb0122a
enable importing multiple images at once
v1.3.0-dev.0
2019-07-01 12:17:03 +02:00
iwilltry42
ab2c54ca1d
add import-image command for importing single image
2019-07-01 11:31:35 +02:00
Thorsten Klein
341f0b3cbe
Merge pull request #80 from andyz-dev/ignore-docker-machine
...
[Enhancement] Ignore docker-machine command line error (@andyz-dev)
2019-06-29 11:08:40 +02:00
Andy Zhou
7d42a4ebd1
Ignore docker-machine command line error
...
It turns out that docker client only pays attention to the following
environment variables:
DOCKER_HOST to set the url to the docker server.
DOCKER_API_VERSION to set the version of the API to reach, leave empty for latest.
DOCKER_CERT_PATH to load the TLS certificates from.
DOCKER_TLS_VERIFY to enable or disable TLS verification, off by default.
A miss configured DOCKER_MACHINE_NAME won't affect docker client, so k3d
should just ignore the error.
2019-06-14 12:51:32 -07:00
Andy Zhou
bd5d7a6268
Merge pull request #79 from andyz-dev/extra-log
...
[Enhancement] Log more information when the docker-machine command fails
2019-06-14 07:55:36 -07:00
Andy Zhou
aa6e142b81
Log more information when the docker-machine command fails
...
Currently, when the 'docker-machine' command fails, we only logs
"exit status 1'
Which is not very helpful in root cause analysis.
With this patch, the 'docker-machine' command's stderr output is also
logged.
# To cause docker-machine command fail
$ export DOCKER_MACHINE_NAME=xx
$ k3d create
2019/06/13 16:45:31 Created cluster network with ID 6fc91e0e5e912443e6b847f113a6a0bb85ccd610e5232592296d4b199f0347cf
2019/06/13 16:45:31 Error executing 'docker-machine ip'
2019/06/13 16:45:31 Docker machine "xx" does not exist. Use "docker-machine ls" to list machines. Use "docker-machine create" to add a new one.
exit status 1
2019-06-13 16:47:27 -07:00
Thorsten Klein
5ebe276162
Merge pull request #76 from andyz-dev/no-timeout
...
[Enhancement] Deprecate --timeout, shift short hand options around
v1.2.2
2019-06-07 15:00:32 +02:00