iwilltry42
c38e5cef34
add alias for kubeconfig merge
v3.0.0-syntax.0
2020-07-13 09:05:56 +02:00
iwilltry42
7d384d8347
add image command
2020-07-13 09:02:03 +02:00
iwilltry42
432d5905f6
add cluster start/stop commands
2020-07-13 08:57:44 +02:00
iwilltry42
2aecabb8ca
add node commands
2020-07-13 08:55:29 +02:00
iwilltry42
08f7a47119
new syntax for cluster creation and kubeconfig manipulation
2020-07-08 15:03:28 +02:00
iwilltry42
8278e8d20b
mod: use upstream cobra again
2020-06-29 22:22:18 +02:00
iwilltry42
d75672887e
mod: use upstream cobra again
2020-06-29 22:21:45 +02:00
iwilltry42
4ca19dbf9c
proxy: use confd fork to enable arm support
v3.0.0-rc.5
v3.0.0-rc.6
2020-06-18 15:51:26 +02:00
iwilltry42
d2deb02c3d
version: allow overriding helper image version from env var
2020-06-18 14:40:46 +02:00
iwilltry42
920159aa11
proxy: enable ARCH switch in Dockerfile
2020-06-18 13:27:53 +02:00
iwilltry42
0479d117e0
readme: update badges
2020-06-18 13:03:17 +02:00
iwilltry42
cd3a51755c
CI/Drone: quote all usages of DRONE_TAG variable to prevent yaml parsing errors if it's empty/unset
2020-06-18 11:09:20 +02:00
iwilltry42
afd2bfd724
CI/Drone: only run image pipelines when main succeeded
2020-06-18 10:44:46 +02:00
iwilltry42
7e775f009f
Tests/E2E: include heper image builds in e2e tests
2020-06-18 10:02:46 +02:00
iwilltry42
24f92b9c3f
createCluster: use default 6443 api port in hostNetwork mode
...
Fixes #284
2020-06-18 09:11:16 +02:00
iwilltry42
eac293a263
Overall: helper container images should always use same tag as CLI or fallback to latest
2020-06-18 09:01:04 +02:00
iwilltry42
724b7746ee
CI/Drone: add multiarch builds for tools and proxy
v3.0.0-rc.4
2020-06-18 08:23:00 +02:00
iwilltry42
76d90478f5
Go Module: use v3 for go module compatibility
2020-06-18 07:58:36 +02:00
iwilltry42
83b84071f6
CI/drone: use rancherio-gh-m for gh-pages deployment
2020-06-17 20:49:11 +02:00
iwilltry42
0712007065
CI/drone: fix docker secrets
2020-06-17 20:36:47 +02:00
iwilltry42
5751a44cb2
CI/drone: fix trigger for docs
2020-06-17 20:21:43 +02:00
iwilltry42
8f273bd814
CI/drone: push latest and DRONE_TAG for docker images
2020-06-17 20:09:38 +02:00
iwilltry42
acfa952b51
CI/drone: use DRONE_TAG
2020-06-17 20:05:01 +02:00
iwilltry42
32b7934f14
CI/drone: add pre-release step
2020-06-17 19:45:09 +02:00
iwilltry42
7d01f4ac14
Merge branch 'master' of github.com:rancher/k3d
2020-06-17 19:35:55 +02:00
Thorsten Klein
4272ad4fd8
[Enhancement] Improved CI with Drone ( #278 )
...
* Misc: cleanup and restructure Makefile
* Misc: use dind output target in Dockerfile
* tests/e2e: ensure that the docker runner is really up before continuing
* CI: add drone
* Misc: fix image tag for e2e in Makefile
* CI/drone: add build step, step conditionals and restrict to linux platform
* CI/drone: add docs pipeline
* Misc: allow setting e2e runner timeout via Makefile arg
* CI/drone: add target platform for docs pipeline
* CI: Goodbye travis
* Misc: add drone make target to run drone CI locally
* CI/drone: add basic pipelines for k3d-tools and k3d-proxy
* remove ref event trigger
2020-06-17 19:35:42 +02:00
iwilltry42
0b23807d44
createCluster: make '--wait' be true by default
2020-06-17 18:20:24 +02:00
iwilltry42
3cd1a05b91
Maintenance: move all labels to constants and fix log formatting issues
2020-06-12 19:00:01 +02:00
Thorsten Klein
178fe6d20d
Merge pull request #279 from rancher/feature/random-api-port
...
[Feature] Choose random API Port by default
v3.0.0-rc.3
2020-06-12 13:35:00 +02:00
iwilltry42
d6b5d4dbf5
createCluster: fallback to default api port if random allocation fails
2020-06-12 13:32:19 +02:00
iwilltry42
3205cbac67
createCluster: ask OS/kernel for free port...
...
... instead of leaving this up to docker, since then we don't know about
it when creating the labels, etc. used e.g. for updating the kubeconfig with
the correct port
2020-06-12 13:22:21 +02:00
iwilltry42
711e1ed048
createCluster: use random hostPort for API-Port by default
...
- this makes it easier to create multiple clusters without having to
worry about choosing a different port every time
- This is for you @ibuildthecloud ;)
2020-06-12 12:57:40 +02:00
iwilltry42
5643b4e60c
proxy: increase timeout to 10 minutes
...
- prevent stream from breaking during e.g. 'kubectl get logs -f POD'
Fixes #276
2020-06-12 12:47:32 +02:00
iwilltry42
2d0ec0a1d0
createNode: fix log output generating nil pointer...
...
... dereference in addNodeToCluster when cluster does not exist.
Fixes #277
2020-06-12 12:39:36 +02:00
Thorsten Klein
e7ffd18fca
Merge pull request #275 from rancher/add-k3d-tools
...
Integrating k3d-tools repo as Go submodule
2020-06-10 19:54:06 +02:00
iwilltry42
e81cacd747
add .dockerignore to ignore submodules when building k3d
2020-06-10 19:46:19 +02:00
iwilltry42
0593cfd8c0
integrate k3d-tools repo as Go submodule
2020-06-10 19:41:31 +02:00
iwilltry42
bdb5a1f858
getKubeconfig: fix condition when no overwriting contexts
...
Reference: https://github.com/rancher/k3d/pull/268#issuecomment-639829646
2020-06-10 19:20:02 +02:00
Thorsten Klein
80e9689a7c
Merge pull request #274 from inercia/inercia/k3x_ref
...
Reference to k3x
2020-06-08 17:05:03 +02:00
Alvaro Saurin
8d92a44cba
Reference to k3x
...
Signed-off-by: Alvaro Saurin <alvaro.saurin@gmail.com>
2020-06-08 14:22:54 +02:00
Thorsten Klein
18a9ddd020
Merge pull request #271 from lvuch/lh-theme-customization
...
docs: fix nav color and placement of current section name in header (thanks @lvuch)
2020-06-05 21:12:41 +02:00
lvuch
3b2fc6ef24
fix nav color and placement of current section name in header
2020-06-05 10:51:27 -07:00
Thorsten Klein
a6976d321c
Merge pull request #270 from rancher/feature/completions
...
[Feature] Shell completions
v3.0.0-rc.2
2020-06-05 15:04:59 +02:00
iwilltry42
2d6a67822c
remove fixed FIXME :)
2020-06-05 14:29:01 +02:00
iwilltry42
374d9d16d7
completion: NodeRoles for '--role' flag on 'create node'
2020-06-05 14:12:08 +02:00
iwilltry42
5020259cb5
completion: improve short/long command descriptions
2020-06-05 14:03:54 +02:00
iwilltry42
91425d3738
completion: AvailableClusters for '--cluster' flag in createNode and loadImage
2020-06-05 14:00:27 +02:00
iwilltry42
45a7b2dd7d
completion: new ValidArgsAvailableNodes
...
- completion proposes list of existing nodes
- available for get/delete/start/stop node
2020-06-05 13:50:34 +02:00
iwilltry42
d3f7621ed8
completion: use AvailableClusters completion for start, stop, delete, getKubeconfig
2020-06-05 13:46:49 +02:00
iwilltry42
2e75b90ffb
completion/getCluster: move validargs function to util package
2020-06-05 13:44:15 +02:00