GithubHelp home page GithubHelp logo

k8s's Introduction

TrustBloc Deployment

The repo contains the scripts to deploy the core TrustBloc components.

Prerequisites

  • docker (running)
  • minikube [IMP: supported version: v1.24.0]
  • kubectl [supported version: v1.21]
  • GNU bash [minimum version: v5] (for macOS, refer macos setup)
  • GNU make
  • GNU sed

MacOS additional prerequisites

  • HyperKit installed
  • Install GNU sed and base64 utils: brew install gnu-sed coreutils bash
  • Create directory with symlinks to the used GNU tools
    # mkdir ~/gnu && cd ~/gnu && ln -fs $( which gsed ) sed && ln -fs $( which gbase64 ) base64
    
  • Always prepend the directory with GNU tools to the PATH when using this repo or add this to the bash profile, e.g.:
    # PATH=~/gnu:$PATH
    

Minikube installation

v.1.24.0

macOS
curl -LO https://github.com/kubernetes/minikube/releases/download/v1.24.0/minikube-darwin-amd64

sudo install minikube-darwin-amd64 /usr/local/bin/minikube
linux
curl -LO https://github.com/kubernetes/minikube/releases/download/v1.24.0/minikube-linux-amd64

sudo install minikube-linux-amd64 /usr/local/bin/minikube

Running

Re-create any existing minikube cluster and deploy all trustbloc services into the newly created cluster:

make setup-and-deploy

Deploy all components to the existing kubernetes cluster:

make

Deploy specific components to the existing kubernetes cluster:

make deploy-components COMPONENTS="component1 component2 component3"

Minikube cluster setup:

make minikube-setup

Minikube cluster re-create:

make minikube-reset

Kubernetes Dashboard

Open the dashboard in a browser:

minikube dashboard

Contributing

Thank you for your interest in contributing. Please see our community contribution guidelines for more information.

License

Apache License, Version 2.0 (Apache-2.0). See the LICENSE file.

k8s's People

Contributors

ahmedsajid avatar aholovko avatar alialkhalidi avatar birtony avatar bstasyszyn avatar fqutishat avatar project-administrator avatar rolsonquadras avatar soluchok avatar sudeshrshetty avatar talwinder50 avatar vkubiv 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.