Git Product home page Git Product logo

spot-oceancd-releases's Introduction

Spot Ocean CD (private preview)

Ocean CD makes Kubernetes an afterthought for application teams. Commit code and Ocean CD takes care of operations, automation and monitoring to ensure SLOs and production health.

https://spot.io/products/ocean-cd

Table of Contents

Installation

Prerequisites:

  • Kubernetes cluster up and running
  • Workstation with the Kubernetes cluster context and kubectl installed
  • A Spot API token

Note: Please contact Ocean CD team to get a private preview access, for installing Ocean CD controller and for full documentation.

After installing the Ocean CD controller in your cluster, you will create the following Ocean CD entities:

  • Environment
  • Microservice
  • Notification Provider
  • Rollout Spec

Quick Start

For quick start you can use oceancd_baker script to create a basic configuration. (That you can easily modified later via API)

Use any 'Example' deployment YAML (which is installed in your connected cluster) to get a quick overview of Ocean CD capabilities.

Run the following commands on your local machine:

chmod +x oceancd_baker.py

./oceancd_baker.py -h
usage: oceancd_baker [-h] -t TOKEN -e ENVIRONMENT_NAME -c CLUSTER_ID -m MICROSERVICE_NAME -l [LABELS [LABELS ...]] [-n NOTIFICATION_PROVIDER] [-w WEBHOOK]

oceancd_baker

optional arguments:
  -h, --help            show this help message and exit
  -t TOKEN, --token TOKEN
                        Api token to spot api
  -e ENVIRONMENT_NAME, --environment_name ENVIRONMENT_NAME
                        Environment name
  -c CLUSTER_ID, --cluster_id CLUSTER_ID
                        Cluster id for environment
  -m MICROSERVICE_NAME, --microservice_name MICROSERVICE_NAME
                        Microservice name
  -l [LABELS [LABELS ...]], --labels [LABELS [LABELS ...]]
                        Set of k8s labels that are exisitng on the wanted workload
  -n NOTIFICATION_PROVIDER, --notification_provider NOTIFICATION_PROVIDER
                        The name identifier of the Ocean CD notification provider
  -w WEBHOOK, --webhook WEBHOOK
                        Webhook url

 example:
    ./oceancd_baker.py -t 1234 -e test-environment -c test-cluster -m test-microservice -l app=test -n test-notification -w https://webhook.site

Expected outcome:

  • Confirmation has been received, Ocean CD entities has been created.
  • You can now run your 'Example' deployment (make sure to do some changes in the spec template to demonstrate the update), and see Ocean CD in action!

You can use the getting started script to create more rollout objects, or go to Spot API documentation and use your favorite API tool.

spot-oceancd-releases's People

Contributors

juliamulkospot avatar dleinov avatar ohadmuch avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.