GithubHelp home page GithubHelp logo

gcp-kube-tests's Introduction

gcp-kube-tests

This is a description of the scripts in the directory. Before running you can export several variables which will make this go much faster.

Log into Datadog and get your API-KEY

export APIKEY=<your Datadog instance API KEY>

Log into GCP and create a project or lookup an exiting project name or use "gcloud projects list" to get a list of projects

export PROJECT=<Project name in GCP>

Set a cluster name

export CLUSTERNAME=<name of your kube cluster in gcp>

Now that you have done this run the fisrt script

./Kube-create.sh

This will create the Kube cluster in GCP

Next Run the Datadog install script

./DD-install-kube.sh

This will install the the kube state metrics and rbac configuration for the Datadog Daemonset. As well as creates a secret for the API key. Then is deploys the Daemonset.

Now show that the Daemonset is up and running using:

kubectl get pods

There should be 3 pods for Datadog running.

Now deploy the APP's.

./APP-create.sh

This will deploy a springboot app with a postgres backend.

Once that is complete run the app test script it will give you the details to ssh and generate application traces. Also make sure you have watch installed on your computer before running this script.

./app-test-script.sh

gcp-kube-tests's People

Contributors

bluey64 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.