GithubHelp home page GithubHelp logo

redmine-cluster's Introduction

Steps to get started:

We assume that the minikube installation is done, and you have a healthy system.

First create the LoadBalancer: minikube kubectl -- apply -f load-balancer.yaml

Verify the creation of the service: minikube kubectl -- get svc

Create the database-service: minikube kubectl -- apply -f database-service.yaml

Verify the creation of the service: minikube kubectl -- get svc

You should now see both the myreds and the postgres-service services listed.

Create the statefulest for the database: minikube kubectl -- apply -f database.yaml

Verify both the statefulset and the pod: minikube kubectl -- get sts minikube kubectl -- get pod

Create the directory on the minikube host for the persistent volume: ssh into the minikube VM: minikube ssh

Create the directory: mkdir /tmp/hostpath-provisioner/default/redmine-files/

After this we can leave the minikube VM: exit

Now we can create the persistent volume and the volume claim: minikube kubectl -- apply -f redmine-files.yaml

Verify that both created, and the status for both is "Bound": minikube kubectl -- get pv minikube kubectl -- get pvc

Create the redmine-service: minikube kubectl -- apply -f redmine-service.yaml

Check if the service is created and healthy: minikube kubectl -- get svc

Create the redmine statefulset: minikube kubectl -- apply -f redmine.yaml

Check both the statefulset, and the pods: minikube kubectl -- get sts minikube kubectl -- get pod

Create the dashboard-service: minikube kubectl -- apply -f dashboard-service.yaml

Check if the service is created and healthy: minikube kubectl -- get svc

Create the dashboard deployment: minikube kubectl -- apply -f dashboard.yaml

Check both the statefulset, and the pods: minikube kubectl -- get deploy minikube kubectl -- get pod

If all the above operations succeeded, and every service, statefulset, volume claim and pod is active and healthy, our MyReds application is ready to server!

The access the loadbalancer, you need to expose it to the host system that runs minikube: minikube tunnel

After this start a browser on the host system: navigate to http:\\localhost, should open the redmine GUI navigate to http:\\localhost:81, should open the dashboard, which shows all Issues of the redmine system

To remove something: minikube kubectl -- delete --cascade='foreground' -f <yaml-file.yaml>

redmine-cluster's People

Contributors

tcsabina avatar

Watchers

 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.