-
Notifications
You must be signed in to change notification settings - Fork 237
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
RedisInstance host and port not showing up after creation #220
Comments
hi @Veres72 thanks for your request and we will let you know when it is available in this issue. Question: is there something specific you use the private IP for? |
Nothing special. We create Redis with a project which attaches to shared vpc. |
Thank you, we will prioritize this in the near future and let you know when we have a target date / completion. |
Hi @Veres72, maybe I'm just missing something, but it doesn't seem like the REST API for Redis instances has a private IP field. Is there a particular field in there that you're referring to? The only field I see that says anything about internal IP addresses is the |
HI @jcanseco |
I see these fields in the documentation, but not in describe command. |
Hi @Veres72, were you able to confirm if it worked for you? |
Hi @jcanseco , we've just updated CC to latest version 1.22.0, but describe command like: |
Hi @evegner, can you run If your |
How we can see i have the status block, but without information host,port. |
Thanks @evegner. It seems your That said, I am not sure why it's taking so long for your Would it be possible for you to share your spec so that we can try reproducing your resource on our side? |
I apply this one:
|
Thanks @evegner. We'll try reproducing your resource on our side. Please note that until the While you are waiting, would you be able to create another |
@evegner. I was able to create a One thing that may be influencing your Also, what KCC version are you on?
|
@jcanseco Hello!
Also i tried to create other redis instances, the same problem I see that redisinstance is up-to-date:
|
Hey @evegner , can you share as well what the status of the object in question looks like? If there is no status, we may have a situation that the event is being fired but the status is unable to be updated with the information you're expecting. If there is a status, but still no host or port, can you confirm through |
Hello @kibbles-n-bytes !
As i see, the Type is Ready, also i can connect to this instance using telnet, or redis-cli. Here is gcloud output:
I see the host field here, is it enough or something missing? Thanks for your response. |
Hi @evegner , it looks like your resource is stuck with an "Updating" status or is jumping between "UpToDate" and "Updating". We're not entirely sure how this instance got into this buggy state, but it's a good sign to see that the RedisInstance was actually created properly. As a workaround to try to get this resource back to 'normal', can you abandon & delete the K8s resource and then acquire the existing RedisInstance? To do this, add the abandon annotation as describe here, then just run Can you also run |
Hi. |
Hi @Veres72, thank you for the log statements. I think I may be beginning to understand the issue. Can you share with me which version of KCC you're on?
And do you know if you're on cluster-mode or namespaced-mode? If you do not know, we can try finding out by inspecting your
|
Hi. |
Gotcha, thanks @Veres72. Can you also please share the state of your controller pod for the namespace that contains your # Replace ${NAMESPACE} with your namespace name
kubectl get pod -n cnrm-system -l cnrm.cloud.google.com/scoped-namespace=${NAMESPACE} -o yaml |
|
Thanks @Veres72, I can see why the issue is occurring now. The The controller's configuration had likely been modified at some point (e.g. prior to KCC being installed) in a way that wasn't intended to be modified. My recommendation is to uninstall and reinstall KCC if you can. If you can't afford to abandon your existing KCC resources, you could try deleting all KCC system components with the exception of the CRDs, and then re-install an equal-or-newer version of KCC on top. Details on how you can delete all KCC system components other the CRDs can be found here. Instructions on how to install KCC in namespaced-mode using the operator can be found here. Please let me know if you need any help. |
Hi @jcanseco . Yes, we solved the problem by rename k8s service account to expected format nut without reinstall KCC. Now we can see IP address in describe command. Thank you for helping! |
Go ahead on mark it as fixed. Feel free to reopen it or create a new issue if you still have other questions. |
Show RedisInstance privateip in describe command like for SQLInstance.
I can get SQLInstance private ip by command
kubectl describe sqlinstance sql-example
and see in the outputBut not for RedisInstance
The text was updated successfully, but these errors were encountered: