docs icon indicating copy to clipboard operation
docs copied to clipboard

[Web Bug] - Install Crossplane

Open hornjr opened this issue 5 months ago • 1 comments

getting 500 internal server error trying to install crossplane v1.20.0 using standard helm install:

helm repo add crossplane-stable https://charts.crossplane.io/stable
helm repo update
helm install crossplane \
--namespace crossplane-system \
--create-namespace crossplane-stable/crossplane

Install appears to be successful:

NAME: crossplane
LAST DEPLOYED: Fri Jul 18 21:47:50 2025
NAMESPACE: crossplane-system
STATUS: deployed
REVISION: 1
TEST SUITE: None
NOTES:
Release: crossplane

Chart Name: crossplane
Chart Description: Crossplane is an open source Kubernetes add-on that enables platform teams to assemble infrastructure from multiple vendors, and expose higher level self-service APIs for application teams to consume.
Chart Version: 1.20.0
Chart Application Version: 1.20.0

Kube Version: v1.32.5

but pods are in "Init:ImagePullBackOff" status

kubectl get pod -n crossplane-system
NAME                                       READY   STATUS                  RESTARTS   AGE
crossplane-67b976bbf4-m9bvw                0/1     Init:ImagePullBackOff   0          82s
crossplane-rbac-manager-594757659d-jjp44   0/1     Init:ImagePullBackOff   0          82s

Events from kubectl describe crossplane-67b976bbf4-m9bvw

Events:
  Type     Reason     Age                   From               Message
  ----     ------     ----                  ----               -------
  Normal   Scheduled  3m19s                 default-scheduler  Successfully assigned crossplane-system/crossplane-67b976bbf4-m9bvw to desktop-worker2
  Normal   Pulling    23s (x5 over 3m19s)   kubelet            Pulling image "xpkg.crossplane.io/crossplane/crossplane:v1.20.0"
  Warning  Failed     22s (x5 over 3m19s)   kubelet            Failed to pull image "xpkg.crossplane.io/crossplane/crossplane:v1.20.0": failed to pull and unpack image "xpkg.crossplane.io/crossplane/crossplane:v1.20.0": failed to resolve reference "xpkg.crossplane.io/crossplane/crossplane:v1.20.0": unexpected status from HEAD request to http://registry-mirror:1273/v2/crossplane/crossplane/manifests/v1.20.0?ns=xpkg.crossplane.io: 500 Internal Server Error
  Warning  Failed     22s (x5 over 3m19s)   kubelet            Error: ErrImagePull
  Normal   BackOff    11s (x12 over 3m18s)  kubelet            Back-off pulling image "xpkg.crossplane.io/crossplane/crossplane:v1.20.0"
  Warning  Failed     11s (x12 over 3m18s)  kubelet            Error: ImagePullBackOff

URL: https://docs.crossplane.io/latest/software/install/

hornjr avatar Jul 19 '25 02:07 hornjr

This looks suspicious here:

unexpected status from HEAD request to http://registry-mirror:1273/v2/crossplane/crossplane/manifests/v1.20.0?ns=xpkg.crossplane.io: 500 Internal Server Error

Do you have a mirror set up within the cluster that you could check further into? e.g. does it have logs that would give more information on that 500 error response?

jbw976 avatar Jul 20 '25 01:07 jbw976