@@ -594,19 +594,19 @@ running the `top` command may produce an error, for example,
594
594
# ## beta trace
595
595
596
596
Use the `crossplane beta trace` command to display a visual relationship of
597
- Crossplane objects. The `trace` command supports claims , compositions,
597
+ Crossplane objects. The `trace` command supports XRs , compositions,
598
598
functions, managed resources or packages.
599
599
600
600
The command requires a resource type and a resource name.
601
601
602
602
` crossplane beta trace <resource kind> <resource name>`
603
603
604
- For example to view a resource named `my-claim ` of type `example.crossplane.io` :
605
- ` crossplane beta trace example.crossplane.io my-claim `
604
+ For example to view a resource named `my-xr ` of type `example.crossplane.io` :
605
+ ` crossplane beta trace example.crossplane.io my-xr `
606
606
607
607
The command also accepts Kubernetes CLI style `<kind>/<name>` input.
608
608
For example,
609
- ` crossplane beta trace example.crossplane.io/my-claim `
609
+ ` crossplane beta trace example.crossplane.io/my-xr `
610
610
611
611
By default the `crossplane beta trace` command uses the Kubernetes
612
612
configuration defined in `~/.kube/config`.
@@ -634,46 +634,6 @@ variable `KUBECONFIG`.
634
634
By default `crossplane beta trace` prints directly to the terminal, limiting the
635
635
" Ready" condition and "Status" messages to 64 characters.
636
636
637
- The following an example output a "cluster" claim from the AWS reference
638
- platform, which includes multiple Compositions and composed resources :
639
-
640
- ` ` ` shell {copy-lines="1"}
641
- crossplane beta trace cluster.aws.platformref.upbound.io platform-ref-aws
642
- NAME VERSION INSTALLED HEALTHY STATE STATUS
643
- Configuration/platform-ref-aws v0.9.0 True True - HealthyPackageRevision
644
- ├─ ConfigurationRevision/platform-ref-aws-9ad7b5db2899 v0.9.0 - True Active HealthyPackageRevision
645
- ├─ Configuration/upbound-configuration-aws-network v0.7.0 True True - HealthyPackageRevision
646
- │ ├─ ConfigurationRevision/upbound-configuration-aws-network-97be9100cfe1 v0.7.0 - True Active HealthyPackageRevision
647
- │ ├─ Provider/upbound-provider-aws-ec2 v0.47.0 True True - HealthyPackageRevision
648
- │ │ ├─ ProviderRevision/upbound-provider-aws-ec2-cfeb0cd0f1d2 v0.47.0 - True Active HealthyPackageRevision
649
- │ │ └─ Provider/upbound-provider-family-aws v1.0.0 True True - HealthyPackageRevision
650
- │ │ └─ ProviderRevision/upbound-provider-family-aws-48b3b5ccf964 v1.0.0 - True Active HealthyPackageRevision
651
- │ └─ Function/upbound-function-patch-and-transform v0.2.1 True True - HealthyPackageRevision
652
- │ └─ FunctionRevision/upbound-function-patch-and-transform-a2f88f8d8715 v0.2.1 - True Active HealthyPackageRevision
653
- ├─ Configuration/upbound-configuration-aws-database v0.5.0 True True - HealthyPackageRevision
654
- │ ├─ ConfigurationRevision/upbound-configuration-aws-database-3112f0a765c5 v0.5.0 - True Active HealthyPackageRevision
655
- │ └─ Provider/upbound-provider-aws-rds v0.47.0 True True - HealthyPackageRevision
656
- │ └─ ProviderRevision/upbound-provider-aws-rds-58f96aa9fc4b v0.47.0 - True Active HealthyPackageRevision
657
- ├─ Configuration/upbound-configuration-aws-eks v0.5.0 True True - HealthyPackageRevision
658
- │ ├─ ConfigurationRevision/upbound-configuration-aws-eks-83c9d65f4a47 v0.5.0 - True Active HealthyPackageRevision
659
- │ ├─ Provider/crossplane-contrib-provider-helm v0.16.0 True True - HealthyPackageRevision
660
- │ │ └─ ProviderRevision/crossplane-contrib-provider-helm-b4cc4c2c8db3 v0.16.0 - True Active HealthyPackageRevision
661
- │ ├─ Provider/crossplane-contrib-provider-kubernetes v0.10.0 True True - HealthyPackageRevision
662
- │ │ └─ ProviderRevision/crossplane-contrib-provider-kubernetes-63506a3443e0 v0.10.0 - True Active HealthyPackageRevision
663
- │ ├─ Provider/upbound-provider-aws-eks v0.47.0 True True - HealthyPackageRevision
664
- │ │ └─ ProviderRevision/upbound-provider-aws-eks-641a096d79d8 v0.47.0 - True Active HealthyPackageRevision
665
- │ └─ Provider/upbound-provider-aws-iam v0.47.0 True True - HealthyPackageRevision
666
- │ └─ ProviderRevision/upbound-provider-aws-iam-438eac423037 v0.47.0 - True Active HealthyPackageRevision
667
- ├─ Configuration/upbound-configuration-app v0.2.0 True True - HealthyPackageRevision
668
- │ └─ ConfigurationRevision/upbound-configuration-app-5d95726dba8c v0.2.0 - True Active HealthyPackageRevision
669
- ├─ Configuration/upbound-configuration-observability-oss v0.2.0 True True - HealthyPackageRevision
670
- │ ├─ ConfigurationRevision/upbound-configuration-observability-oss-a51529457ad7 v0.2.0 - True Active HealthyPackageRevision
671
- │ └─ Provider/grafana-provider-grafana v0.8.0 True True - HealthyPackageRevision
672
- │ └─ ProviderRevision/grafana-provider-grafana-ac529c8ce1c6 v0.8.0 - True Active HealthyPackageRevision
673
- └─ Configuration/upbound-configuration-gitops-flux v0.2.0 True True - HealthyPackageRevision
674
- └─ ConfigurationRevision/upbound-configuration-gitops-flux-2e80ec62738d v0.2.0 - True Active HealthyPackageRevision
675
- ` ` `
676
-
677
637
# ### Wide outputs
678
638
Print the entire "Ready" or "Status" message if they're longer than
679
639
64 characters with `--output=wide`.
@@ -683,15 +643,15 @@ For example, the output truncates the "Status" message that's too long.
683
643
` ` ` shell {copy-lines="1"
684
644
crossplane trace cluster.aws.platformref.upbound.io platform-ref-aws
685
645
NAME SYNCED READY STATUS
686
- Cluster/platform-ref-aws (default) True False Waiting: ...resource claim is waiting for composite resource to become Ready
646
+ Cluster/platform-ref-aws (default) True False Unready resources: cluster
687
647
` ` `
688
648
689
649
Use `--output=wide` to see the full message.
690
650
691
651
` ` ` shell {copy-lines="1"
692
652
crossplane trace cluster.aws.platformref.upbound.io platform-ref-aws --output=wide
693
653
NAME SYNCED READY STATUS
694
- Cluster/platform-ref-aws (default) True False Waiting: Composite resource claim is waiting for composite resource to become Ready
654
+ Cluster/platform-ref-aws (default) True False Unready resources: cluster
695
655
` ` `
696
656
697
657
# ### Graphviz dot file output
0 commit comments