GithubHelp home page GithubHelp logo

isabella232 / platform-engineer-tech-eval Goto Github PK

View Code? Open in Web Editor NEW

This project forked from bonniernews/platform-engineer-tech-eval

0.0 0.0 0.0 909 KB

To be used in technical evaluations for Platform enigneers

License: Apache License 2.0

Go 84.73% Dockerfile 15.27%

platform-engineer-tech-eval's Introduction

From code to Openshift

Prereq's

A computer with Minishift, git & oc installed

Tasks

  1. Build a docker container from the Dockerfile, run the container, make a curl request (expose ports).

  2. Save the image to a tar.gz (docker export <container> -o example.tar.gz)

  3. Start minishift, create a new project named: example

  4. Import the saved docker image from step 3) above docker import example.tar.gz $(minishift openshift registry)/example/example:latest. (eval $(minishift docker-env)

  5. Push the Docker image from step 4 as example:latest to the example namespace. (eval $(minishift docker-env) && docker login -u developer -p $(oc whoami -t) $(minishift openshift registry))

  6. Apply the deployment.yaml file into the example project.

  7. Run curl against the route from your desktop

  8. Run hey from a shell in the pod running in minishift

platform-engineer-tech-eval's People

Contributors

davidallansson avatar cldmnky 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.