GithubHelp home page GithubHelp logo

keygrav's Introduction

Application startup

  1. Clone repo: git clone https://github.com/setevoy2/keygrav.git
  2. Start minikube: minikube start
  3. Create deployment: kubectl create -f ci/keygrav.yml
  4. Start service: kubectl expose deployment keygrav --type=NodePort
  5. Check it with curl: curl $(minikube service keygrav --url)

Project description

All build files located in the ci directory:

Links

DockerHub repo: https://hub.docker.com/r/setevoy/keygrav/

Jenkins CI: http://keyjenkins.setevoy.org.ua/job/KeyGravPoC/ (In order to access Jenkin's host - please, provide me your IP (to add it to the Jenkin's EC2 security group rules) and use credentials from an email)

Questions

how you would handle data persistence of the grav container in the future.

If Grav have ability to use persistent storage (and it have, judging the [Docker-Grav image's documentation] (https://hub.docker.com/r/garywiz/docker-grav/)) - then an AWS EFS directory (from an AWS EBS volume) can be mounted to the Kubernetes cluster and then PersistentVolumes configured to attach it to the containers.

I also added few points related to the deployment in the kuberDeploy() function of the jenkins.groovy build script. But again - not sure how "elegant" they are, as this is my first Kubernetes experience.

I also described my build process in my blog, if no objections (in rus), it's available here>>>.

keygrav's People

Contributors

arsenyzinchenko avatar setevoy2 avatar

Watchers

James Cloos 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.