Red Sky Ops
Red Sky Ops
by Carbon Relay

Version 1.2.2

KUBERNETESKUBERNETES

Description

Red Sky Ops is an AIOps platform for deploying, scaling and managing containerized applications in Kubernetes environments. It makes it easy for DevOps teams to manage the millions of possible combinations of application variables and configuration settings you’re confronted with non-stop. With Red Sky Ops, you can automatically identify and implement the best configurations for each application in any cloud environment.

Red Sky Ops automatically handles this complexity to optimize application performance and lower infrastructure costs while dramatically cutting alert noise. With Red Sky Ops installed on your cluster, you can run experiments that patch cluster state and measure the outcome via one or more metrics. Although Red Sky Ops was developed to tune performance, it can run non-performance-related experiments on your application as well.

For users who want automatic generation and implementation of machine learning-powered suggestions for resource scheduling and configuration settings, Red Sky Ops hosted and Enterprise versions are available.

Software Included

Getting started after deploying Red Sky Ops

After you have downloaded your kube config file, and are able to successfully connect to your DigitalOcean Kubernetes cluster (see https://cloud.digitalocean.com/kubernetes/clusters/ if you haven’t connected to your cluster) you’ll be able to use the same configuration as kubectl (usually $HOME/.kube/config) to connect the Red Sky Ops Tool to your cluster.

Prerequisites

As well as your Red Sky Ops 1-Click App solution deployed on your Kubernetes cluster, a local install of Kustomize (v3.1.0+) is required to build the objects for your cluster.

Install the Red Sky Ops Tool

Download and install the redskyctl binary for your platform. You will need to rename the downloaded file and mark it as executable.

For more details, see the full installation guide.

Initialize the Red Sky Ops Manager

Once you have the Red Sky Ops Tool you can initialize the manager in your cluster:

$ redskyctl init

Create a Simple Experiment

Generally you will want to write your own experiments to run trials on your own applications. For the purposes of this guide we can use the simple example found in the k8s-experiment repository on GitHub:

$ kustomize build github.com/redskyops/k8s-experiment//examples/simple | kubectl apply -f -

Run a Trial

With your experiment created, you can be begin running trials by suggesting parameter assignments locally. Each trial will create one or more Kubernetes jobs and will conclude by collecting a small number of metric values indicative of the performance for the trial.

To interactively create a new trial for the example experiment, run:

$ redskyctl suggest --interactive simple

You will be prompted to enter a value for each parameter in the experiment and a new trial will be created. You can monitor the progress using kubectl:

$ kubectl get trials

When running interactive trials in a single namespace, be sure only trial is active at a time.

Removing the Experiment

To clean up the data from your experiment, simply delete the experiment. The delete will cascade to the associated trials and other Kubernetes objects:

$ kubectl delete experiment simple

Next Steps

Congratulations! You just ran your first experiment. You can move on to a more advanced tutorial or refer to our full Documentation for our full product overview, extended tutorials and further information.

API Creation

In addition to creating Red Sky Ops via the control panel, you can also use the DigitalOcean API.

As an example, to create a 3 node DigitalOcean Kubernetes cluster made up of Basic Droplets in the SFO2 region, you can use the following curl command. You’ll need to either save your API access token to an environment variable or substitute it into the command below.


  curl -X POST -H "Content-Type: application/json" \
      -H "Authorization: Bearer '$TOKEN'" -d \
      '{"name": "choose-a-name","region": "sfo2","version": "1.17.5-do.0","node_pools": [{"size": "s-1vcpu-2gb","count": 3,"name": "choose-a-name"}]}' \
      "https://api.digitalocean.com/v2/kubernetes/clusters"
      

Support Details

Hours:8am - 5 pm EST
Support URL:https://redskyops.dev/docs/
Support Email:support@carbonrelay.com

More DigitalOcean Links

DigitalOcean Community

Developers supporting developers

Ask a Question

Ask anything related to system administration, programming, devops, open source, or the DigitalOcean platform.

List your 1-Click App in the DigitalOcean Marketplace

Partner with us to build traction for your open source project or software company