-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
Wrong NodePort when restoring Service #989
Comments
@domcar we currently only support preserving node ports at restore time if your service has the annotation |
@domcar I meant to also respond to this comment:
When you run If you are using Minio, and you've followed our example deployment and configuration, the We'll see if we can add some functionality to allow you to specify a "public" URL that the ark server can use for pre-signed URLs. You would need to set up an ingress or use a NodePort for this, but it would allow the ark server to use in-cluster DNS while allowing the client to use a resolvable URL. |
@ncdc Thank you a lot for you answers, they are as always very helpful! And thank for the PR, i will try it out.
Ok, good to know, i'll test it |
@domcar would you consider this issue resolved? |
@ncdc Yes, i'll close it now |
What steps did you take and what happened:
I created a NodePort service (notice the NodePort: 30001)
After I did a backup with ark and the .json file looks correct:
I then deleted the service and restore it with ark: the NodePort was random:
I then deleted again the service and restored usign
The port was correct: 30001
What did you expect to happen:
The NodePort should have been the same as when I took the backup
The output of the following commands will help us better understand what's going on:
kubectl logs deployment/ark -n heptio-ark
ark backup logs <backupname>
No errors nor warnings;
Phase completed;
ark restore describe <restorename>
orkubectl get restore/<restorename> -n heptio-ark -o yaml
No errors nor warnings;
Phase completed;
ark restore logs <restorename>
Strange error:
This error is strange, if the minio was not reachable ark could have not restored the service at all.
Environment:
ark version
):kubectl version
):Kubeadm
kubeadm on vsphere
The text was updated successfully, but these errors were encountered: