Git Product home page Git Product logo

platform-demo's Introduction

Local Internal Developer Platform using Kratix

This sets up a local Kubernetes cluster using KinD (Kubernetes in Docker) and installs ArgoCD and uses it to sync the following applications onto the cluster:

Core Services:

  • argocd - deployment tool
  • cert-manager - certificates
  • ingress-nginx - ingress reverse proxy
  • kratix-platform
    • gitea
      • metallb - for exposing git server to
  • kratix worker examples

Applications:

  • emojivoto sample application
  • sample application that requests Kratix promises

The goal is to have a Platform and a Worker Kubernetes cluster running and the source of truth being this GitHub repository. Kratix will be used as a platform to deploy custom resources onto the worker cluster.

This is based on the Kratix Quickstart tutorial.

Getting Started

  • Make sure you have KinD installed:

    brew install kind
  • Create the KinD clusters from the config:

    kind create cluster --config ./kind/cluster-platform.yaml
    kind create cluster --config ./kind/cluster-worker.yaml
  • Install ArgoCD using kustomize so it can fetch all the other applications (Run it twice because CRDs are installed the first time)

    kubectl --context kind-platform apply -k ./gitops-repo/argocd/platform
    kubectl --context kind-platform apply -k ./gitops-repo/argocd/platform
    kubectl --context kind-worker apply -k ./gitops-repo/argocd/worker
    kubectl --context kind-worker apply -k ./gitops-repo/argocd/worker
  • You can observe the Kratix Platform commiting to the local Git Server by opening the URL: https://0.0.0.0:8333/

    Login with the credentials here: https://github.com/syntasso/kratix/blob/e40901e658772057c0c4d6526cbe58cd8951e91a/hack/platform/gitea-install.yaml#L846-L849

platform-demo's People

Contributors

kzap avatar

Watchers

James Cloos 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.