From 3c999d27e98bbc8ba18f035c66287d63b9a20181 Mon Sep 17 00:00:00 2001 From: Philipp Zeitschel Date: Wed, 19 Jul 2017 12:14:58 +0200 Subject: [PATCH] Documentation: Export variables in example commands --- Documentation/bootkube.md | 2 +- Documentation/getting-started-docker.md | 2 +- Documentation/getting-started-rkt.md | 2 +- examples/terraform/bootkube-install/README.md | 2 +- examples/terraform/etcd3-install/README.md | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/Documentation/bootkube.md b/Documentation/bootkube.md index 093fef08..c93827fc 100644 --- a/Documentation/bootkube.md +++ b/Documentation/bootkube.md @@ -103,7 +103,7 @@ $ ssh core@node1.example.com 'journalctl -f -u bootkube' [Install kubectl](https://coreos.com/kubernetes/docs/latest/configure-kubectl.html) on your laptop. Use the generated kubeconfig to access the Kubernetes cluster. Verify that the cluster is accessible and that the apiserver, scheduler, and controller-manager are running as pods. ```sh -$ KUBECONFIG=assets/auth/kubeconfig +$ export KUBECONFIG=assets/auth/kubeconfig $ kubectl get nodes NAME STATUS AGE VERSION node1.example.com Ready 7m v1.6.6+coreos.1 diff --git a/Documentation/getting-started-docker.md b/Documentation/getting-started-docker.md index 2164dcda..60134830 100644 --- a/Documentation/getting-started-docker.md +++ b/Documentation/getting-started-docker.md @@ -107,7 +107,7 @@ The example profile added autologin so you can verify that etcd3 works between n ```sh $ systemctl status etcd-member -$ ETCDCTL_API=3 +$ export ETCDCTL_API=3 $ etcdctl set /message hello $ etcdctl get /message ``` diff --git a/Documentation/getting-started-rkt.md b/Documentation/getting-started-rkt.md index 38bd5e59..4401a224 100644 --- a/Documentation/getting-started-rkt.md +++ b/Documentation/getting-started-rkt.md @@ -158,7 +158,7 @@ The example profile added autologin so you can verify that etcd3 works between n ```sh $ systemctl status etcd-member -$ ETCDCTL_API=3 +$ export ETCDCTL_API=3 $ etcdctl set /message hello $ etcdctl get /message ``` diff --git a/examples/terraform/bootkube-install/README.md b/examples/terraform/bootkube-install/README.md index 21d1192b..449db7bc 100644 --- a/examples/terraform/bootkube-install/README.md +++ b/examples/terraform/bootkube-install/README.md @@ -126,7 +126,7 @@ $ sudo ./scripts/libvirt [start|reboot|shutdown|poweroff|destroy] [Install kubectl](https://coreos.com/kubernetes/docs/latest/configure-kubectl.html) on your laptop. Use the generated kubeconfig to access the Kubernetes cluster. Verify that the cluster is accessible and that the apiserver, scheduler, and controller-manager are running as pods. ```sh -$ KUBECONFIG=assets/auth/kubeconfig +$ export KUBECONFIG=assets/auth/kubeconfig $ kubectl get nodes NAME STATUS AGE node1.example.com Ready 3m diff --git a/examples/terraform/etcd3-install/README.md b/examples/terraform/etcd3-install/README.md index e237985e..eae6374a 100644 --- a/examples/terraform/etcd3-install/README.md +++ b/examples/terraform/etcd3-install/README.md @@ -93,7 +93,7 @@ $ systemctl status etcd-member Verify that etcd3 peers are healthy and communicating. ```sh -$ ETCDCTL_API=3 +$ export ETCDCTL_API=3 $ etcdctl cluster-health $ etcdctl set /message hello $ etcdctl get /message