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

Init job script is not recreated with operator update #187

Closed
l0kix2 opened this issue Mar 25, 2024 · 0 comments · Fixed by #224
Closed

Init job script is not recreated with operator update #187

l0kix2 opened this issue Mar 25, 2024 · 0 comments · Fixed by #224
Assignees
Labels
backlog Backlog bug Something isn't working

Comments

@l0kix2
Copy link
Collaborator

l0kix2 commented Mar 25, 2024

I've updated the operator to the version, containing commit 7ff25c0
and was expecting that update op archive job will have new updated script, but turns out script same as was before the update.

I've localized that init script is not set directly in the job, but is set in the config map, which is not being recreated it seems.

kubectl get cm op-archive-yt-scheduler-init-job-config -oyaml | grep -A10 init-cluster.sh
  init-cluster.sh: |2-

    set -e
    set -x

    export YT_DRIVER_CONFIG_PATH=/config/client.yson
    /usr/bin/init_operation_archive --force --latest --proxy http-proxies.xxx.svc.cluster.local
    /usr/bin/yt set //sys/cluster_nodes/@config '{"%true" = {job_agent={enable_job_reporter=%true}}}'
kind: ConfigMap
metadata:
  creationTimestamp: "2023-11-09T18:44:06Z"```
@l0kix2 l0kix2 added good first issue Good for newcomers help wanted We would appreciate PR bug Something isn't working and removed good first issue Good for newcomers help wanted We would appreciate PR labels Mar 25, 2024
@chizhonkova chizhonkova added the backlog Backlog label Apr 1, 2024
@l0kix2 l0kix2 self-assigned this Apr 10, 2024
This was referenced Apr 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backlog Backlog bug Something isn't working
Projects
Status: Done
2 participants