Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

helm: Add tetragon.livenessProbe value #2469

Merged
merged 1 commit into from
May 25, 2024
Merged

Conversation

michi-covalent
Copy link
Contributor

Add tetragon.livenessProbe Helm value that overrides the default liveness probe for the tetragon container. For example, to use grpc probe, you can specify tetragon.livenessProbe Helm value like this:

tetragon:
  livenessProbe:
    grpc:
      port: 54321

Add tetragon.livenessProbe Helm value that overrides the default
liveness probe for the tetragon container. For example, to use grpc
probe, you can specify tetragon.livenessProbe Helm value like this:

    tetragon:
      livenessProbe:
        grpc:
          port: 54321

Signed-off-by: Michi Mutsuzaki <[email protected]>
@michi-covalent michi-covalent requested a review from a team as a code owner May 24, 2024 21:47
@michi-covalent michi-covalent requested a review from jrfastab May 24, 2024 21:47
Copy link

netlify bot commented May 24, 2024

Deploy Preview for tetragon ready!

Name Link
🔨 Latest commit 4a3e6d8
🔍 Latest deploy log https://app.netlify.com/sites/tetragon/deploys/66510b0a3f789b0008767f8c
😎 Deploy Preview https://deploy-preview-2469--tetragon.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@michi-covalent michi-covalent added the release-note/minor This PR introduces a minor user-visible change label May 24, 2024
@michi-covalent
Copy link
Contributor Author

✅ manually validated:

% cat myval.yaml
tetragon:
  livenessProbe:
    grpc:
      port: 54321

% helm template ./install/kubernetes/tetragon -f ./myval.yaml
...
      - name: tetragon
        securityContext:
          privileged: true
        image: "quay.io/cilium/tetragon:v1.1.0"
        imagePullPolicy: IfNotPresent
        terminationMessagePolicy: FallbackToLogsOnError
        args:
          - --config-dir=/etc/tetragon/tetragon.conf.d/
        volumeMounts:
          - mountPath: /etc/tetragon/tetragon.conf.d/
            name: tetragon-config
            readOnly: true
          - mountPath: /sys/fs/bpf
            mountPropagation: Bidirectional
            name: bpf-maps
          - mountPath: "/var/run/cilium"
            name: cilium-run
          - mountPath: /var/run/cilium/tetragon
            name: export-logs
          - mountPath: "/procRoot"
            name: host-proc

        env:
          - name: NODE_NAME
            valueFrom:
              fieldRef:
                  fieldPath: spec.nodeName
        livenessProbe:
          grpc:
            port: 54321
...

@kkourt
Copy link
Contributor

kkourt commented May 25, 2024

Test failure was unrelated: #2470

@michi-covalent michi-covalent merged commit 1871fe8 into main May 25, 2024
46 of 47 checks passed
@michi-covalent michi-covalent deleted the pr/michi/override branch May 25, 2024 22:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
release-note/minor This PR introduces a minor user-visible change
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants