Coder Social home page Coder Social logo

task-marker-deployment's Introduction

task-marker-deployment

Kubernetes deployment configuration for task marker app

Argocd set up

Create a namespace for argocd

kubectl create namespace argocd

Deploy argocd k8s resource

kubectl apply -n argocd -f https://raw.githubusercontent.com/argoproj/argo-cd/stable/manifests/install.yaml

To see what was created, run

kubectl get all -n argocd

To enable access to the argocd server, we'll change the service type to NodePort. The argocd-server.yaml file contain the template to edit the argocd-server resource which was created as ClusterIP by default.

kubectl apply -f argocd-server.yaml

View the server service

kubectl get service -n argocd

The server can be access with a node ip address over http on port 30007 and https on port 30008

Login to the argocd UI

To get the password to login to argocd UI, execute the comman below

kubectl -n argocd get secret argocd-initial-admin-secret -o jsonpath="{.data.password}" | base64 -d

Note: Default username is admin

Create the backend application

To deploy backend application execute the command below

kubectl create -f argocd-applications/frontend-app.yaml

Create the frontend application

To deploy the frontend application execute the command below

kubectl create -f argocd-applications/frontend-app.yaml

Configure argocd image updater

Deploy the argocd image updater resources

kubectl apply -n argocd -f https://raw.githubusercontent.com/argoproj-labs/argocd-image-updater/v0.9.0/manifests/install.yaml

task-marker-deployment's People

Contributors

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