Skip to content

Commit

Permalink
fix(keda): trim job name (k8s/dns 63 limit)
Browse files Browse the repository at this point in the history
  • Loading branch information
akhileshh authored and supersergiy committed Feb 18, 2025
1 parent d79f9f6 commit 0eab435
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ def _get_scaled_job_manifest(
Create manifest for Keda ScaledObject.
"""
api = ApiClient()
name = f"run-{run_id}-scaledjob"
name = f"run-{run_id}-sj"
manifest = {
"apiVersion": KEDA_API_VERSION,
"kind": ResourceTypes.K8S_SCALED_JOB.value,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ def _get_scaled_job_manifest(
Create manifest for Keda ScaledObject.
"""
api = ApiClient()
name = f"run-{run_id}-scaledjob"
name = f"run-{run_id}-sj"
manifest = {
"apiVersion": KEDA_API_VERSION,
"kind": ResourceTypes.K8S_SCALED_JOB.value,
Expand Down

0 comments on commit 0eab435

Please sign in to comment.