Git Product home page Git Product logo

callisto's Introduction

Callisto

Callisto is an open-source Kubernetes-native implementation of Selenium Grid.

Architecture

Callisto architecture

Callisto architecture

Components

  • Nginx proxies requests for creating/deleting sessions to Callisto. All other requests are proxied to browser pods directly.
  • Callisto creates/deletes browser pods, watches the status of pods, and creates sessions via the webdriver.
  • Browser pods contain a webdriver and a browser.

Nginx and Callisto must be running inside a Kubernetes cluster in order to access browser pods directly.

Features

Requirements

  • Running Kubernetes cluster
  • kubectl and helm installed and pointing to the cluster

Installation

See helm chart to get started.

Configuration

Name Type Required Default Description
WEB_API_HOST str No 127.0.0.1 a host to run web api
WEB_API_PORT int No 8080 a port to run web api
LOG_LEVEL str No INFO log level
GRAYLOG_HOST str No Graylog host address. Logging to Graylog is disabled if left empty
GRAYLOG_PORT int No 12201 Graylog port
K8S_NAMESPACE str No default k8s namespace to spawn pods
POD_WEBDRIVER_PATH str No webdriver path location. On selenoid images /wd/hub for firefox, empty for others
POD_WEBDRIVER_PORT int No 4444 webdriver port
POD_MANIFEST str No /etc/callisto/pod_manifest.yaml Path to pod manifest file
SENTRY_DSN str No Sentry DSN. Sentry disabled if left empty

Resources requests/limits, browser image, screen resolution and other parameters can be configured via pod_manifest.yaml.

Troubleshooting

Each request is marked with a unique trace id (tid). This information is available in the logs. Also, for debugging, it is recommended to set the LOG_LEVEL to DEBUG.

callisto's People

Contributors

vpokotilov 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.