@mark1russell7/kind 0.11.11 → 0.11.12
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.
- package/README.md +4 -1
- package/build/index.d.ts +13 -2
- package/build/index.js +45 -3
- package/build/index.js.map +1 -1
- package/build/{judge-0ku_4dsJ.d.ts → judge-BKe6dJ3O.d.ts} +9 -1
- package/build/{judge-CLBiWALR.js → judge-n0rL_RR0.js} +3 -2
- package/build/{judge-CLBiWALR.js.map → judge-n0rL_RR0.js.map} +1 -1
- package/build/judge.d.ts +1 -1
- package/build/judge.js +1 -1
- package/package.json +1 -1
- package/src/compose.ts +37 -2
|
@@ -300,6 +300,14 @@ interface Declaration {
|
|
|
300
300
|
* With `http/1.1` or no value, the edge is `node:http`.
|
|
301
301
|
*/
|
|
302
302
|
readonly protocol?: EdgeProtocol | undefined;
|
|
303
|
+
/**
|
|
304
|
+
* This flag is the shared gate (S6, candidate E). With true, the readiness probe that the kubelet
|
|
305
|
+
* reads leaves out each check of Redis, a dependency that each replica shares. Thus a failure of
|
|
306
|
+
* Redis keeps each replica in the endpoints. The controller still reads the checks of Redis, thus
|
|
307
|
+
* the service refuses each request at once with a 503. With false or no value, each check that
|
|
308
|
+
* gates readiness also gates the probe. A declaration with the gate needs Redis.
|
|
309
|
+
*/
|
|
310
|
+
readonly sharedGate?: boolean | undefined;
|
|
303
311
|
}
|
|
304
312
|
/** An edge protocol is the protocol of the HTTP edge of the service: HTTP/1.1, or HTTP/2 without TLS (`h2c`). */
|
|
305
313
|
type EdgeProtocol = "http/1.1" | "h2c";
|
|
@@ -1149,4 +1157,4 @@ declare const quantileOf: (sorted: readonly number[], p: number) => number;
|
|
|
1149
1157
|
declare const medianInterval: (sorted: readonly number[]) => [number, number];
|
|
1150
1158
|
//#endregion
|
|
1151
1159
|
export { unitOf as $, secondsOf as $t, TriggerV1 as A, NodeImage as An, restartsAt as At, RunCheck as B, scenario as Bn, stoppingOf as Bt, KindCellResult as C, WindowPrediction as Cn, kernelCounts as Ct, PredictionV1 as D, KindScenario as Dn, recordsOf as Dt, LoadSample as E, KindConfig as En, podsOf as Et, KIND_NOISE as F, cidrRange as Fn, sliceEmptyOf as Ft, factsOf as G, CLIENT as Gt, checkRun as H, zoneOf as Hn, tunnelsOf as Ht, KindDecision as I, goDuration as In, sliceReadyAt as It, observationEnd as J, PORT as Jt, judgeKind as K, HEALTH_PORT as Kt, KindVerdict as L, kindConfig as Ln, sliceReadyOf as Lt, upgrade as M, ZONE_LABEL as Mn, signalOf as Mt, upgradeCell as N, ZONE_LOST as Nn, signalsOf as Nt, RunCheckV1 as O, KubeProxyMode as On, requestsOf as Ot, Deleted as P, cidrOverlap as Pn, sliceDropOf as Pt, reusesReset as Q, seconds as Qt, LAST_SLACK as R, kubeProxyPatch as Rn, slicesOf as Rt, KindCellRecordV1 as S, TriggerKind as Sn, isTunnelState as St, KindVerdictV1 as T, KUBE_PROXY_MODES as Tn, podsAt as Tt, cyclesOf as U, ztunnelPodsOf as Ut, RunFacts as V, scenarioProblems as Vn, transitionOf as Vt, deletionsOf as W, ztunnelReplaced as Wt, propagationSource as X, SERVER as Xt, propagationOf as Y, REDIS as Yt, referenceOf as Z, bandOf as Zt, ClusterManifest as _, Replica as _n, deletionOf as _t, STAGES as a, Flap as an, PropagationSource as at, FORMAT_V1 as b, Template as bn, failuresOf as bt, readRecord as c, KubeletProbe as cn, RulesLine as ct, calibrationOf as d, MeshMode as dn, TCP_STATE as dt, showBand as en, updatesOf as et, cellsTable as f, NonePrediction as fn, TunnelLine as ft, BandV1 as g, Reference as gn, byNode as gt, timeSpread as h, RedisDeclaration as hn, byClients as ht, quantileOf as i, EdgeProtocol as in, PodLine as it, judge as j, ZONE_KEPT as jn, rulesOf as jt, RunFactsV1 as k, NODE_IMAGES as kn, restartOf as kt, Judged as l, Mesh as ln, SliceLine as lt, predictionText as m, Prediction as mn, backendsAt as mt, medianInterval as n, Cycle as nn, HBONE_PORT as nt, kindCellRecordSchema as o, KindCell as on, RecordLine as ot, medianText as p, PodSettings as pn, ZtunnelPodLine as pt, observationAfter as q, LOG_LABEL as qt, middle as r, Declaration as rn, Line as rt, kindCellRecordV1Schema as s, KindRun as sn, Request as st, RELATIVE as t, Band as tn, Endpoint as tt, TimeSpread as u, MeshFlavor as un, SocketLine as ut, EnvironmentManifest as v, ResetReuse as vn, dropOf as vt, KindCellV1 as w, Workload as wn, outcomesOf as wt, KindCellRecord as x, Trigger as xn, intakeOf as xt, FORMAT as y, Stack as yn, emptyOf as yt, Propagated as z, nodeNames as zn, socketsOf as zt };
|
|
1152
|
-
//# sourceMappingURL=judge-
|
|
1160
|
+
//# sourceMappingURL=judge-BKe6dJ3O.d.ts.map
|
|
@@ -1401,7 +1401,8 @@ const declaration = z.object({
|
|
|
1401
1401
|
threshold: time
|
|
1402
1402
|
}).nullable(),
|
|
1403
1403
|
lameDuck: z.boolean().optional(),
|
|
1404
|
-
protocol: z.enum(["http/1.1", "h2c"]).optional()
|
|
1404
|
+
protocol: z.enum(["http/1.1", "h2c"]).optional(),
|
|
1405
|
+
sharedGate: z.boolean().optional()
|
|
1405
1406
|
});
|
|
1406
1407
|
const replica = z.object({
|
|
1407
1408
|
pod: z.string(),
|
|
@@ -1712,4 +1713,4 @@ const readRecord = (data) => {
|
|
|
1712
1713
|
//#endregion
|
|
1713
1714
|
export { rulesOf as $, RELATIVE as A, dropOf as B, observationEnd as C, reusesReset as D, referenceOf as E, TCP_STATE as F, kernelCounts as G, failuresOf as H, backendsAt as I, podsOf as J, outcomesOf as K, byClients as L, middle as M, quantileOf as N, unitOf as O, HBONE_PORT as P, restartsAt as Q, byNode as R, observationAfter as S, showBand as St, propagationSource as T, intakeOf as U, emptyOf as V, isTunnelState as W, requestsOf as X, recordsOf as Y, restartOf as Z, checkRun as _, REDIS as _t, calibrationOf as a, sliceReadyOf as at, factsOf as b, seconds as bt, predictionText as c, stoppingOf as ct, FORMAT_V1 as d, ztunnelPodsOf as dt, signalOf as et, judge as f, ztunnelReplaced as ft, LAST_SLACK as g, PORT as gt, KIND_NOISE as h, LOG_LABEL as ht, readRecord as i, sliceReadyAt as it, medianInterval as j, updatesOf as k, timeSpread as l, transitionOf as lt, upgradeCell as m, HEALTH_PORT as mt, kindCellRecordSchema as n, sliceDropOf as nt, cellsTable as o, slicesOf as ot, upgrade as p, CLIENT as pt, podsAt as q, kindCellRecordV1Schema as r, sliceEmptyOf as rt, medianText as s, socketsOf as st, STAGES as t, signalsOf as tt, FORMAT as u, tunnelsOf as ut, cyclesOf as v, SERVER as vt, propagationOf as w, judgeKind as x, secondsOf as xt, deletionsOf as y, bandOf as yt, deletionOf as z };
|
|
1714
1715
|
|
|
1715
|
-
//# sourceMappingURL=judge-
|
|
1716
|
+
//# sourceMappingURL=judge-n0rL_RR0.js.map
|