@cyc-seattle/platform 1.3.0 → 1.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -11,6 +11,14 @@ export interface WebServiceArgs extends WorkloadArgs {
11
11
  readinessProbe: Probe & {
12
12
  httpGet: pulumi.Input<k8s.types.input.core.v1.HTTPGetAction>;
13
13
  };
14
+ /**
15
+ * The load balancer's check timing. GKE's default is every 5s from each of several probers, which
16
+ * an app whose readiness check reaches its database may not afford.
17
+ */
18
+ healthCheck?: {
19
+ checkIntervalSec?: number;
20
+ timeoutSec?: number;
21
+ };
14
22
  }
15
23
  /** Returns `hostname` if it is the environment's domain or a name under it, and throws otherwise. */
16
24
  export declare function checkHostname(hostname: string, domain: string): string;
@@ -51,6 +51,7 @@ export class WebService extends pulumi.ComponentResource {
51
51
  metadata,
52
52
  spec: {
53
53
  default: {
54
+ ...args.healthCheck,
54
55
  config: {
55
56
  type: "HTTP",
56
57
  httpHealthCheck: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cyc-seattle/platform",
3
- "version": "1.3.0",
3
+ "version": "1.4.0",
4
4
  "description": "Pulumi components for CYC's shared Google Cloud platform: WebService, the platform outputs reader, and the stacks that build the platform",
5
5
  "author": "CYC Community Sailing Center",
6
6
  "license": "Apache-2.0",