-
Notifications
You must be signed in to change notification settings - Fork 817
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
Update "Developing, Testing and Building Agones" tutorial with how to push updates to your test cluster #308
Comments
You are correct - we should be clear about making changes. That being said - it should be a repeat of the original process: (for GKE, add the minikube prefix for minikube) Or you could do this in one go: (You may need to |
The thing is that make install does not make K8s to pull the new image and update the controller. I think this might be because the new image has the same label and the default pull policy is 'if it does not exist' |
So Where you using I'm wondering if there may be a bug! |
I'm using it in a CentOS 7 VirtualBox.
After running make install, I did a "get pods --namespace agones-system"
and noticed that the up time for the pod was unchanged.
As the image had the same label, there was no other way for me to check if
the controller was updated.
…On Mon, Jul 30, 2018 at 7:42 PM Mark Mandel ***@***.***> wrote:
So make install on GKE *should* set the imagePullPolicy to Always.
Where you using make install ? (basically, where you using the
development tooling?)
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#308 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AngJUHcKn2jOHU0ClqxjnridA1_eAd5aks5uLzd9gaJpZM4VjHi8>
.
|
🤦♂️ of course. You would actually have to delete the pod, for the new one to be pulled down. Yeah, this should be documented as well. Good catch. |
@Kuqd looking at #309 as well - should we add |
The developer guide didn't cover what to do "next" after compiling Agones -- i.e. how to make changes and test them. This PR is an effort to fix this. Since googleforgames#309 is completed, you don't have to manually delete the agones-controller pod, so this also becomes much simpler. Closes googleforgames#308
I think this is fixed now. |
I followed the Developing, Testing and Building Agones instructions and they worked pretty well to push and test the first build to GKE.
The problem occurred when I had made some changes locally (to the agones controller) and I wanted to push my changes to the cluster.
After multiple trial and error I discovered that it is possible by:
I suggest adding this explanation to the tutorial and maybe also add a "make install-update" or "make reinstall" build target.
The text was updated successfully, but these errors were encountered: