Attach Runbook Hub to Cluster
Last updated
Last updated
A hub can be attached to one or more clusters. When a hub is attached to a cluster, gopaddle filters the Kubernetes resources and events in the cluster matching the selectors across all the runbooks within the hub. The filtered resources and events are then annotated with the runbook information.
To test the runbook functionality,
a) create a sample repository in your GitHub Account and initialize a .gp.yaml
file. Check the runbook hub section to learn more about initializing a repository as a Hub.
b) Register the source control account and make sure the Runbook Hub is discovered.
c) Deploy the below sample application such that we have a application that matches the selectors in the Runbook Hub.
In the left navigation panel, select Runbook Hubs.
Click on a Runbook Hub to view the Runbook Hub
Click on the attach icon under the Clusters section
In the popup choose the localhost cluster and select Attach
Navigate to the Clusters section in the left navigation panel and click on the cluster name to view the cluster
All the runbook hubs associated with the cluster can be viewed under the Runbook Hubs section.
Click on View -> Resources to list all the resources discovered under the cluster
Choose the List filtered resources with runbooks to view the resources tagged with runbooks. The demo pending Pod gets listed with a runbook icon.
Click on the runbook icon to view the runbook.