在我的应用程序中,我有一个包含2个服务的AWS ECS集群。
ServiceA ,其期望值= 2
和
ServiceB ,其期望计数= 1
对于 ServiceB ,我的OKTA验证在ECS任务计数(desired_count) 1 以及以下配置下工作正常。
Registered container instances 3
Pending tasks count 0 Fargate, 0 EC2
Running tasks count 0 Fargate, 3 EC2
Active service count 0 Fargate, 2 EC2
当我增加 ServiceB 的ECS任务计数(desired_count)= 2 时,我的OKTA验证无法正常工作,并且出现错误无效的凭据。< / p>
PFB配置
Registered container instances 3
Pending tasks count 0 Fargate, 0 EC2
Running tasks count 0 Fargate, 4 EC2
Active service count 0 Fargate, 2 EC2
请提出建议。