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

Why isnt spin kube deploy not working by default? #173

Closed
codeitlikemiley opened this issue May 29, 2024 · 3 comments · Fixed by #195
Closed

Why isnt spin kube deploy not working by default? #173

codeitlikemiley opened this issue May 29, 2024 · 3 comments · Fixed by #195
Labels
area: installation Content related to installation guides. discussion Ongoing discussion that has not reached consensus.

Comments

@codeitlikemiley
Copy link

I run this command

spin kube deploy --from ghcr.io/$GH_USER/$PROJECT::latest
# outputs  
spinapp.spin.fermyon.com/artas configured

but when i curl curl localhost:3000

that dont work?

Is this only applicable on docker-dekstop ? and not with k3d-wasms-cluster context?

this is what i saw on the documentation:

https://www.spinkube.dev/docs/spin-operator/tutorials/integrating-with-docker-desktop/#deploying-our-spin-app-to-docker

Screenshot 2024-05-29 at 5 19 54 PM

are we limited only on using the set up with docker desktop ?

also how do we really make use of this ?

assuming we dont want to use fermyon cloud and deploy it to other service provider e.g. GKE?

Do you have any guide on about that , i believe that is not found on any documentation pertaining to spin kube

which utilize kubernetes...

Hope someone can answer this thanks

@vdice
Copy link
Contributor

vdice commented May 29, 2024

Hello @codeitlikemiley, I want to first check on the reference you are attempting to deploy: ghcr.io/$GH_USER/$PROJECT::latest.

Is this a Spin app that has been published via eg spin registry push ghcr.io/$GH_USER/$PROJECT::latest? Or is it a Spin app wrapped in a Dockerfile and pushed via docker push? Those are the two supported paths, with the former being the preferred/suggested and the latter a carryover from earlier versions of the containerd-shim-spin.

If it is neither of those but rather a 'regular' Docker image, this won't run as a SpinApp on Kubernetes via the Spin Operator. (Though of course it can run as a standard Kubernetes Deployment/Pod!)

@bacongobbler
Copy link
Contributor

I also noticed the tag includes two colons instead of one. It should be ghcr.io/$GH_USER/$PROJECT:latest, not ghcr.io/$GH_USER/$PROJECT::latest.

@bacongobbler bacongobbler added the discussion Ongoing discussion that has not reached consensus. label Jul 8, 2024
@bacongobbler
Copy link
Contributor

Hi @codeitlikemiley. Any updates on your end?

@bacongobbler bacongobbler added the area: installation Content related to installation guides. label Jul 9, 2024
@bacongobbler bacongobbler linked a pull request Jul 11, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: installation Content related to installation guides. discussion Ongoing discussion that has not reached consensus.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants