From 64f664fe41a8e6c9f715b7b629921b45058a186b Mon Sep 17 00:00:00 2001 From: Jay Jijie Chen Date: Mon, 6 Nov 2023 18:45:29 +0800 Subject: [PATCH] fix(kuma-dp): advise user to check pod events when data plane rejected by webhooks (#8257) Signed-off-by: Jay Chen --- app/kuma-dp/pkg/dataplane/envoy/remote_bootstrap.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/kuma-dp/pkg/dataplane/envoy/remote_bootstrap.go b/app/kuma-dp/pkg/dataplane/envoy/remote_bootstrap.go index 5bb8ff16947e..996bc563adb1 100644 --- a/app/kuma-dp/pkg/dataplane/envoy/remote_bootstrap.go +++ b/app/kuma-dp/pkg/dataplane/envoy/remote_bootstrap.go @@ -91,7 +91,7 @@ func (b *remoteBootstrap) Generate(ctx context.Context, url string, cfg kuma_dp. switch err { case DpNotFoundErr: - log.Info("Dataplane entity is not yet found in the Control Plane. If you are running on Kubernetes, CP is most likely still in the process of converting Pod to Dataplane. If it takes too long, check kuma-cp logs. Retrying.", "backoff", cfg.ControlPlane.Retry.Backoff) + log.Info("Dataplane entity is not yet found in the Control Plane. If you are running on Kubernetes, the control plane is most likely still in the process of converting Pod to Dataplane. If it takes too long, check pod events and control plane logs to see possible cause. Retrying.", "backoff", cfg.ControlPlane.Retry.Backoff) default: log.Info("could not fetch bootstrap configuration, make sure you are not trying to connect to global-cp. retrying (this could help only if you're connecting to zone-cp or standalone).", "backoff", cfg.ControlPlane.Retry.Backoff, "err", err.Error()) }