Coder Social home page Coder Social logo

linkerd-opa's Introduction

Enforcing Automatic mTLS with Linkerd and OPA Gatekeeper

This repository contains the demo scripts used in the Enforcing Automatic mTLS with Linkerd and OPA Gatekeeper session at KubeCon NA 2019.

Linkerd is an ultralight service mesh for Kubernetes. OPA Gatekeeper is a customizable Kubernetes admission webhook that helps enforce policies and strengthen governance. This demo shows how you can use them to enable automatic mTLS between your K8s services, and define and enforce policies to ensure security compliance.

Resources:

Prerequisites

The demo script is tested with the following software:

  • Minikube v1.3.1
  • Linkerd edge-19.10.5
  • Gatekeeper v3.0.4-beta.2
  • ksniff v1.3.1
  • tcpdump v4.9.2
  • wireshark 2.6.10

Getting Started

Follow the instruction in the Linkerd documentation to obtain the Linkerd CLI.

To run the demo script,

./demo.sh

This demo consists of 2 parts:

  1. Part 1 - use Linkerd mTLS to secure traffic between the micro services of the emoji application
  2. Part 2 - use Gatekeeper to define and enforce mTLS policies among the live services

To remove all the demo artifacts from your k8s cluster,

./cleanup.sh

Useful Links

linkerd-opa's People

Contributors

ihcsim avatar ritazh avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

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