-
Notifications
You must be signed in to change notification settings - Fork 47
Update the image tag to main-snapshot #153
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
Conversation
Image tag = 0.1.0-SNAPSHOT dosent exist in the apache/spark-kubernetes-operator repo. Because of the spark-kubernetes-operator was in crashloopback off state.
dongjoon-hyun
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for making a PR, @vladwa .
However, the AS-IS values are correct for the local Gradle build environment, aren't they?
The proposed setting is only for nightly-published helm chart. And, we already handle them automatically when we publish the nightly helm chart here.
| sed -i 's/repository: /repository: apache\//' spark-kubernetes-operator/values.yaml | |
| sed -i 's/tag: .*$/tag: main-snapshot/' spark-kubernetes-operator/values.yaml |
|
It seems that the commands at
|
Did you follow the full instructions in
FYI, |
|
|
||
| image: | ||
| repository: spark-kubernetes-operator | ||
| repository: apache/spark-kubernetes-operator |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
BTW, if you follow the full instructions, the following image exists in your local docker system like the following.
$ docker images
REPOSITORY TAG IMAGE ID CREATED SIZE
spark-kubernetes-operator 0.1.0-SNAPSHOT 05633213ce49 5 seconds ago 573MB
|
Let me close this since I verified it works correctly. We can continue the discussion and reopen this if you still have any issues. Anyway, thank you again, @vladwa . |
The image tag 0.1.0-SNAPSHOT does not exist in the apache/spark-kubernetes-operator repository, causing the spark-kubernetes-operator to enter a CrashLoopBackOff state.
What changes were proposed in this pull request?
Pod was resulting in :
bash-3.2$ kubectl get pods
NAME READY STATUS RESTARTS AGE
spark-kubernetes-operator-778b9bbdc6-ft75q 0/1 CrashLoopBackOff 13 (4m40s ago) 38m
Why are the changes needed?
The changes are needed because the current image tag 0.1.0-SNAPSHOT doesn't exist in the apache/spark-kubernetes-operator repository. This missing image tag is causing the spark-kubernetes-operator to keep crashing and restarting, which prevents it from working properly. By updating the image tag to a valid version that actually exists, we can fix this issue and make sure the operator runs smoothly.
Does this PR introduce any user-facing change?
No
How was this patch tested?
This was tested by updating the image tag in the spark-kubernetes-operator deployment. After that pod went to running state.
bash-3.2$ kubectl get pods
NAME READY STATUS RESTARTS AGE
spark-kubernetes-operator-778b9bbdc6-ft75q 1/1 Running 0 (7m34s ago) 40m
Was this patch authored or co-authored using generative AI tooling?
No