Giter Club home page Giter Club logo

doks-examples's Introduction

A repo of DigitalOcean Kubernetes examples with scripts for setup and testing.

Build Status

Usage

  • Install doctl and authenticate with your account using doctl auth init.
  • cd into the directory of an example and run script/up to spin up a cluster with the example stack, and script/down to delete the cluster and everything on it.
  • If you hit a problem, open an issue or PR the fix!
  • Note that associated DigitalOcean LBs and Volumes are not cleaned up by the scripts, you have to do that manually for now.

Prerequisites

Examples

  • Terraform - will provision a cluster using the DO Terraform provider, wait for everything to be running, and tear it down.
  • Network Policies - a specification of how groups of pods are allowed to communicate with each other and other network endpoints.
  • metrics-server - a cluster-wide aggregator of resource usage data.
  • prometheus - a systems and service monitoring system. It collects metrics from configured targets at given intervals, evaluates rule expressions, displays the results, and can trigger alerts if some condition is observed to be true.
  • loki - a horizontally-scalable, highly-available, multi-tenant log aggregation system inspired by Prometheus.
  • linkerd - a resilient service mesh for cloud native apps.
  • istio - an open platform for providing a uniform way to integrate microservices, manage traffic flow across microservices, enforce policies and aggregate telemetry data.
  • monitoring - combines prometheus, loki, and linkerd into a light-weight monitoring stack.
  • HPA - automatically scales the number of pods in a replication controller, deployment or replica set based on observed CPU utilization (or, with custom metrics support, on some other application-provided metrics).
  • VPA - will set the requests automatically based on usage and thus allow proper scheduling onto nodes so that appropriate resource amount is available for each pod.

Wishlist / TODO

  • Traefik ingress
  • Nginx ingress
  • Monitoring example scraping other clusters
  • Google / Github auth proxy
  • Game server
  • Big data / Spark / HDFS
  • Gitlab
  • OpenFaaS
  • Wordpress app
  • Load Balancer via Cloudflare + HAProxy/Traefik/Nginx
  • Kubeflow
  • Rancher
  • Rook
  • GlusterFS
  • KubeDB
  • Harbor

doks-examples's People

Contributors

snormore avatar

Watchers

 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.