mirror of
https://github.com/outbackdingo/matchbox.git
synced 2026-01-27 10:19:35 +00:00
Documentation: Export variables in example commands
This commit is contained in:
committed by
Dalton Hubble
parent
1ba353e5b6
commit
3c999d27e9
@@ -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
|
||||
|
||||
@@ -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
|
||||
```
|
||||
|
||||
@@ -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
|
||||
```
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user