Skip to content

Commit a3edbce

Browse files
authored
Merge pull request #19 from UKHomeOffice/readme
README update
2 parents ca25704 + 9f80ac3 commit a3edbce

File tree

1 file changed

+18
-8
lines changed

1 file changed

+18
-8
lines changed

README.md

+18-8
Original file line numberDiff line numberDiff line change
@@ -55,11 +55,14 @@ spec:
5555
```bash
5656
$ export NGINX_IMAGE_TAG=1.11-alpine
5757
$ kd --context=mykube --namespace=testing --file nginx-deployment.yaml
58-
deployment "nginx" created
59-
"nginx" deployment in progress: 3 out of 5 replicas ready..
60-
"nginx" deployment is complete: 5 out of 5 replicas ready.
58+
[INFO] 2016/09/21 14:06:37 main.go:153: deploying deployment/nginx
59+
[INFO] 2016/09/21 14:06:38 main.go:157: deployment "nginx" submitted
60+
[INFO] 2016/09/21 14:06:41 main.go:194: deployment "nginx" in progress. Unavailable replicas: 5.
61+
[INFO] 2016/09/21 14:06:56 main.go:194: deployment "nginx" in progress. Unavailable replicas: 5.
62+
[INFO] 2016/09/21 14:07:11 main.go:190: deployment "nginx" is complete. Available replicas: 5
6163
```
6264
65+
You can fail an ongoing deployment if there's been a new deployment by adding `--fail-superseded` flag.
6366

6467
## Configuration
6568

@@ -75,20 +78,26 @@ NAME:
7578
USAGE:
7679
kd [global options] command [command options] [arguments...]
7780
81+
VERSION:
82+
v0.2.0
83+
7884
AUTHOR(S):
7985
Vaidas Jablonskis <jablonskis@gmail.com>
8086
8187
COMMANDS:
8288
help, h Shows a list of commands or help for one command
8389
8490
GLOBAL OPTIONS:
85-
--insecure-skip-tls-verify if true, the server's certificate will not be checked for validity [$KD_INSECURE_SKIP_TLS_VERIFY, $PLUGIN_INSECURE_SKIP_TLS_VERIFY]
91+
--debug debug output [$DEBUG, $PLUGIN_DEBUG]
92+
--insecure-skip-tls-verify if true, the server's certificate will not be checked for validity [$INSECURE_SKIP_TLS_VERIFY, $PLUGIN_INSECURE_SKIP_TLS_VERIFY]
8693
--kube-server URL, -s URL kubernetes api server URL [$KUBE_SERVER, $PLUGIN_KUBE_SERVER]
8794
--kube-token TOKEN, -t TOKEN kubernetes auth TOKEN [$KUBE_TOKEN, $PLUGIN_KUBE_TOKEN]
8895
--context CONTEXT, -c CONTEXT kube config CONTEXT [$KUBE_CONTEXT, $PLUGIN_CONTEXT]
89-
--namespace NAMESPACE, -n NAMESPACE kubernetes NAMESPACE [$KUBE_NAMESPACE, $PLUGIN_NAMESPACE]
90-
--file value, -f value a list of kubernetes resources FILE [$KD_FILES, $PLUGIN_FILES]
91-
--retries value deployment status check retries. Sleep 30s between each check (default: 10) [$RETRIES, $PLUGIN_RETRIES]
96+
--namespace NAMESPACE, -n NAMESPACE kubernetes NAMESPACE [$KUBE_NAMESPACE, $PLUGIN_KUBE_NAMESPACE]
97+
--fail-superseded fail deployment if it has been superseded by another deployment. WARNING: there are some bugs in kubernetes. [$FAIL_SUPERSEDED, $PLUGIN_FAIL_SUPERSEDED]
98+
--file value, -f value list of kubernetes resources FILE [$FILES, $PLUGIN_FILES]
99+
--retries value number of deployment status check retries (default: 10) [$RETRIES, $PLUGIN_RETRIES]
100+
--check-interval value deployment status check interval (default: 15s) [$CHECK_INTERVAL, $PLUGIN_CHECK_INTERVAL]
92101
--help, -h show help
93102
--version, -v print the version
94103
```
@@ -117,7 +126,8 @@ To create a new release, just create a new tag off master.
117126
118127
## Contributing
119128
120-
We welcome pull requests. Please check existing issues and PRs before submitting a patch.
129+
We welcome pull requests. Please raise an issue to discuss your changes before
130+
submitting a patch.
121131
122132
123133
## Author

0 commit comments

Comments
 (0)