kubernetes-oom-event-generator icon indicating copy to clipboard operation
kubernetes-oom-event-generator copied to clipboard

Helm chart

Open itssimon opened this issue 4 years ago • 3 comments

It would be nice to package this up as a Helm chart to make it really easy to deploy.

itssimon avatar Aug 11 '20 04:08 itssimon

Hi ! I made a helm chart but I can't push it the repository (permission denied) even if I create a new branch. Can you help me @boosty ? I'll be glad to close this issue :joy:

TomChv avatar Oct 29 '20 19:10 TomChv

Hi @TomChv,

please fork the repo, push your changes there and open a PR so we can discuss the changes

jabbrwcky avatar Oct 30 '20 07:10 jabbrwcky

I was using @TomChv PR until the branch was deleted the other day. Since then, I migrated using stakater's application chart - 0.0.73 version, they then deleted the ClusterRole/CRB feature. Here are my values for reference:

applicationName: oom-event-generator
labels:
  group: com.my-group
  team: my-team
deployment:
  replicas: 1
  image:
    repository: xingse/kubernetes-oom-event-generator
    tag: v1.2.0
  env:
    - name: VERBOSE
      value: "1"
  ports:
    - containerPort: 10254
      name: metrics
      protocol: TCP
  probes:
    readinessProbe:
      httpGet:
        path: /metrics
        port: metrics
      initialDelaySeconds: 10
      periodSeconds: 10
    livenessProbe:
      httpGet:
        path: /metrics
        port: metrics
      initialDelaySeconds: 10
      periodSeconds: 10
  resources:
    limits:
      cpu: 200m
      memory: 128Mi
    requests:
      cpu: 100m
      memory: 64Mi
service:
  ports:
    - name: metrics
      port: 10254
      protocol: TCP
      targetPort: metrics
serviceMonitor:
  enabled: true
  endpoints:
    - port: metrics
      interval: 30s
      path: /metrics
rbac:
  serviceAccount:
    enabled: true
    name: oom-event-generator
  clusterroles:
    - name: oom-event-generator
      rules:
        - apiGroups:
            - ""
          resources:
            - pods
            - pods/status
          verbs:
            - get
            - list
            - watch
        - apiGroups:
            - ""
          resources:
            - events
          verbs:
            - create
            - patch
            - list
            - watch

aslafy-z avatar Dec 16 '21 12:12 aslafy-z