dotnet / tye

Tye is a tool that makes developing, testing, and deploying microservices and distributed applications easier. Project Tye includes a local orchestrator to make developing microservices easier and the ability to deploy microservices to Kubernetes with minimal configuration.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Specifying Dapr command arguments for individual services throwing an error

makhele opened this issue · comments

Describe the bug

As stated in the docs you can Configure --app-max-concurrency for the orders service

but when I try on my tye.yaml file I get the following error message:

Error parsing tye.yaml: (5, 7): Expected scalar value for key: "services".

Further technical details

  • tye --version: 0.10.0-alpha.21420.1+7cec0655cc474aee8d3c3a3d180678985209d439
  • If possible rerun the command with -v debug and include the output
  • Platform: Windows 11

Where is your tye.yaml?

Where is your tye.yaml?

Same as the docs

# Configure --app-max-concurrency for the orders service
extensions:
- name: dapr
  services:
    orders:
      app-max-concurrency: 1
services:
- name: orders
  project: orders/orders.csproj
- name: products
  project: products/products.csproj
- name: store
  project: store/store.csproj

Hey @makhele, it looks as though this feature may only be available in 11.0+

Here's the commit that's dated 2nd Nov 2021.

1f51824

11.0+ was released feb 2022.

Can you update your version of tye, and try again.

Thanks!