Giter Club home page Giter Club logo

app-operator's Introduction

GRPC Application Operator

A simple kubernetes operator to manage a simple grpc application created as part of simple-gRPC-app repository. Manages simple gRPC application using new CRD Application which enables the users to configure their services.

Application CRD Example

apiVersion: simpleapp.github.com/v1
kind: Application
metadata:
  labels:
    app.kubernetes.io/name: application
    app.kubernetes.io/instance: application-sample
    app.kubernetes.io/part-of: app-operator
    app.kubernetes.io/managed-by: kustomize
    app.kubernetes.io/created-by: app-operator
  name: grpc-app
spec:
  name: grpc-app
  services:
  - name: backend
    port: 9000
    type: "backend"
    numberofendpoints: 2
    image: ghcr.io/sachintiptur/backend
    version: latest
  - name: frontend
    port: 8080
    type: "frontend"
    numberofendpoints: 1
    image: ghcr.io/sachintiptur/frontend
    version: latest
  grpcserver: backend:9000

Build and deploy instructions

  1. Build docker image and push

make docker-build docker-push IMG=<image name and tag>

  1. Deploy to cluster
make install
make deploy IMG=ghcr.io/sachintiptur/grpc-app-operator:latest

app-operator's People

Contributors

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