opni

command module
v0.1.2-rc3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 25, 2021 License: Apache-2.0 Imports: 16 Imported by: 0

README

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.

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
apis
demo/v1alpha1
Package v1alpha1 contains API Schema definitions for the demo v1alpha1 API group +kubebuilder:object:generate=true +groupName=demo.opni.io
Package v1alpha1 contains API Schema definitions for the demo v1alpha1 API group +kubebuilder:object:generate=true +groupName=demo.opni.io
v1beta1
Package v1beta1 contains API Schema definitions for the opni.io v1beta1 API group +kubebuilder:object:generate=true +groupName=opni.io
Package v1beta1 contains API Schema definitions for the opni.io v1beta1 API group +kubebuilder:object:generate=true +groupName=opni.io
cmd
dagger module
images
infra module
pkg
opnictl
Package opnictl contains the root of the Opnictl command tree.
Package opnictl contains the root of the Opnictl command tree.
opnictl/commands
Package commands contains the opnictl sub-commands.
Package commands contains the opnictl sub-commands.
opnictl/common
Package common contains utilities shared between the opnictl commands and the CLI logic that is not tied to any specific command.
Package common contains utilities shared between the opnictl commands and the CLI logic that is not tied to any specific command.
providers
Package providers provides methods to detect different Kubernetes distros.
Package providers provides methods to detect different Kubernetes distros.
util/opnictl
Package opnictl contains various utility and helper functions that are used by the Opnictl CLI.
Package opnictl contains various utility and helper functions that are used by the Opnictl CLI.
Package staging provides a manifest of Kubernetes YAML resources needed to deploy the Opni Manager.
Package staging provides a manifest of Kubernetes YAML resources needed to deploy the Opni Manager.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL