Commit Graph

767 Commits

Author SHA1 Message Date
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
iwilltry42
6c784d9ff2
ci/drone: allow building from main-* and release-* branches 2020-12-04 12:52:44 +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
allcontributors[bot]
15f35b02b5
docs: add nunix as a contributor (#419)
Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com>
2020-12-03 13:38:05 +01:00
allcontributors[bot]
d16562ccf3
docs: add inercia as a contributor (#418)
Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com>
2020-12-03 13:36:52 +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
Christian Clauss
db0b929e83
Drone: mkdocs build upgrade to Python 3.9 (#415, @cclaus) 2020-11-27 07:28:15 +01:00
Bastian Hofmann
13470c0df3
Fix install.sh script if curl is not present (#414)
At least with bash 5.0.18, GNU Wget 1.20.3 and GNU Awk 5.1.0 the wget installation methods fails because the awk regex does not match the location header. In these versions, instead of `/^  Location:...` it must be `/^Location:...`. In order to retain compatibility with other versions having a different behavior, I changed it to `/^\s*Location:...`.

Signed-off-by: Bastian Hofmann <bashofmann@gmail.com>
2020-11-26 12:25:30 +01:00
Fabrice Vergnenegre
2d8d60b005
FIX: #412 set Restart flag to true before creation (#413, thanks @fabricev) 2020-11-26 08:54:06 +01:00
iwilltry42
3b52e0407e
fix hardcoded fallback version of k3s to v1.19.4-k3s1 2020-11-25 07:35:19 +01:00
iwilltry42
870b82c8d7
update checked k3s versions 2020-11-23 10:44:38 +01:00
iwilltry42
ddf7068a69
updated docs 2020-11-23 10:27:15 +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
iwilltry42
9e9bddb51d
also exclude test releases 2020-11-13 21:30:17 +01:00
iwilltry42
3c5690a507
cleanup docker-machine related logs 2020-11-13 07:38:15 +01:00
iwilltry42
aa3a54e3c9
do not use host.docker.internal IP for API on non-docker-machine setups of Docker for Desktop 2020-11-12 20:49:40 +01:00
iwilltry42
437f53a72c
docs: add comment about k3s version to ingress apiVersion in guide 2020-11-10 18:32:11 +01:00
markrexwinkel
f56c3383a6
Docs: updated docs and Dockerfile to add cuda drivers (#402, @markrexwinkel)
Authored-by: Mark Rexwinkel <mark.rexwinkel@elekta.com>
2020-11-06 13:53:43 +01:00
Thorsten Klein
8f536af052
fix commit user name for aur release 2020-11-05 07:55:34 +01:00
Thorsten Klein
48f150c196
fix commit user name for aur release 2020-11-05 07:55:14 +01:00
Oliver Bertuch
14edd4fde9
Docs: Add asdf install option (#389, @poikilotherm)
* Add asdf install option maintained by @spencergilbert
2020-11-04 19:34:53 +01:00
Thorsten Klein
586b1c7eae
clusterCreate: use docker VM IP for API connection (#399)
Try
- `docker-machine ip`
- host lookup for `host.docker.internal`

Fixes #388
2020-11-04 15:44:46 +01:00
allcontributors[bot]
0598c2f515
docs: add dhoppe as a contributor (#396)
* docs: update README.md [skip ci]

* docs: update .all-contributorsrc [skip ci]

Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com>
Co-authored-by: Thorsten Klein <iwilltry42@gmail.com>
2020-11-04 09:33:57 +01:00
Dennis Hoppe
16496216dd
Docs: Use current Ingress API version in guide (#394, @dhoppe) 2020-11-04 09:31:07 +01:00
allcontributors[bot]
b6bf728a7c
docs: add markrexwinkel as a contributor (#398)
* docs: update README.md [skip ci]

* docs: update .all-contributorsrc [skip ci]

Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com>
2020-11-04 09:27:27 +01:00
markrexwinkel
fca73dc27d
[Enhancement] Docs: Add guide for CUDA support (#392, @markrexwinkel)
* Add guide for using GPUs (CUDA)
2020-11-04 09:27:08 +01:00
iwilltry42
99ff2592ac
Misc: add Makefile variable to override helper image version at build time 2020-11-04 09:11:56 +01:00
allcontributors[bot]
f4a91c104d
docs: add JohnnyCrazy as a contributor (#397)
* docs: update README.md [skip ci]

* docs: update .all-contributorsrc [skip ci]

Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com>
2020-11-03 21:11:59 +01:00
Thorsten Klein
d0158c97c6
clusterCreate: add docker's --gpus flag (#395) 2020-11-03 20:12:52 +01:00
Jonas Dellinger
e5660f4b1f
[Enhancement] CI/CD: AUR Deploy Script (#391, thanks @JohnnyCrazy)
* Added script for automatic AUR release & added steps in .drone.yml

* Don't run AUR release before actual release

* Switch to GitHub Actions

* Try the 'container' setting and checkout repo first

* Readable deploy-aur.sh script, final draft

* Revert changes in .drone.yml

* GITHUB_REF needs to be stripped for the pre-release script

* Introduce COMMIT_REF on top of script, so it can be modified for both type of releases

* Adjust names to new k3d AUR account
2020-11-03 19:07:02 +01:00
iwilltry42
8612b76577
imageImport: exit with non-zero exit code on failure
... if at least one step in the importing process fails, e.g. failed import for at least one cluster or one image

Fixes #393
2020-11-03 18:51:43 +01:00
iwilltry42
b5eeda74d6
execInNode: check if we have a response before trying to access the reader in case of error to avoid nil pointer exceptions 2020-10-26 13:39:29 +01:00
Thorsten Klein
6032be50c0
Merge pull request #383 from rancher/all-contributors/add-toonsevrin
docs: add toonsevrin as a contributor
2020-10-24 14:49:28 +02:00
allcontributors[bot]
5990c326ba
docs: update .all-contributorsrc [skip ci] 2020-10-24 12:49:08 +00:00
allcontributors[bot]
8d4b9bd3ed
docs: update README.md [skip ci] 2020-10-24 12:49:07 +00:00
iwilltry42
27a133a8c3
cicd: build and push binary-only and dind images containing k3d 2020-10-21 20:29:09 +02:00
Thorsten Klein
cdd672a523
Merge pull request #382 from rancher/all-contributors/add-lionelnicolas
docs: add lionelnicolas as a contributor
2020-10-20 15:09:15 +02:00
allcontributors[bot]
fcf76ff889
docs: update .all-contributorsrc [skip ci] 2020-10-20 13:03:24 +00:00
allcontributors[bot]
ed7e1b14b5
docs: update README.md [skip ci] 2020-10-20 13:03:23 +00:00
Thorsten Klein
211c937fee
Merge pull request #378 from lionelnicolas/feature/set-custom-container-labels
Feature: add ability to set container labels on nodes using --label/-l (thanks @lionelnicolas)
2020-10-20 09:45:00 +02:00
iwilltry42
a385241c77
clusterDelete: no error if no cluster was found (fixes #379) 2020-10-19 23:29:18 +02:00
iwilltry42
425b9b709e
execInNode: do not read logreader too early, because that clears it for other read processes 2020-10-19 14:36:49 +02:00
iwilltry42
b69b874098
clusterCreate/injectHostIP: use 'busybox xargs' directly instead of relying on 'xargs' link, which is missing in some images 2020-10-19 13:54:29 +02:00
iwilltry42
5cea7eae0a
tests/e2e: more extensive k3s version tests 2020-10-19 13:53:34 +02:00
iwilltry42
d097caf7d3
clusterCreate: move inject hostIP to separate func 2020-10-19 12:37:27 +02: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
dcef0b1946
runtime/docker/node: logreader must not be nil
Check for nil when trying to return exec process log reader.
Fixes #377
2020-10-15 07:28:30 +02:00