• Buy Now
    • Rackspace Cloud
    • Email & Apps
    • Fanatical Support for AWS
    • Managed Google Cloud Platform
    • Office 365
  • Log In
    • MyRackspace Portal
    • Cloud Control Panel
    • Rackspace Webmail Login
    • Cloud Office Control Panel
  • Rackspace Logo
  • Developer Home
  • Developer Documentation
  • Blogs ▼
    • Technical Blog
    • Rackspace Blog
  • Support Documentation

Developer Docs


Let’s Build Something Powerful Together!

Submit an issue
  • Rackspace KaaS
  • Release Notes
    • Preface
    • Known issues
    • What's new in 1.5.0
    • What's new in 1.4.0
    • What's new in 1.3.0
    • What's new in 1.2.0
    • What's new in 1.1.1
    • What's new in 1.1.0
    • What's new in 1.0.x
      • General changes and improvements
      • Kubernetes
      • Rackspace KaaS Control Panel
      • Private Docker image registry
      • Monitoring
      • Logging
      • Networking
      • Storage
    • List of components and versions
    • Document history and additional information
    • Disclaimer
  • Technical FAQ
  • User Guide
    • Preface
    • Overview
      • KaaS Control Panel
        • Authentication
        • Authorization
        • Cluster Selection
        • Navigation
          • Cluster Overview
          • Pod Security Policies
          • Namespaces
          • Tokens
      • Managed services
      • Ingress controller
        • Authentication and authorization
      • Cluster roles
      • Disaster recovery
      • High availability
      • Resource limits
      • Monitoring
    • Prerequisites
      • Access your Kubernetes cluster
    • Configure your environment
      • Install the Kubernetes certificate authority
      • Configure application metrics monitoring
      • Access the Rackspace KaaS dashboards
        • Perform OpenStack operations from your local machine
    • Configure Kubernetes users
      • Create an OpenStack role
      • Configure AD groups
      • Create a user and assign the role
      • Create a namespace in Kubernetes
      • Create a Kubernetes role and map it to an OpenStack role
      • Create a Kubernetes role binding by using kubectl
    • Example of basic operations
      • Launch a new Deployment
      • Expose your Deployment with a LoadBalancer
      • Access your Deployment
      • Add persistent storage to your Deployment
        • Using local storage
      • Scale replicas for your Deployment
      • Clean up the Deployment
    • Set up your cluster to use a private Docker image registry
      • Add users to a Harbor project
        • Examples of usage
      • Example of private Docker registry usage
      • Example of the library project usage
    • Managed DNS records for Kubernetes services
      • Example
      • Troubleshooting
    • Logging and monitoring
      • Logging
        • Using Kibana
      • Monitoring
        • Using Grafana
      • Monitor Kubernetes applications
        • Example: Deploy a MySQL database with Prometheus monitoring
        • Troubleshooting
    • Networking
      • Network traffic flow
    • Platform security
      • Limitations
      • Configure network policies
        • Example of a restrictive network policy
      • Configure Pod security policies
    • Document history and additional information
    • Disclaimer

Monitoring#

While logging is important, the information provided in logs is incomplete without monitoring data. The Rackspace KaaS monitoring solution is based on the popular Prometheus and Grafana bundle. Prometheus is a powerful monitoring and alerting tool for distributed systems that assists cloud administrators in watching the health of not only the Kubernetes nodes but the workloads that run on the Kubernetes cluster as well. Data visualization powered by Grafana provides insights into the cluster health through a web-based graphical user interface.

Rackspace KaaS deploys two instances of Prometheus in each Kubernetes cluster. One instance is for Kubernetes applications monitoring and is for Rackspace customers. The other instance monitors the Kubernetes cluster itself and is for Rackspace operators. Customers can view the Prometheus internal dashboard but cannot modify any existing settings or add new settings. Both internal and customer-facing Prometheus instances are preconfigured as data resources in Grafana.

Because Prometheus' primary focus is operational monitoring, KaaS stores only the recent Prometheus log history. For optimal storage use, the default retention period for Prometheus logs and data is set to three days. However, if you need to store Prometheus data for an extended period of time, the retention policy can be adjusted. To increase data retention period, contact your Rackspace representative or submit a support ticket.

Using Grafana#

Rackspace KaaS provides preconfigured dashboards for the cluster resource monitoring including resource utilization analytics for Pods, Deployments, Kubernetes nodes, etcd nodes, as well as other useful information that might help you with cluster capacity planning.

When you create a new Pod in your Kubernetes cluster, Grafana automatically adds it to the preconfigured Pods monitoring dashboard. Therefore, you can monitor Pod resource utilization through the Pod dashboard. If you need to set up additional metrics to track the health of your Kubernetes applications, you can do so by creating or importing custom Grafana dashboards and using them with the customer-facing Prometheus instance.

To use Grafana, complete the following steps:

  1. Log in to the Grafana UI by using the URL and credentials provided in Access the Rackspace KaaS dashboards.

  2. Click Home.

  3. Select a dashboard to display. For example, Pods.

    X

    You can select a namespace and Pod to display.

For more information about using Grafana and Prometheus, see Grafana documentation and Prometheus documentation.

Previous Logging
Next Monitor Kubernetes applications
Docs
  • Style Guide for Technical Content
  • Cloud Backup
  • Cloud Block Storage
  • Cloud Databases
  • Cloud DNS
  • Cloud Files
  • Identity
  • Cloud Images
  • Cloud Load Balancers
  • Cloud Monitoring
  • Cloud Orchestration
  • Cloud Networks
  • Cloud Queues
  • Cloud Servers
  • Rackspace Auto Scale
  • Rackspace CDN
Sdks
  • Go
  • Java
  • .Net
  • Node
  • PHP
  • Python
  • Ruby
Partner Tools
  • Airbrake
  • Mailgun
  • ObjectRocket
  • RedisToGo
Blog
  • Technical Blog
  • Rackspace Blog
©2019 Rackspace US, Inc.
  • ©2019 Rackspace US, Inc.
  • About Rackspace
  • Investors
  • Careers
  • Privacy Statement
  • Website Terms
  • Trademarks