GithubHelp home page GithubHelp logo

isabella232 / eaa-k8s-connector Goto Github PK

View Code? Open in Web Editor NEW

This project forked from akamai/eaa-k8s-connector

0.0 0.0 0.0 25 KB

Running EAA Connector inside Kubernetes

Shell 2.14% Python 93.46% Dockerfile 4.39%

eaa-k8s-connector's Introduction

EAA Kubernetes Connector

This repo holds all required stuff to run an Enterprise Application Access Connector wihtin kubernetes.

TR;DR

Fully automated setup a "long lived" EAA Conenctor (statefulSet) within k8s

Requirements

  • The EAA-k8s-connector requires a DinD container which needs to run with the "privileged" attribute
  • Persistent Volumes (that can be bound to any of your worker nodes)
  • A working .edgerc file prepared for EAA {OPEN}API
  • Kubernetes API access (+ kubectl) to create secrets and deployments/statefulsets

ENV VARS

Variable Default Description
EDGERC_SECTION default The EdgeRC Section to use

How to

helm deployment

continue reading here

manual deployment

  • Create a namespace for the connector

    kubectl create namespace <your_namespace>
    
  • Upload your .edgerc file to k8s
    Ensure that the credentials are specifically (only) set for EAA.

    kubectl create secret generic akamai-edgerc -n <your_namespace> --from-file=edgerc=/home/username/.edgerc
  • Deploy your workload to k8s
    The following command will start one EAA connector (name=podname)

    kubectl apply -n <your_namespace> -f examples/StatefulSet.yml
    

Known issues

  • "privilegted" flag required for the DinD (Docker in Docker) container
  • EAA .edgerc file needs to be provided as secret
  • Connector name = pod name

eaa-k8s-connector's People

Contributors

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