Giter VIP home page Giter VIP logo

scripts-tap's Introduction

TAP 1.4

This document describes how to install TAP 1.4 and how to deploy a simple back-end application (Java / Spring boot application) and a simple web application (React) with the Basic supply chain from Tanzu Application Platform (TAP 1.4).

Clone the GitHub repository:

https://github.com/omocquais-p/scripts-tap

Update the credentials in the env.yaml file

installRegistry: Tanzu Network account
registry: Google Artifact Registry credentials

Install yq

https://github.com/mikefarah/yq

Create a tanzu folder

TANZU_HOME_DIRECTORY=$HOME/tanzu

Download the Tanzu CLI file into the folder

$TANZU_HOME_DIRECTORY/archives/1.4.0/tanzu-framework-darwin-amd64-v0.25.4.2.tar

Download the tanzu-cluster-essentials file into the folder

$TANZU_HOME_DIRECTORY/archives/essentials/1.4.0/tanzu-cluster-essentials-darwin-amd64-1.4.0.tgz

Create a tap-values.yaml from the tap-values/tap-values.yaml

$TANZU_HOME_DIRECTORY/tap-values/1.4.0/tap-values.yaml

Tanzu CLI Installation

./Stage1-cleanInstallTanzuCLI.sh

Install Cluster Essentials

./Stage2-installClusterEssentials.sh

Install TAP

./Stage3-installTAP.sh

You can check the installation by running this command:

./helpers/checkTAPInstallation.sh

Create the Developer Namespace (Back-End)

./Stage4-DeveloperNamespace.sh demo-tap-be

Deploy the workload (Back-End)

./Stage5-Deploy-Workload.sh api demo-tap-be master https://github.com/omocquais-p/demo-tap-be

Get external IP address (envoy)

kubectl get service envoy -n tanzu-system-ingress
NAME    TYPE           CLUSTER-IP     EXTERNAL-IP    PORT(S)                      AGE
envoy   LoadBalancer   10.48.14.176   xx.xx.xx.xx   80:32385/TCP,443:32226/TCP   2d21h

Update /etc/hosts with the external IP address (envoy)

xx.xx.xx.xx tap-gui.gke.tap.io api.demo-tap-be.gke.tap.io

Create the Developer Namespace (Front-End)

./Stage4-DeveloperNamespace.sh demo-tap-fe

Get the API endpoint and update the Stage6-Deploy-Workload-frontend.sh script

Deploy the workload (Front-End)

./Stage6-Deploy-Workload-frontend.sh web demo-tap-fe master https://github.com/omocquais-p/demo-tap-fe

Update /etc/hosts

xx.xx.xx.xx tap-gui.gke.tap.io api.demo-tap-be.gke.tap.io web.demo-tap-fe.gke.tap.io

scripts-tap's People

Contributors

omocquais-p avatar

Watchers

 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.