-
Notifications
You must be signed in to change notification settings - Fork 197
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
A basic and minimal ComputeInstanceTemplate doesn't materialize. #310
Comments
Hey @bshimc. Sorry to hear you're having issues. I tried this locally and I was able to get an error message by querying the events on the resource itself: command:
output:
I was also able to find this in the cloud logging logs as well, under the following query:
Although I agree the logs are fairly verbose, and would only use them if querying the resource fails to provide any information. |
Would you mind pasting the described state similar to how I did above? or let me know if those troubleshooting steps help. the error I ran into is the lack of a NetworkInterface definition. Can you clarify how you came to the conclusion that the spec you posted was a minimal working set? I'm looking at our documentation for the resource, and although the NetworkInterface field is not explicitly stated as requiring at least one, our example case does include a NetworkInterface. |
@toumorokoshi thanks for following up! Here's what I'm seeing
Notably:
Great question; I had no idea whether it was the minimal working set and I typically rely on trial and error (via |
Thanks! the peculiar part to me is that you don't have events. I have a couple follow-up questions:
I might give it a try with a newer version of the k8s to see what happens. |
I just started digging into the logs and I can't (yet) quite find something like the error entries you posted.
(this cluster is the rapid release channel) |
Hi! I tried to reproduce this using the rapid channel of GKE, and the output was the same:
I used:
Can you see if this happens with a brand new cluster? And are you using namespaced mode. Also if you have any logs at all for the pods in the cnrm-system namespace, could you post them? I'm also wondering at this point if Config Connector is running correctly. Also this output, to see what pods are running:
|
I deleted the old cluster and went through a manual installation (so not the GKE config add-on) and I can now see events for the resource via 'describe'. |
Thanks for your help @toumorokoshi; given the project's velocity I'm not sure it's worth trying to reproduce what I saw in the original bug report. |
Glad to hear that a new cluster worked! And appreciate the flexibility. We're trying to improve debuggability so that hopefully we can capture more details to figure out tricky issues like this one. |
Describe the bug
A basic and minimal ComputeInstanceTemplate doesn't materialize. The resource is created without any feedback saying there's a problem. When I run
kubectl describe
on the resource, there are no events.ConfigConnector Version
Run the following command to get the current ConfigConnector version
kubectl get ns cnrm-system -o jsonpath='{.metadata.annotations.cnrm\.cloud\.google\.com/version}' 1.27.1
To Reproduce
Apply the resource (below). Observe that
gcloud compute instance-templates list
doesn't show anything. There are no logs forresource.type="gce_instance_template"
. The DEBUG/INFO log spew for the KCC-related controllers is so high (4000/minute) that it's extremely difficult to tease out any information from that source.YAML snippets:
The text was updated successfully, but these errors were encountered: