/opni

AIOps for Kubernetes

Primary LanguageGoApache License 2.0Apache-2.0

Opni = AIOps for Kubernetes + Observability Tools

Opni currently features log anomaly detection for Kubernetes.

What does Opni give me?
  • AI generated insights on your cluster's log messages
    • Control Plane & etcd insights
      • Pretrained models maintained by Rancher Labs
      • Only for RKE1, RKE2, k3s clusters
    • Workload & application insights
      • Automatically learns what steady-state is in your workloads & applications
      • For any Kubernetes cluster
  • Every log message sent to Opni will be marked as:
    • Normal
    • Suspicious - Operators may want to investigate
    • Anomalous - Operators definitely should investigate
  • Open Distro for Elasticsearch + Kibana
    • Opni dashboard to consume log insights & explore logs
    • Ability to setup & send alerts (slack/email/etc) based on Opni log insights

Try it out!

On a VM with 4 vCPUs & 16 GB RAM:

  1. Create a RKE2 cluster with Opni installed
    curl -sfL https://raw.githubusercontent.com/rancher/opni-docs/main/quickstart_files/install_opni.sh | sh -
    
  2. Copy the NodePort from the script output
    • View insights at [IPV4_ADDRESS]:[NODE_PORT]

To inject an error into the demo cluster press 'Enter' when prompted by the script. You can view this in the Opni Dashboard.


Watch a demo of Opni:


What's next?

  • v0.1.1 (released) allows you to view Opni's log anomaly insights only on a demo environment created on a VM
  • v0.1.2 (June 25, 2021) will allow you install Opni into your existing Kubernetes cluster and consume log insights from it
  • v0.2.0 (Fall 2021) will introduce AI applied to metrics, kubernetes events, audit logs, and more!

alt text


License

Copyright (c) 2014-2020 Rancher Labs, Inc.

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.