feat: Implement load balancing and health check features for service groups, including DNS-based load balancing modes and health check configurations, enhancing service reliability and performance monitoring
Build, Test, and Push CFDM Docker Image / test (push) Successful in 4m0s
Build, Test, and Push CFDM Docker Image / build-and-push (push) Successful in 2m13s
Build, Test, and Push CFDM Docker Image / update-wiki (push) Failing after 6s
Build, Test, and Push CFDM Docker Image / create-release (push) Has been skipped
Build, Test, and Push CFDM Docker Image / test (push) Successful in 4m0s
Build, Test, and Push CFDM Docker Image / build-and-push (push) Successful in 2m13s
Build, Test, and Push CFDM Docker Image / update-wiki (push) Failing after 6s
Build, Test, and Push CFDM Docker Image / create-release (push) Has been skipped
This commit is contained in:
1 parent
e5dc483d43
commit
6a1498bf80
35 files changed
+5312
-281
No files matched your search
@@ -3,7 +3,7 @@ import {
|
||||
CERT_OK,
|
||||
CERT_WARNING,
|
||||
} from "./constants.js";
|
||||
import type { Service, ServiceGroup } from "./types.js";
|
||||
import type { ServiceGroup } from "./types.js";
|
||||
|
||||
const NAME_RE =
|
||||
/^(@|\*|[a-zA-Z0-9_]([a-zA-Z0-9_-]*[a-zA-Z0-9_])?(\.[a-zA-Z0-9_]([a-zA-Z0-9_-]*[a-zA-Z0-9_])?)*)$/;
|
||||
@@ -72,7 +72,7 @@ export function certStatusFromExpiry(daysLeft: number): string {
|
||||
}
|
||||
|
||||
export function shouldMonitorService(
|
||||
service: Pick<Service, "enabled" | "service_group_id">,
|
||||
service: { enabled?: boolean; service_group_id?: number | null },
|
||||
group?: Pick<ServiceGroup, "enabled"> | null,
|
||||
): boolean {
|
||||
if (!service.enabled) return false;
|
||||
|
||||
Reference in new issue
Block a user