Odin
  • Introduction
  • Why Odin?
  • Key Concepts
    • Environment
      • Environment Type
    • Provisioning
      • Provisioning Config for Component Types
    • Component
      • Available Component Types
      • Component Type reference
        • Optimus Components
          • Aerospike [6.3.0.7-1.0.0]
    • Service
      • Know Your Service Definition
    • Versioning
      • Clearing the Confusion: A Simplified Guide to Artifact, Component, and Service Versions
    • Service Sets
    • Labels
  • Reference
    • CLI reference
  • Onboard Your Service
    • Installation
    • Configure
    • Odin -h
    • Getting Started
    • Create Environment
      • Operations on Environment
    • Service Definition
    • Provisioning Config
    • Deploy Service
    • Release Service
    • Optimus Datastore Operations
      • How to use Optimus Datastore in my service?
      • RDS Operations
      • Aerospike Operations
      • Kafka Operations
    • Operating Service & Components
      • Redeploy
        • In Place Deployment
        • Blue Green Deployment
      • Rolling Restart
      • Adding & removing components
      • Revert a deployment for application component
      • Downscaling a Passive Stack
      • Updating the no. of stacks of application component
    • Dev <> QA iteration
    • Frequently Asked Questions
    • Deploy Concrete Service
    • Undeploy Service
    • Delete Environment
    • Appendix
  • How To
    • Define error threshold for canary deployment
    • Add or Remove a component in an already deployed service
    • Integrate mono-repo(cronjobs) with Odin
    • Deploy crontab with Odin
    • Integrate Data pipeline with Odin
    • Push logs to log central
    • Build artifacts for multi module applications
    • Load test with Odin
    • Track Deployments against Commit Ids
    • Deploy Service on Production - Dream11
    • How and when images are created
    • Check logs for deployed infrastructure - Dream11
    • Onboard Stepfunction as a component
    • Onboard Serverless as a component
    • Login to Kubernetes clusters
  • Release Notes
    • 1.2.0-beta.2 - 11 August, 2022
    • Odin October Release
    • Odin 1.2.0 - Nov 9th 2022
    • Odin February Release
Powered by GitBook
On this page
  • Definition
  • ENV Variables
  • Pre Packaged tools
Export as PDF
  1. Key Concepts

Environment

PreviousWhy Odin?NextEnvironment Type

Last updated 3 days ago

Definition

An environment is an isolated and ephemeral execution space in which applications can be deployed. The concept of environments applies in containerised target environments like Kubernetes and in traditional cloud hosting targets like AWS, Google Cloud and Azure, etc.

Target describes the execution space where application resources are to be provisioned. One target describes one Kubernetes cluster and namespace, it can also describe a region or VPC for cloud providers.

Explore API reference for more details

ENV Variables

Odin exposes various environment variables that can be used for various scripts you may need. These variables are Dream11 specific and depend on the base images used to deploy.

  • TEAM_SUFFIX

  • VPC_SUFFIX

  • APP_DIR: Absolute path where application code is present

  • ENV

  • NAMESPACE: config store namespace

  • SERVICE_NAME: artifact name

  • VAULT_TOKEN

  • CONSUL_TOKEN

  • DEPLOYMENT_TYPE: deployment_type specified in provisioning config

Pre Packaged tools

For Dream11 envconsul is available in the environment

envconsul :

here
https://github.com/dream11/config-retriever