iwilltry42
28c13446f2
Add notes about --enable-registry-cache disabling push access (thanks for the hint @deiwin)
2020-04-23 08:19:26 +02:00
Thorsten Klein
c9c002207a
Merge pull request #187 from docteurklein/registry-localhost
...
[Enhancement] use .localhost as a default registry name (thanks @docteurklein)
2020-04-23 08:09:52 +02:00
Jacob Weinstock
5d1c83d47a
split logs to stdout or stderr depending on level
2020-04-16 20:12:18 -06:00
Jacob Weinstock
3e12d67da3
default logs to stdout not stderr
2020-04-07 21:05:53 -06:00
Alvaro Saurin
fb47728ddc
Option for using the local k3d registry as a proxy for the Docker Hub
...
Signed-off-by: Alvaro Saurin <alvaro.saurin@gmail.com>
2020-03-13 11:18:57 +01:00
Alvaro Saurin
5b7ec7e29d
Options for using a specific volume in the registry
...
New --registry-volume option for using an specific volume in
the registry.
Signed-off-by: Alvaro Saurin <alvaro.saurin@gmail.com>
2020-03-02 13:04:48 +01:00
Florian Klein
34bf23ef85
use .localhost as a default registry name
2020-02-10 10:04:03 +01:00
Alvaro Saurin
2ec3efd877
New --prune option for delete
...
Signed-off-by: Alvaro Saurin <alvaro.saurin@gmail.com>
2020-01-30 10:01:29 +01:00
Alvaro Saurin
5111fab6f9
Argument for customizing the global registries file
...
Signed-off-by: Alvaro Saurin <alvaro.saurin@gmail.com>
2020-01-21 19:47:53 +01:00
iwilltry42
4d8876f649
add --overwrite flag for get-kubeconfig
2020-01-21 11:36:00 +01:00
Alvaro Saurin
284db4d74b
New option for starting a local registry.
...
A new option, --enable-registry, has been added for starting a local, private registry.
This registry will be shared between all the k3d clusters created with --enable-registry.
The registry container will be removed when the last of them is removed.
Two extra options, --registry-name and --registry-port, have been included for specifying
the hostname and port where the registry will be available.
Signed-off-by: Alvaro Saurin <alvaro.saurin@gmail.com>
2020-01-17 20:41:10 +01:00
Thorsten Klein
7ed52c687d
Merge pull request #163 from lionelnicolas/feature/docker-labels-support
...
[Feature] add ability to set docker labels on worker nodes (thanks @lionelnicolas )
2020-01-17 20:18:46 +01:00
iwilltry42
7275929907
improve help text and default for --wait flag
2020-01-17 12:39:48 +01:00
Lionel Nicolas
739486e382
add support for node specifier in labels
2020-01-16 00:46:36 -05:00
Lionel Nicolas
59224236b9
add ability to set docker labels on worker nodes
2020-01-14 08:28:52 -05:00
iwilltry42
97bebbad66
add note to add-node command
2020-01-02 14:42:53 +01:00
iwilltry42
9b8fcd17be
Merge branch 'master' of https://github.com/rancher/k3d into feature/add-node-command
2019-11-03 19:52:17 +01:00
iwilltry42
18a3db3d9b
remove outdated docs and add simple version command
2019-10-30 15:55:03 +01:00
iwilltry42
b9ea408d49
Merge branch 'master' of https://github.com/rancher/k3d into feature/add-node-command
2019-10-21 08:12:48 +02:00
iwilltry42
89cb12181a
add --timestamp global flag for log formatting
2019-10-11 10:48:15 +02:00
iwilltry42
9aa5af8d5d
improve log level usage
2019-10-02 19:06:36 +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
Dax McDonald
eff97313da
Fix typo
2019-09-17 17:10:39 -07:00
iwilltry42
0317cc395b
add --volume flag to add-node command
2019-09-06 12:12:32 +02:00
iwilltry42
487418974e
remove --all flag for ls
2019-09-06 11:47:25 +02:00
iwilltry42
ee1eb58466
fix passing args to add-node node
2019-09-06 11:37:13 +02:00
iwilltry42
3e80e37faf
allow connections to non-dockerized k3s clusters
2019-09-04 18:10:08 +02:00
iwilltry42
c8f8fdb139
add addNode function with basic functionality
2019-09-04 18:10:08 +02:00
iwilltry42
89ba0f67b7
use --port/-p for publishing ports now instead of api-port
2019-09-04 18:09:36 +02:00
iwilltry42
53eba1828d
remove 'create --version' flag
2019-09-04 18:09:35 +02:00
iwilltry42
d6364af32c
add add-node command
2019-09-04 18:09:35 +02:00
misakwa
4e52afd578
Add agent-arg and pass through to container
2019-07-30 23:08:40 -05:00
iwilltry42
081ec611bc
--keep flag to not remove the tarball after import
2019-07-11 15:43:49 +02:00
iwilltry42
deccb0122a
enable importing multiple images at once
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
Andy Zhou
f037e1b225
Deprecate --timeout, shift shot hand options around
...
We have been giving user warnings about --timeout going away for a
while. Now fully deprecate it.
Use -t for --wait option
Move -w from --wait to --workers. Many users of K3d generate multi-node
clusters, -w will make their life easier.
2019-06-06 12:26:26 -07:00
Andy Zhou
1565e43365
Modify --api-port to take a stirng argument
...
--api-port only takes the port as argument. This patch modifies it to
take a string argument, in the form of host:port.
2019-06-03 17:16:46 -07:00
iwilltry42
f771dcf8b5
shell flag text
2019-05-31 12:34:44 +02:00
iwilltry42
eb5b88052e
add auto mode for shell based on SHELL env var and support zsh
2019-05-29 09:14:36 +02:00
Andy Zhou
abd9a984eb
Add --shell argument
...
Add subshell argument --shell. Currently, support only bash, which is
also the default value.
2019-05-27 17:16:04 -07:00
Andy Zhou
d63f7d4bf2
Rename bash command to shell
...
@iwilltry42 suggested to group all shell support under and single
subcommand -- shell.
2019-05-27 17:14:43 -07:00
Andy Zhou
2971dd6845
Add the ability to execute commands directly with the bash subcommand
...
In addition to provide an interactive shell, this patch adds the
'--command' and '-c' options to allow user to issue a command in the
context of a cluster.
For example:
$ k3d bash -c 'kubectl cluster-info'
2019-05-24 17:16:12 -07:00
Andy Zhou
4ef6710e22
Add basic bashShell() function
...
Add the basic frame work for supporting spawning a bash shell by cli
command.
With this change, we can spawn a bash shell in the context of a cluster
$ k3d create -n my-cluster
$ k3d bash -n my-cluster
[my-cluster] $>
// execute commands with KUBECONFIG already set up
[my-cluster] $> kubectl get pods
2019-05-24 17:16:12 -07:00
Andy Zhou
6dfb1e054b
Merge pull request #61 from andyz-dev/always-on
...
[Feature] Implement --always-on flag for the create command
2019-05-21 10:46:00 -07:00
Andy Zhou
b9713c4ac4
Add --auto-restart flag for the create command
...
When creating clusters with the --auto-restart flag, any running cluster
will remain "running" up on docker daemon restart.
By default, without this flag, a "running" cluster becomes "stopped"
after docker daemon restart.
Clusters stopped with 'k3d stop' command will remain stopped after
docker daemon restart regardless the settings of this flag.
2019-05-21 09:31:45 -07:00
Andy Zhou
3683eeb181
Deprecate the --timeout option
...
Use --wait <timeout> instead
2019-05-20 14:07:12 -07:00
Andy Zhou
c3c8f0d6f8
Golang format clean up
...
Changes made by 'make fmt'.
2019-05-16 00:02:10 -07:00
Andy Zhou
a0eb69b73e
Allow the volume argument to be specified multiple times
...
Most k3d arguments are using in "stringSlice" style, allowing the
argument to supplied multiple times. Currently "volume" is an exception
to this style, require multiple arguments to be supplied in a single
argument, separated by comma.
This commit improve the k3d usability by improve the consistency of its
argument style.
2019-05-15 09:35:07 -07:00
iwilltry42
464d2e23c5
Offset multiplication
2019-05-14 13:13:56 +02:00