Skip to content

Struggling to get controller running in local KIND cluster #56

@james-downing

Description

@james-downing

Hey folks, I'm trying to kick off a new Issuer project with this as a base. I thought I'd make sure I'm working off a solid foundation however so I've been trying to get the sample configuration running first...

Running the controller either via the e2e tests make test-e2e or via make deploy results in the controller consistently restarting due to the following error:

2025-02-28T16:45:17Z	INFO	Version	{"version": ""}
2025-02-28T16:45:17Z	INFO	setup	starting	{"version": "", "enable-leader-election": true, "metrics-addr": ":8443", "cluster-resource-namespace": "sample-external-issuer-system"}
2025-02-28T16:45:27Z	ERROR	setup	unable to create Signer controllers	{"error": "CertificateRequestReconciler: failed to get API group resources: unable to retrieve the complete list of server APIs: cert-manager.io/v1: Get \"https://10.96.0.1:443/apis/cert-manager.io/v1\": net/http: TLS handshake timeout"}
  • this is a default KIND cluster with no custom configuration
  • All the prerequisites are running and seem to be working (e2e tests now check this anyway):
kgp -n cert-manager
NAME                                       READY   STATUS    RESTARTS   AGE
cert-manager-86d7f8cc57-bh9g5              1/1     Running   0          67m
cert-manager-cainjector-5df756bf7d-p2w8f   1/1     Running   0          67m
cert-manager-webhook-79f6db7579-v6sxh      1/1     Running   0          67m
  • K8s version:
kubectl version
WARNING: This version information is deprecated and will be replaced with the output from kubectl version --short.  Use --output=yaml|json to get the full version.
Client Version: version.Info{Major:"1", Minor:"27", GitVersion:"v1.27.2", GitCommit:"7f6f68fdabc4df88cfea2dcf9a19b2b830f1e647", GitTreeState:"clean", BuildDate:"2023-05-17T14:20:07Z", GoVersion:"go1.20.4", Compiler:"gc", Platform:"darwin/arm64"}
Kustomize Version: v5.0.1
Server Version: version.Info{Major:"1", Minor:"27", GitVersion:"v1.27.3", GitCommit:"25b4e43193bcda6c7328a6d147b1fb73a33f1598", GitTreeState:"clean", BuildDate:"2023-06-15T00:38:14Z", GoVersion:"go1.20.5", Compiler:"gc", Platform:"linux/arm64"}

If I'm missing anything obvious, do let me know. Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions