Coder Social home page Coder Social logo

day-jeff / fabrikate-sample-app Goto Github PK

View Code? Open in Web Editor NEW

This project forked from andrebriggs/fabrikate-sample-app

0.0 1.0 0.0 72 KB

The repo contains Fabrikate definitions for a boilerplate Cloud Native stack and Helm charts for a demo application called Project Jackson.

Smarty 100.00%

fabrikate-sample-app's Introduction

sample app

This repository is a high level deployment defintion for Kubernetes. The repo contains Fabrikate defintions for a boilerplate Cloud Native stack and Helm charts for a demo application called Project Jackson.

Features

  • Istio based canary deployment configuration of the Project Jackson API microservice
  • Multicluster support

How to adjust the canary deployment traffic wights with Fabrikate

  1. Download version 0.3.0 or greater of Fabrikate
  2. From the root of this repository run the following command

fab set --subcomponent services.project-jackson.jackson-api service.canaryWeight=15

How to adjust the canary deployment traffic weights manually

  1. Navigate to the common.yaml file.
  2. Modifiy the stableWeight and canaryWeight values. (Below sure they total to 100)
config:
  service:
      name: jackson-api
      port: 8080
      labelName: jackson
      canaryWeight: 10
      stableWeight: 90
  appName: spring-boot-api
  enableVirtualService: true
  enableDestinationRule: true

How to use TLS with Istio Ingress

  1. See Istio TLS Documentation to generate ingress certificate secrets, and deploy them to your cluster.

  2. Uncomment the TLS configuration (lines 15-27).

How to generate manifest YAML with Fabrikate on this repository

  1. Run Fabrikate at the root level of this repository
    1. fab install .
    2. fab generate $ENV_CONFIG_NAME

Example of manifested YAML

This repository is linked to a manifest repository that has the output YAML

Deploying to Cluster

Make sure to apply jackson-secrets to your cluster.

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.