Giter Site home page Giter Site logo

helm-charts's People

Contributors

andreea-lupu avatar batazor avatar ericgraf avatar fossabot avatar kortekaasy avatar loicalbertin avatar ossfellow avatar rchincha avatar sto avatar tonygilkerson avatar uvegla avatar zhming0 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

helm-charts's Issues

[Feat]: Add configurable startupProbe

Currently, the deployment uses the livenessProbe to check whether the Zot pods are ready to start receiving requests. When using the new search extension from Zot 2.0.0 in combination with remote storage, it can take a while for the Zot pods to become ready. If this takes too long, Kubernetes will kill the pods off before giving them a fair chance to become healthy.

Therefore, I suggest we add a startupProbe to the deployment, which can be configured with e.g. a higher failure threshold. With a higher failure thresholds Pods in this scenario can get some extra time to become healthy.

Bug: Volume not defined when `mountSecret` is set to `true` but not `mountConfig` or `persistence`

Hello again ๐Ÿ‘‹

Here is the result of the helm template with mountSecret is set to true and all other values using default:

$ helm template zot project-zot/zot --set mountSecret=true -s templates/deployment.yaml
---                      
# Source: zot/templates/deployment.yaml
apiVersion: apps/v1 
kind: Deployment        
metadata:               
  name: zot               
  labels:           
    helm.sh/chart: zot-0.1.27
    app.kubernetes.io/name: zot                                                                                                                                                               
    app.kubernetes.io/instance: zot
    app.kubernetes.io/version: "v2.0.0-rc6"
    app.kubernetes.io/managed-by: Helm
spec:
  replicas: 1
  selector:
    matchLabels:
      app.kubernetes.io/name: zot
      app.kubernetes.io/instance: zot
  template:
    metadata:
      labels:
        app.kubernetes.io/name: zot
        app.kubernetes.io/instance: zot
    spec:
      serviceAccountName: zot
      securityContext:
        null
      containers:
        - name: zot
          securityContext:
            null
          image: "ghcr.io/project-zot/zot-linux-amd64:v2.0.0-rc6"
          imagePullPolicy: IfNotPresent
          ports:
            - name: zot
              containerPort: 5000
              protocol: TCP
          volumeMounts:
            - mountPath: '/secret'
              name: zot-secret
          livenessProbe:
            initialDelaySeconds: 5
            httpGet:
              path: /v2/
              port: 5000
              scheme: HTTP
          readinessProbe:
            initialDelaySeconds: 5
            httpGet:
              path: /v2/
              port: 5000
              scheme: HTTP
          resources:
            null

As you can see the volumeMounts for the secret is defined but not the volume itself.

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.