Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

K8s deployment failure: no matches for kind "Deployment" #1875

Closed
natpowning opened this issue Feb 1, 2025 · 1 comment · Fixed by #1876
Closed

K8s deployment failure: no matches for kind "Deployment" #1875

natpowning opened this issue Feb 1, 2025 · 1 comment · Fixed by #1876

Comments

@natpowning
Copy link
Contributor

Problem

Deployment of Signal K server using the Kubernetes manifest fails.

The severity is minor as only K8s users are impacted and it's easy to workaround.

Steps to Reproduce

Environment:

  • Ubuntu 22.04.5 LTS
  • MicroK8s v1.31.5 revision 7672
  • kubectl client v1.31.5

Apply manifest: kubectl apply -f kubernetes/signalk-deployment.yaml

Inspect deployments for signalk: kubctl get pods | grep signalk

Expected Result

Messages confirming resources were created including signalk deployment, and signalk present in deployments list.

Result:

The error resource mapping not found is returned by kubectl and no signalk deployment is present in the cluster.

service/signalk created
persistentvolumeclaim/signalkpvc created
error: resource mapping not found for name: "signalk" namespace: "default" from "kubernetes/signalk-deployment.yaml": no matches for kind "Deployment" in version "extensions/v1beta1"
ensure CRDs are installed first

Image

Considerations

The Kubernetes manifest at kubernetes/signalk-deployment.yaml references the extensions/v1beta1 API which was deprecated in 1.16 and is no longer available. Applying this manifest against a modern cluster results in an error: no matches for kind "Deployment" in version "extensions/v1beta1"

@tkurki
Copy link
Member

tkurki commented Feb 2, 2025

As you've probably noticed there has not been much K8s activity, but PRs are very welcome.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants