Provision 3 nodes for your cluster. Follow the OS requirements.
A minimal 3-node cluster.yml
file should look like this:
kubernetes_version: v1.11.8-rancher1-1
nodes:
- address: xx.xx.xx.1
hostname_override: node-1
user: root
role: [controlplane,worker,etcd]
- address: xx.xx.xx.2
hostname_override: node-2
user: root
role: [worker]
- address: xx.xx.xx.3
hostname_override: node-3
user: root
role: [worker]
-
Follow the installation to install the latest RKE release.
-
In the same directory as your
cluster.yml
file, run:
$ rke up
- Wait until the cluster deployment completes successfully.
- Download a sonobuoy binary release of the CLI, or build it yourself by running:
$ go get -u -v github.com/heptio/sonobuoy
- Configure your kubeconfig file by running the following command in the same directory as your
cluster.yml
file:
$ export KUBECONFIG="kube_config_cluster.yml"
- Run sonobuoy:
$ sonobuoy run
- Watch the logs:
$ sonobuoy logs
- Check the status:
$ sonobuoy status
- Once the status commands shows the run as completed, you can download the results tar.gz file:
$ sonobuoy retrieve