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
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
11cc797922
overall/logging: new trace log level
...
- new root flag '--trace' with precedence over '--verbose'
- some new trace logs
- migrated some debug logs to trace logs to reduce debug verbosity
2020-10-07 08:58:03 +02:00
iwilltry42
a51063966f
Merge branch 'main' of github.com:rancher/k3d into enhancement/host-ip
2020-10-05 15:55:15 +02:00
iwilltry42
d063482a32
clusterCreate: add --no-hostip flag to disable the automatic injection of the host.k3d.internal entry into /etc/hosts and CoreDNS
2020-10-05 15:19:00 +02:00
iwilltry42
6ddcd659da
docs: quote node filters (ref #348 )
2020-10-02 12:27:33 +02:00
iwilltry42
972c004930
add entry for host.k3d.internal to /etc/hosts in the node containers
2020-09-29 15:20:43 +02:00
iwilltry42
f6028305c9
clusterCreate: add '--no-rollback' flag to ease debugging cluster creation failures
2020-09-19 09:24:43 +02:00
Thorsten Klein
ddbf01917b
Merge pull request #333 from rancher/feature/plugin-system
...
[Feature] Basic Plugin System - SubGoal: callables
2020-09-14 08:42:08 +02:00
Tadeu Andrade
cc222ef67a
(feature) Add fish shell completions
2020-08-28 11:00:35 -03:00
iwilltry42
fb0d09545b
plugin: finish handling and executing plugins
2020-08-13 09:05:26 +02:00
iwilltry42
a746e4f2db
init plugin system
2020-08-13 07:55:45 +02:00
iwilltry42
cc3fe46a23
clusterList: include node state
2020-08-12 11:24:15 +02:00
iwilltry42
1285fb90c4
overall: add node status field
2020-08-12 11:14:18 +02:00
iwilltry42
1e228619fd
clusterCreate: fix inconsistent behavior of update-default-kubeconfig and switch-context flags. Fixes #314
2020-08-05 13:44:37 +02:00
iwilltry42
1422a87945
kubeconfig/docs: clarify kubeconfig get/print/show and merge/write
2020-08-05 12:25:06 +02:00
iwilltry42
9f76db2d4a
root: same help text for version and --version
2020-07-17 10:02:32 +02:00
iwilltry42
674e943be8
overall: fix examples/docs for changed flags
2020-07-17 07:59:00 +02:00
iwilltry42
e5d093d3ce
clusterList: add bool for loadbalancer
2020-07-15 09:10:47 +02:00
iwilltry42
41c9bdc87a
prettify help text for cluster create (volume and api-port flags)
2020-07-15 07:00:32 +02:00
iwilltry42
ec3f10ec57
use server/agent instead of master/worker
2020-07-14 20:29:33 +02:00
iwilltry42
84d6063e4b
Merge branch 'master' into enhancement/noun-verb-syntax
2020-07-14 15:31:12 +02:00
iwilltry42
b02c783130
adjust toplevel pkg functions to new syntax
2020-07-14 15:02:51 +02:00
iwilltry42
93daef1098
adjust cluster create output to new syntax
2020-07-14 12:53:12 +02:00
iwilltry42
594ead1428
remove old subcommands
2020-07-14 12:41:55 +02:00
iwilltry42
9c65d7bac6
fix command names
2020-07-14 12:40:53 +02:00
iwilltry42
93dc966411
clusterC: fix description
2020-07-14 12:39:20 +02:00
iwilltry42
d7199d7ba5
createCluster: fix description
2020-07-14 12:37:01 +02:00
iwilltry42
c38e5cef34
add alias for kubeconfig merge
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
81ba7200f4
Sane usage of the default cluster name
...
- use by default whereever clustername is required as an arg (if
nArgs is 0)
- use by default whereever clustername is expected as flag
2020-07-08 15:33:47 +02:00
iwilltry42
18bc8b89db
createCluster: update default kubeconfig and switch context to new cluster by default upon cluster creation
2020-07-08 15:17:58 +02:00
iwilltry42
08f7a47119
new syntax for cluster creation and kubeconfig manipulation
2020-07-08 15:03:28 +02:00
iwilltry42
40a2d032ab
deleteCluster: only warn about failed kubeconfig deletion if file exists and couldn't be deleted
2020-06-22 08:21:35 +02:00
iwilltry42
846aefeb40
kubeconfig: improved flag names and bug fixes
2020-06-22 08:10:30 +02:00
iwilltry42
c00f8952ba
getKubeconfig: write to new file by default
2020-06-18 17:44:11 +02:00
iwilltry42
7ec7147ce1
use homedir
2020-06-18 14:36:22 +02:00
iwilltry42
24f92b9c3f
createCluster: use default 6443 api port in hostNetwork mode
...
Fixes #284
2020-06-18 09:11:16 +02:00
iwilltry42
76d90478f5
Go Module: use v3 for go module compatibility
2020-06-18 07:58:36 +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
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
iwilltry42
2d6a67822c
remove fixed FIXME :)
2020-06-05 14:29:01 +02:00