Code Monkey home page Code Monkey logo

kube-microcosm's Introduction

--

kube-microcosm

A cluster that represents how a small start-up might be successful using a single Kubernetes cluster.

This is an opinionated illustration of a Kubernetes cluster and out-of-the-box applications.

Showcase

Showcasing the following projects within this cluster...

NAME             	NAMESPACE      	REVISION	UPDATED                             	STATUS  	CHART                       	APP VERSION
argo             	argocd         	1       	2021-04-07 12:25:40.144062 +0100 BST	deployed	argo-cd-2.17.5              	1.8.4
cert-manager     	cert-manager   	1       	2021-04-07 12:22:57.96906 +0100 BST 	deployed	cert-manager-v1.0.2         	v1.0.2
falco            	kube-system    	1       	2021-04-07 13:45:35.358244 +0100 BST	deployed	falco-1.7.10                	0.27.0
gatekeeper       	default        	1       	2021-04-07 12:25:56.549697 +0100 BST	deployed	gatekeeper-3.3.0            	v3.3.0
jaeger           	monitoring     	1       	2021-04-07 12:22:01.505929 +0100 BST	deployed	jaeger-operator-2.19.1      	1.21.2
k8ssandra-cluster	cassandra      	1       	2021-04-07 12:22:23.006849 +0100 BST	deployed	k8ssandra-1.0.0
linkerd2         	default        	1       	2021-04-07 12:10:30.58336 +0100 BST 	deployed	linkerd2-2.10.0             	stable-2.10.0
longhorn         	longhorn-system	1       	2021-04-07 12:22:09.504869 +0100 BST	deployed	longhorn-1.1.0              	v1.1.0
nginx            	ingress-nginx  	1       	2021-04-07 12:23:04.762961 +0100 BST	deployed	ingress-nginx-3.3.0         	0.35.0
prom             	monitoring     	1       	2021-04-07 12:21:26.83435 +0100 BST 	deployed	kube-prometheus-stack-14.5.0	0.46.0
sidekick         	kube-system    	1       	2021-04-07 13:45:26.954836 +0100 BST	deployed	falcosidekick-0.2.9         	2.21.0

Requirements

  • step
  • helm
  • kubectl

Installation

  1. Ensure an existing Kubernetes cluster config is active. I like using civo.
civo kubernetes create interesting-times-gang -n3 --wait --remove-applications=traefik -s g3.k3s.large tycho --region NYC1
civo kubernetes config interesting-times-gang -s
  1. Run the following ( With your variables):
// Example Slack webhook within a Slack App
SLACK_FALCO_WEBHOOK_URL="<YOUR SLACK WEBHOOK>" \
make install

or without...

make install

kube-microcosm's People

Contributors

alexsjones avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

kube-microcosm's Issues

prom-config.yaml is missing

The make install fails indicating that the file resource/prometheus/prom-config.yaml is missing.

The build itself went well after changing:

d=date -v+8760H +"%Y-%m-%dT%H:%M:%SZ"

to

d=date -d '+8760 hour' +"%Y-%m-%dT%H:%M:%SZ"

for Ubuntu

The last lines of output below:
kubectl create ns argocd || true
namespace/argocd created
kubectl create ns monitoring || true
namespace/monitoring created
kubectl create ns cert-manager || true
namespace/cert-manager created
kubectl create ns ingress-nginx || true
namespace/ingress-nginx created
kubectl create ns longhorn-system || true
namespace/longhorn-system created
kubectl create ns tracing || true
namespace/tracing created
kubectl create ns cassandra || true
namespace/cassandra created
kubectl create ns apps || true
namespace/apps created
kubectl annotate ns argocd linkerd.io/inject=enabled --overwrite
namespace/argocd annotated
kubectl annotate ns cert-manager linkerd.io/inject=enabled --overwrite
namespace/cert-manager annotated
kubectl annotate ns apps linkerd.io/inject=enabled --overwrite
namespace/apps annotated
sed 's,SLACK_URL,"https://hooks.slack.com/services/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W",g' resources/prometheus/prom-config.yaml > prom-config-0.yaml
sed: can't read resources/prometheus/prom-config.yaml: No such file or directory
Makefile:64: recipe for target 'prometheus-observability-install' failed

(Really nice project thank-you Alex)

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.