If you are using Kubernetes, then you can install the Deploy, Explore and Monitor agents all at once to your cluster. In Kubernetes, the Weave Cloud Agents run as DaemonSets in the kube-system namespace in your cluster.

Log onto the master node, run the following:

kubectl apply -n kube-system -f \
  "https://cloud.weave.works/k8s.yaml?t=[CLOUD-TOKEN]&k8s-version=$(kubectl version | base64 | tr -d '\n')"


Note: The Explore function is the only agent that doesn’t require any additional configuration. In the case of Monitoring, you will need to instrument your app to view metrics in Weave Cloud and to use Deploy additional configuration to connect your source control repository and ChatOps (if desired) is also be required.

Deleting DaemonSets from Kubernetes

If you mistyped or you need to relaunch the agents, you can stop them by running:

kubectl delete -n kube-system \
  -f "https://cloud.weave.works/k8s/v1.6/weave-cloud?t=?t=anything"

Further Reading