Giter Site home page Giter Site logo

frontend's Introduction

frontend

Frontend in Python demonstrates Komodor Integration with Github Changes

  • Ensure you are access to the appropriate docker runtime
  • You also need to access to a Repository Updates

Changes in Komodor

  • Make changes to the Source Code
  • Commit and Push the Changes to the Source code
  • Retrieve the Github Hash from the Commit
  • Update the Deployment Manifest with the Github Hash from the Commit
  • Build and Push the Deployment to a PUBLIC/Private Repository
  • docker buildx build --platform linux/amd64,linux/arm64 --push -t hughbrien/frontend:2.0.1 .
  • k apply -f frontend.yaml
  • Commit change to Frontend manifest yaml.
  • Update/Confirm your Deployment manifest has the correct Ropository Image reference

Build the Image and Push

export VERSION=2.0.1
docker buildx build --platform linux/amd64,linux/arm64 --push -t hughbrien/frontend:2.0.1 .

Deployment

kubectl apply -f ./frontend.yaml

From the Beginning Each Step.

So you run your service local. This is very python developer/specific

git clone https://github.com/hughbrien/frontend

Make changes to the app.py, Dockerfile, README.md

docker buildx build --platform linux/amd64,linux/arm64 --push -t hughbrien/frontend:2.0.1 .

kubectl apply -f frontend.yaml

Rollout

export VERSION=2.0.1
kubectl set image deployment/frontend frontend=frontend:2.0.1 -n frontend
kubectl rollout restart deployment/frontend 

View Changes in Komodor

Need a link to the Services

kuberctl get service -n frontend will return the PUBLIC IPADDRESS

frontend's People

Contributors

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