-
Notifications
You must be signed in to change notification settings - Fork 24
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
Spin Operator Dapr Tutorial #29
Conversation
I fixed a few things while going through the tutorial. One question I had occurred after running the tutorial. After the user has installed dapr-shared, how do they validate that the sample app has access to the dapr APIs? The tutorial uses the "simple" sample app, which IIRC just prints "Hello, World!" when an HTTP trigger is executed. Shouldn't the tutorial use an application that makes use of dapr APIs? @jpflueger do you know of any Spin apps that demonstrate the usage of dapr APIs? If not, could you point me in the right direction? |
@bacongobbler there is a usage in ZEISS/enterprise-wasm where they publish to a queue using an outgoing http request. @radu-matei also has a dapr-samples repo that may be of use. |
Okay. Both of the examples you shared require variable support. The tutorial should be updated to use a sample app using variables. e.g. https://github.com/spinkube/spin-operator/blob/main/config/samples/variables.yaml |
Signed-off-by: tpmccallum [email protected]
Signed-off-by: Matthew Fisher <[email protected]>
c04a626
to
b93c0b3
Compare
Signed-off-by: Matthew Fisher <[email protected]>
Thanks to a community blog post, I was able to get a Spin app running with Dapr. I modified the docs to refer to this sample application. I assume we want to point to something from within the SpinKube organization. @radu-matei is there an OCI image out there for your pubsub app, or is ThangChung's sample app acceptable enough to use in the docs? I'm having a tough time finding an official dapr app written in Spin. |
The original commit also referred to Dapr Shared. @tpmccallum mentioned this was a concept we wanted to ideally show to the end user. This is not a technology I'm familiar with. I'm asking for help because I can't find any examples out there that show a Spin app with Dapr Shared. What do I need to change to make a "dapr-enabled" Spin app use Dapr Shared? |
Hi @bacongobbler |
Signed-off-by: tpmccallum [email protected] Signed-off-by: Timothy McCallum <[email protected]>
Signed-off-by: tpmccallum [email protected] Signed-off-by: Timothy McCallum <[email protected]>
That was cool when I found the tutorial for running |
Signed-off-by: Matthew Fisher <[email protected]>
Closing as stale. |
This is a draft and it is highly likely that most of the original information in this file will need updating.
This tutorial will also need to be tested from start to finish once written up.
Fixes #30
Signed-off-by: tpmccallum [email protected]