Coder Social home page Coder Social logo

java-app's Introduction

chart-java-app

A generic java app chart that can be used to deploy java applications to your kubernetes cluster via helm. It's completely templatized and has a sample values.yaml file which looks like the following:

javaApp:
  namespace: default
  name: appName
  version: 1.0.0
  type: jar
  #serviceAccount: serviceaccount-name 
  group: com.stackator
  deployment:
  # podAnnotations:
  # - key: myannotationkey
  #   value: myannotationvalue
    minReadySeconds: 5
    replicaCount: 2
    revisionHistoryLimit: 2
    probes:
      liveness:
        path: /health
        port: 8080
        scheme: HTTP
        initialDelaySeconds: 180
      readiness:
        path: /health
        port: 8080
        scheme: HTTP
        initialDelaySeconds: 10
  service:
    #ingressPath: /vis/
    #rewriteTarget: /
    ingressClass: external-ingress
    forceSslRedirect: true
    prometheusPort: 9779
    prometheusScrape: true
    expose: true
    additionalIngressAnnotations:
      - key: monitor.stakater.com/enabled
        value: true
    # ports:
    #   - name: http
    #     port: 8080
    #     protocol: TCP
    #     targetPort: 8080
  image:
    name: imageName
    tag: "tag"
    pullPolicy: IfNotPresent

  # rollingUpdateStrategy:
  #   strategy:
  #     rollingUpdate:
  #       maxSurge: 1
  #       maxUnavailable: 1
  #     type: RollingUpdate

  # mounts:
  #   secrets:
  #   - mountName: mountName
  #     mountPath: /some/path
  #     secretName: some-secret
  #   - mountName: mountName2
  #     mountPath: /some/path2
  #     secretName: some-secret2
  #     readOnly: true
  #   hostPaths:
  #   - mountName: name
  #     mountPath: /path
  #     hostPath: /host/path
  
  # env:
  # - name: key1
  #   value: value1
  # - name: key2
  #   value: value2
  # - name: key3
  #   value: value3

  # ports:
  # - containerPort: 8080
  #   name: http
  #   protocol: TCP
  # - containerPort: 9779
  #   name: prometheus
  #   protocol: TCP
  # - containerPort: 8778
  #   name: jolokia
  #   protocol: TCP
    
  imagePullSecrets:
    - image-pull-secret

You can comment / uncomment parts of values to customize this chart according to the app.

Installing

Run helm install --name app-name java-app -f values.yaml

java-app's People

Contributors

asim42 avatar faizanahmad055 avatar hazim1093 avatar kahootali avatar rasheedamir avatar stakater-user avatar usamaahmadkhan avatar waseem-h 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.