Skip to content

Commit

Permalink
Gracefully close kyuubi & add customer labels
Browse files Browse the repository at this point in the history
  • Loading branch information
HYBG committed Sep 20, 2024
1 parent 8056235 commit 12a5a0a
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 22 deletions.
24 changes: 2 additions & 22 deletions .idea/vcs.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 12 additions & 0 deletions charts/kyuubi/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,9 @@
# Kyuubi server numbers
replicaCount: 2

# Kyuubi labels
labels: ~

# controls how Kyuubi server pods are created during initial scale up,
# when replacing pods on nodes, or when scaling down.
# The default policy is `OrderedReady`, alternative policy is `Parallel`.
Expand Down Expand Up @@ -304,3 +307,12 @@ metrics:
enabled: false
# Content of Prometheus rule file
groups: []

# Kyuubi lifecycle
lifecycle:
postStart:
exec:
command: ['sh', '-c', "echo \"ok!!!\""]
preStop:
exec:
command: ["/bin/sh","-c","/opt/kyuubi/bin/kyuubi-ctl delete server --host $(hostname -I) --port \"10009\""]

0 comments on commit 12a5a0a

Please sign in to comment.