Git Product home page Git Product logo

fyycops_devops_assignment's Introduction

devops-assignments

This repository contains an example spring boot application which needs to be built and deployed to a kubernetes cluster.

Repository structure

The repository contains three folders in its root:

  • application: the spring boot application
  • assignments: contains assignments for you to solve
  • kubernetes: contains python scripts to deploy and destroy a kubernetes cluster in digitalocean.

Attention: You do not have to spin up a kubernetes cluster. We already have one setup for you - see the Get your kubeconfig file

Preparation

Setup accounts

You need the following accounts for the assignments.

  • github account: To fork this repository
  • dockerhub account: To build and push the docker image of the demo application

Install software

You need the following software installed on your machine to complete the assignments.

  • docker: You need docker installed and running to build the application.
  • kubectl: You need kubectl installed to access the kubernetes cluster and deploy the application.
  • make: The application can be built with a makefile (optional, you can also use mvn directly).

Get your kubeconfig file

We prepared a kubernetes cluster for the assignment.

Please send us your public gpg key to. We will use the gpg key to encrypt the kubeconfig and send it to you.

Fork the repository

Create a fork of this repository.

You can commit your code and notes into your fork - this makes sharing your results easy and convenient.

Update settings.xml (in your fork!)

The settings.xml file is used by maven to configure the dockerhub credentials and the image name and tag.

Copy the file application/.m2/settings.xml.example to application/.m2/settings.xml and fill in your dockerhub information.

Assignments

With the git repository forked, the settings.xml ready and the kubeconfig in place you can start working on the assignments.

We tried to order the assignments by their complexity. Have a look at the assignments folder.

fyycops_devops_assignment's People

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.