🚑 Fix the Hub WebSocket address flag of Worker

This commit is contained in:
M. Mert Yildiran 2022-12-01 03:18:03 +03:00
parent 168234598a
commit 17baad57a6
No known key found for this signature in database
GPG Key ID: DA5D6DCBB758A461

View File

@ -831,7 +831,7 @@ func (provider *Provider) ApplyWorkerDaemonSet(ctx context.Context, namespace st
kubesharkCmd := []string{ kubesharkCmd := []string{
"./worker", "./worker",
"-i", "any", "-i", "any",
"--api-server-address", fmt.Sprintf("ws://%s/wsWorker", hubPodIp), "--hub-ws-address", fmt.Sprintf("ws://%s/wsWorker", hubPodIp),
"--nodefrag", "--nodefrag",
"--max-live-streams", strconv.Itoa(maxLiveStreams), "--max-live-streams", strconv.Itoa(maxLiveStreams),
} }