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

fix: Kubernetes deployment failure #1876

Merged
merged 8 commits into from
Feb 3, 2025

Conversation

natpowning
Copy link
Contributor

The Kubernetes deployment manifest references an API that is no longer available. Change this to the equivalent that's available in current K8s implementations along with some updates to make deploying the Signal K Server on Kubernetes clusters easier.

Validation

Manual Testing

  1. With kubectl CLI configured for a running cluster, verify that application of the deployment file does not produce errors
kubectl apply -f kubernetes/signalk-deployment.yaml
  1. Confirm a signalk pod has been created
kubectl get pods | grep signalk

Screenshot

image

Copilot Description

Documentation updates:

  • README.md: Added a section pointing to new Kubernetes Quickstart instructions.
  • kubernetes/README.md: Created a new README with detailed instructions for deploying Signal K Server on Kubernetes, including setup, accessing the server, and uninstalling.

Kubernetes manifest files:

Related Issues

Restore usability of the Kubernetes manifest by replacing the
deploymentAPI version which was deprecated in Kubernetes 1.16
with the version currently in common use.

resolves #1875
Some of the manifest attributes appear to have come from originally
building the file by describing a live deployment.  This includes items
specific to the particular cluster and point-in-time of the deployment
which do not belong in a manifest intended for use in other clusters.
Removed a couple of unnecessary extra newlines at end of the
Kubernetes manifest.
@tkurki tkurki added the fix label Feb 3, 2025
@tkurki tkurki merged commit cb60ce0 into SignalK:master Feb 3, 2025
@natpowning natpowning deleted the k8s-deployment-api-update branch February 3, 2025 15:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

K8s deployment failure: no matches for kind "Deployment"
2 participants