Giter Site home page Giter Site logo

containers-k8s-workshop's Introduction

Containers & K8S Workshop

Docker, DC/OS and Swarm

Challenges

  1. Hello-World - hello world app on local machine.
  2. MyFirstApp - Dockerfile & docker build demos. - Reference https://docs.docker.com/get-started/part2/
  3. MyFirstApp-DockerHub - push MyFirstApp to DockerHub and pull the image back.
  4. Docker-Storage - MongoDB container with persistent storage.
  5. Docker-Compose - Wordpress with MySQL deployment. - Reference https://docs.docker.com/compose/wordpress/
  6. DC/OS - Deployment.
  7. Swarm - Deployment.
  8. ACI - Azure Container Instances demo.

Labs

docker101.md - Create MyFirstApp container and deploy to Azure Web App on Linux.

Kubernetes

Challenges

  1. Hello-World - deployment with versions. - https://kubernetes.io/docs/tasks/run-application/run-stateless-application-deployment/
  2. MyFirstApp - deployment
  3. Secrets-Configmaps - deploy pods with config maps
  4. Persistent-Storage - deploy Wordpress, MySQL with external storage - https://kubernetes.io/docs/tutorials/stateful-application/mysql-wordpress-persistent-volume/
  5. Helm - Deploy Joomla Helm chart
  6. DataDog Monitoring - Deploy datadog helm chart and montior the cluster.
  7. Jenkins - Install Jenkins helm chart
  8. Jenkins-Pipeline - Create StickerStore CI/CD Pipeline. Instructions
  9. Microservices - StickerStore Microservices application Instructions

Labs

  1. CaseStudy 1 - Auto scale an app
  2. CaseStudy 2 - Data, Using Event Hub Processing Host In K8s

Setup SSH port forwarding examples

If you are using Windows:

Install Putty or use any bash shell for Windows (if using a bash shell, follow the instructions for Linux or Mac).

Run this command:

putty.exe -ssh -i <path to private key file> -L 8080:localhost:8080 <User name>@<Public DNS name of instance you just created>

Or follow these manual steps:

  1. Launch Putty and navigate to 'Connection > SSH > Tunnels'
  2. In the Options controlling SSH port forwarding window, enter 8080 for Source port. Then enter 127.0.0.1:8080 for the Destination. Click Add.
  3. Repeat this process for port 8080.
  4. Navigate to 'Connection > SSH > Auth' and enter your private key file for authentication. For more information on using ssh keys with Putty, see here.
  5. Click Open to establish the connection.

If you are using Linux or Mac:

Run this command:

ssh -i <path to private key file> -L 8080:localhost:8080 <User name>@<Public DNS name of instance you just created>

containers-k8s-workshop's People

Contributors

brusmx avatar cauldnz avatar joalmeid avatar kennetham avatar lawrencegripper avatar pierreroman avatar sayar avatar smarker avatar techbunny avatar torosent avatar vflorusso avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

containers-k8s-workshop's Issues

docker101 file - doc improvements

On page 6, under "Run the app" section; the first docker run -p 4000:80 myfirstapp command creates a non-detached container. You should mention that you will need to exit the docker container (docker ps -a; docker rm container-id) before running the next docker run --rm --name myfirstapp -p 4000:80 --link some-redis:redis -d myfirstapp.

I'll keep editing this issue throughout the workshop.

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.