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
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
iwilltry42
17c1fccd9c
completion: add custom completion for 'get clusters'
2020-06-05 09:04:05 +02:00
iwilltry42
76b7450b02
remove --runtime root flag and make docker the default
2020-06-05 08:50:47 +02:00