Giter Club home page Giter Club logo

application's Issues

More information in release

Hello

it would be more beneficial if you would add the changelog together with the release, as it is quite difficult to understand what was the latest changes in a single view.

Thanks

Enforce resources requests & limits

Enforce requests & limits in the deployments

livenessProbe:
  initialDelaySeconds: 15
  timeoutSeconds: 5
  periodSeconds: 30
  successThreshold: 1
  failureThreshold: 5

readinessProbe:
  initialDelaySeconds: 15
  timeoutSeconds: 5
  periodSeconds: 30
  successThreshold: 1
  failureThreshold: 5

Add reloadOnChange on deployment

e.g.

This will enforce/ensure that our Reloader is used by default

{{if .Values.reloadOnChange}} 
  annotations:
    configmap.reloader.stakater.com/reload: {{ template "stakater-app.appname" . }}
    secret.reloader.stakater.com/reload: {{ template "stakater-app.appname" . }}
{{end}}

Limit deployment history

Pods can be slow when creating, updating, or deleting because old objects are still tracked in the cluster. You can reduce the revisionHistoryLimit of deployments to cleanup older ReplicaSets which will lower to total amount of objects tracked by the Kubernetes Controller Manager. The default history limit for Deployments in 10.

Our recommended value should be 2 and not more

Invalid labels with sha256 digest docker tags

With docker image tags like...

deployment:
  image:
    tag: latest@sha256:f2a9d619483d11cd8b2f12be2bc4fb1cc9b7a4e01295b8ba52d4aea54f528556

the chart renders invalid appVersion labels:

metadata.labels: Invalid value: \"latest@sha256:f2a9d619483d11cd8b2f12be2bc4fb1cc9b7a4e01295b8ba5\":
a valid label must be an empty string or consist of alphanumeric characters, '-', '_' or '.', and must start and end with an alphanumeric character (e.g. 'MyValue',  or 'my_value',  or '12345', regex used for validation is '(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])?')

Would it be possible to trim everything after "@" or maybe support an optional applicationVersion parameter?

I can create a pull request if necessary. Thanks for the great helm chart btw!

Fix broken Jenkinsfile

The pipeline is broken and needs to be fixed

[Pipeline] sh
+ chmod 600 /root/.ssh-git/ssh-key
chmod: changing permissions of '/root/.ssh-git/ssh-key': Read-only file system

Add support for namespaceOverride

There should be possibility to override namespace like this

{{/*
Allow the release namespace to be overridden
*/}}
{{- define "rabbitmq-operator.namespace" -}}
{{- default .Release.Namespace .Values.namespaceOverride -}}
{{- end -}}

Automate helm documentation update

There are some tools out there to automatically generate helm chart documentation from the values and comments. It would ensure we don't miss any entries and enforce comments in the value file.

Add VPA manifest

Add VPA manifest; and I would like it to be always running in recommendation mode and document it as well


In this example, you create a VerticalPodAutoscaler that has an updateMode of "Off". Then you create a Deployment that has two Pods, each of which has one container. When the Pods are created, the VerticalPodAutoscaler analyzes the CPU and memory needs of the containers and records those recommendations in its status field. The VerticalPodAutoscaler does not take any action to update the resource requests for the running containers.

Here is a manifest for the VerticalPodAutoscaler:

apiVersion: autoscaling.k8s.io/v1
kind: VerticalPodAutoscaler
metadata:
  name: my-rec-vpa
spec:
  targetRef:
    apiVersion: "apps/v1"
    kind:       Deployment
    name:       my-rec-deployment
  updatePolicy:
    updateMode: "Off"

Here is a manifest for the Deployment:

apiVersion: apps/v1
kind: Deployment
metadata:
  name: my-rec-deployment
spec:
  replicas: 2
  selector:
    matchLabels:
      app: my-rec-deployment
  template:
    metadata:
      labels:
        app: my-rec-deployment
    spec:
      containers:
      - name: my-rec-container
        image: nginx

In the manifest, you can see that there are no CPU or memory requests. You can also see that the Pods in the Deployment belong to the VerticalPodAutoscaler, because it points to the target of kind: Deployment and name: my-rec-deployment.

The output shows recommendations for CPU and memory requests:

...
  recommendation:
    containerRecommendations:
    - containerName: my-rec-container
      lowerBound:
        cpu: 25m
        memory: 262144k
      target:
        cpu: 25m
        memory: 262144k
      upperBound:
        cpu: 7931m
        memory: 8291500k
...

Dependency Dashboard

This issue lists Renovate updates and detected dependencies. Read the Dependency Dashboard docs to learn more.

Ignored or Blocked

These are blocked by an existing closed PR and will not be recreated unless you click a checkbox below.

Detected dependencies

github-actions
.github/workflows/pull_request.yaml
  • actions/checkout v4
  • azure/setup-helm v4
  • azure/setup-kubectl v3
  • redhat-actions/openshift-tools-installer v1
  • docker/login-action v3
  • mshick/add-pr-comment v2
  • 8398a7/action-slack v3
  • actions/checkout v4
  • d3adb5/helm-unittest-action v2
.github/workflows/push.yaml
  • actions/checkout v4
  • azure/setup-helm v4
  • azure/setup-kubectl v3
  • redhat-actions/openshift-tools-installer v1
  • docker/login-action v3
  • 8398a7/action-slack v3
  • actions/checkout v4
  • anothrNick/github-tag-action 1.69.0
  • azure/setup-helm v4
  • anothrNick/github-tag-action 1.69.0
  • 8398a7/action-slack v3
.github/workflows/release.yaml
  • actions/checkout v4
  • actions/create-release v1
  • 8398a7/action-slack v3
helm-values
application/values.yaml

  • Check this box to trigger a request for Renovate to run again on this repository

Review the labels and remove the unncessary ones

We should review these labels; as some of them are static and don't make sense

  labels:
    app: review
    app.kubernetes.io/instance: gabbar-dev-stakater-nordmart-review
    release: gabbar-dev-stakater-nordmart-review
    provider: stakater
    appVersion: 1.0.43
    team: stakater
    chart: application-1.1.14
    heritage: Helm
    appCategory: backend
    group: com.stakater.platform

We can remove these:

  • provider: stakater
  • team: stakater

And have different names for others

Remove space from chart

Setting space value to true by mistake can result in destructive action; so, we should remove space from the application chart

As space controls namespace; so, deleting a space deletes namespace; and learned hard way that it's very dangerous to have space in application chart

Space/namespace should be handled via separate chart or some other mechanism

Need to ensure we bump minor version

Add service monitor manifest

Add service monitor and document as well

e.g.

{{- if .Values.servicemonitor.enabled -}}
{{- $port := .Values.service.port -}}
apiVersion: monitoring.coreos.com/v1
kind: ServiceMonitor
metadata:
  labels:
    app: {{ template "stakater-app.appname" . }}
    team: {{ required "A valid .Values.team entry required!" .Values.team }}
    app-version: {{ template "stakater-app.appversion" . }}
    chart: {{ template "stakater-app.chart" . }}
    heritage: {{ .Release.Service }}
    k8s-app: {{ template "stakater-app.appname" . }}
  name: {{ template "stakater-app.appname" . }}
  namespace: {{ .Values.servicemonitor.namespace }}
spec:
  endpoints:
  - interval: 10s
    path: /admin/prometheus
    port: {{ $port }}-tcp
    scheme: {{ .Values.service.scheme }}
    tlsConfig:
      insecureSkipVerify: true
  jobLabel: k8s-app
  namespaceSelector:
    matchNames:
    - {{ .Release.Namespace }}
  selector:
    matchLabels:
      app: {{ template "stakater-app.appname" . }}
{{- end }}

Expecting Service Account when disabled.

Default Application doesn't run until Service Account is created.

applicationName: "tiny"
deployment:
  image:
    repository: travix/tinyproxy
    tag: latest

The above config kept on failing at replica set level.

Issues making it difficult to use in start.

  • No error when deploying, but pods won't come up.
  • Not a single example on Homepage which can be copy pasted and run. Eg. (Sample Nginx)

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.