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.
MIT License
5.29k stars 520 forks source link

Specifying Dapr command arguments for individual services throwing an error #1500

Open makhele opened 1 year ago

makhele commented 1 year ago

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

davidfowl commented 1 year ago

Where is your tye.yaml?

makhele commented 1 year ago

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
Phiph commented 1 year ago

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.

https://github.com/dotnet/tye/commit/1f51824cbc1873101ed828d34e12b2c94476914d

11.0+ was released feb 2022.

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

Thanks!