fluid icon indicating copy to clipboard operation
fluid copied to clipboard

Feature: support custom lifecycle configuration in thinruntimeprofile

Open Syspretor opened this issue 7 months ago • 2 comments

apiVersion: data.fluid.io/v1alpha1
kind: ThinRuntimeProfile
metadata:
  name: demo-profile
spec:
  fileSystemType: ossfs
  fuse:
    image: demo-image
    imageTag: demo-tag
    lifecycle:
      preStop:
        exec:
          command: [ "sh", "-c", "/script/unmount.sh" ]
    imagePullPolicy: IfNotPresent
    command:
    - tini
    - -g
    - --
    - /usr/local/bin/entrypoint.sh

Syspretor avatar Jun 17 '25 08:06 Syspretor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: cheyang

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment Approvers can cancel approval by writing /approve cancel in a comment

fluid-e2e-bot[bot] avatar Jul 24 '25 01:07 fluid-e2e-bot[bot]