Skip to content

Commit

Permalink
Add dapr scheduler server to the status command (#1434)
Browse files Browse the repository at this point in the history
Signed-off-by: Anton Troshin <[email protected]>
  • Loading branch information
antontroshin authored Jul 22, 2024
1 parent e72f953 commit ad67ce5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions pkg/kubernetes/status.go
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ var controlPlaneLabels = []string{
"dapr-placement-server",
"dapr-sidecar-injector",
"dapr-dashboard",
"dapr-scheduler-server",
}

type StatusClient struct {
Expand Down
3 changes: 3 additions & 0 deletions pkg/kubernetes/status_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -233,6 +233,9 @@ func TestControlPlaneServices(t *testing.T) {
{"dapr-sidecar-injector-74648c9dcb-5bsmn", "dapr-sidecar-injector", daprImageTag},
{"dapr-sidecar-injector-74648c9dcb-6bsmn", "dapr-sidecar-injector", daprImageTag},
{"dapr-sidecar-injector-74648c9dcb-7bsmn", "dapr-sidecar-injector", daprImageTag},
{"dapr-scheduler-server-0", "dapr-scheduler-server", daprImageTag},
{"dapr-scheduler-server-1", "dapr-scheduler-server", daprImageTag},
{"dapr-scheduler-server-2", "dapr-scheduler-server", daprImageTag},
}

expectedReplicas := map[string]int{}
Expand Down

0 comments on commit ad67ce5

Please sign in to comment.