Skip to content

Commit

Permalink
debug deployment bits
Browse files Browse the repository at this point in the history
  • Loading branch information
dprotaso committed Jan 30, 2024
1 parent 8249359 commit b91c2fc
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pkg/reconciler/revision/reconcile_resources.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ import (
"context"
"fmt"

"github.com/google/go-cmp/cmp"
"go.uber.org/zap"

appsv1 "k8s.io/api/apps/v1"
Expand Down Expand Up @@ -146,6 +147,7 @@ func (c *Reconciler) reconcilePA(ctx context.Context, rev *v1.Revision) error {
paName := resourcenames.PA(rev)
logger := logging.FromContext(ctx)
logger.Info("Reconciling PA: ", paName)
logger.Info("With Deployment: ", cmp.Diff("", deployment))

pa, err := c.podAutoscalerLister.PodAutoscalers(ns).Get(paName)
if apierrs.IsNotFound(err) {
Expand Down

0 comments on commit b91c2fc

Please sign in to comment.