An example that shows how to deploy Logs agents and Monitoring agent in a Kubernetes cluster to send Logs directly to IBM Cloud Logs and Cloud Monitoring instance respectively.
The example provisions the following resources:
- A new resource group, if an existing one is not passed in.
- A basic VPC (if
is_vpc_cluster
is true). - A Kubernetes cluster.
- A Service ID with
Sender
role tologs
service and an apikey. - An IBM Cloud Logs and Cloud Monitoring instance
- Logs agents and Monitoring agent