-
Notifications
You must be signed in to change notification settings - Fork 25
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
Couldn't daprized apps with SpinApp kind #192
Comments
I think this might be a documentation bug - we don't copy annotations from the |
@endocrimes just beat me to it 😄. And yep it looks like the docs are incorrectly setting the annotations on the |
@endocrimes @calebschoepp it worked as the suggestion from you guys apiVersion: core.spinoperator.dev/v1alpha1
kind: SpinApp
metadata:
name: product-app
spec:
image: "ttl.sh/coffeeshop-product-api-spin:24h"
executor: containerd-shim-spin
podAnnotations:
dapr.io/enabled: "true"
dapr.io/app-id: "product-app"
dapr.io/app-port: "80"
dapr.io/enable-api-logging: "true"
enableAutoscaling: true Thanks. I closed it for now. |
I’m going to reopen this as an action item to fix the docs. Thanks for the report! |
Fixed in spinkube/documentation#29. Thanks everyone! |
I'm upgrading the works at https://dev.to/thangchung/how-to-run-webassemblywasi-application-spin-with-dapr-on-kubernetes-2b8n
And currently, I follow the guidance at https://github.com/spinkube/documentation/blob/running-with-dapr/content/en/docs/spin-operator/tutorials/running-with-dapr.md, and spinkube/documentation#29
Everything is okay, but when I use SpinApp kind as below
When I checked the status:
> kubectl get po NAME READY STATUS RESTARTS AGE my-redis-master-0 1/1 Running 0 28m product-app-77c56df659-97z8w 1/1 Running 0 8m48s
Only one container is running. That means
dapr
couldn't run the daprized process on this deployment.But when I use the same approach in my article as below
And
> kubectl get po NAME READY STATUS RESTARTS AGE my-redis-master-0 1/1 Running 0 28m product-api-f97b984f-6dnl9 2/2 Running 0 16m
Look at the
2/2
containers, I think it is a bug ofspin-operator
, or might I do something wrong? Could anyone shed some light on it? Thank you very much.The text was updated successfully, but these errors were encountered: