@mark1russell7/kind 0.8.1 → 0.9.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.
- package/README.md +3 -0
- package/build/index.d.ts +28 -2
- package/build/index.js +84 -3
- package/build/index.js.map +1 -1
- package/build/{judge-gpC49mVw.d.ts → judge-BD4UVQfy.d.ts} +4 -2
- package/build/{judge-Cgvkh4JX.js → judge-BbLWVTYj.js} +4 -3
- package/build/{judge-Cgvkh4JX.js.map → judge-BbLWVTYj.js.map} +1 -1
- package/build/judge.d.ts +1 -1
- package/build/judge.js +1 -1
- package/image/watch.mjs +27 -11
- package/package.json +3 -3
|
@@ -130,9 +130,11 @@ type Stack = "service" | "grpc";
|
|
|
130
130
|
* The gap can have a stateful middlebox in each replica (`middlebox`), or a new channel that each
|
|
131
131
|
* client closes before the gap (`close`).
|
|
132
132
|
* - `ztunnel-restart` deletes the ztunnel pod of each node with its grace. The DaemonSet makes a new pod on each node (T15).
|
|
133
|
+
* - `certificate-expiry` keeps the calls of each client going for the hold. No act of the lab touches a
|
|
134
|
+
* connection. The lab reads the workload certificates of ztunnel at the fault and at the heal (T15).
|
|
133
135
|
* - `none` injects nothing: a calibration measures the path itself.
|
|
134
136
|
*/
|
|
135
|
-
type TriggerKind = "pod-deletion" | "rolling-update" | "node-drain" | "scale-in" | "crash" | "liveness-restart" | "freeze-process" | "rst" | "blackhole" | "peer-gone-without-close" | "app-stall" | "rollout" | "cpu-throttle" | "authorization-policy" | "idle" | "ztunnel-restart";
|
|
137
|
+
type TriggerKind = "pod-deletion" | "rolling-update" | "node-drain" | "scale-in" | "crash" | "liveness-restart" | "freeze-process" | "rst" | "blackhole" | "peer-gone-without-close" | "app-stall" | "rollout" | "cpu-throttle" | "authorization-policy" | "idle" | "ztunnel-restart" | "certificate-expiry";
|
|
136
138
|
/**
|
|
137
139
|
* A trigger is its kind and the settings of its fault. The parameter `A` is the form of an amount:
|
|
138
140
|
* a quantity in the format `/2`, a number in the format `/1`.
|
|
@@ -1014,4 +1016,4 @@ declare const quantileOf: (sorted: readonly number[], p: number) => number;
|
|
|
1014
1016
|
declare const medianInterval: (sorted: readonly number[]) => [number, number];
|
|
1015
1017
|
//#endregion
|
|
1016
1018
|
export { updatesOf as $, Declaration as $t, TriggerV1 as A, scenario as An, rulesOf as At, RunCheck as B, ztunnelPodsOf as Bt, KindCellResult as C, NodeImage as Cn, outcomesOf as Ct, PredictionV1 as D, kindConfig as Dn, requestsOf as Dt, LoadSample as E, goDuration as En, recordsOf as Et, KIND_NOISE as F, slicesOf as Ft, judgeKind as G, PORT as Gt, checkRun as H, CLIENT as Ht, KindDecision as I, socketsOf as It, propagationOf as J, bandOf as Jt, observationAfter as K, REDIS as Kt, KindVerdict as L, stoppingOf as Lt, upgrade as M, signalsOf as Mt, upgradeCell as N, sliceDropOf as Nt, RunCheckV1 as O, kubeProxyPatch as On, restartOf as Ot, Deleted as P, sliceEmptyOf as Pt, unitOf as Q, Band as Qt, LAST_SLACK as R, transitionOf as Rt, KindCellRecordV1 as S, NODE_IMAGES as Sn, kernelCounts as St, KindVerdictV1 as T, cidrRange as Tn, podsOf as Tt, deletionsOf as U, HEALTH_PORT as Ut, RunFacts as V, ztunnelReplaced as Vt, factsOf as W, LOG_LABEL as Wt, referenceOf as X, secondsOf as Xt, propagationSource as Y, seconds as Yt, reusesReset as Z, showBand as Zt, ClusterManifest as _, Workload as _n, dropOf as _t, STAGES as a, MeshMode as an, RecordLine as at, FORMAT_V1 as b, KindScenario as bn, intakeOf as bt, readRecord as c, RedisDeclaration as cn, SliceLine as ct, calibrationOf as d, ResetReuse as dn, TunnelLine as dt, KindCell as en, Endpoint as et, cellsTable as f, Stack as fn, ZtunnelPodLine as ft, BandV1 as g, WindowPrediction as gn, deletionOf as gt, timeSpread as h, TriggerKind as hn, byNode as ht, quantileOf as i, MeshFlavor as in, PropagationSource as it, judge as j, scenarioProblems as jn, signalOf as jt, RunFactsV1 as k, nodeNames as kn, restartsAt as kt, Judged as l, Reference as ln, SocketLine as lt, predictionText as m, Trigger as mn, byClients as mt, medianInterval as n, KubeletProbe as nn, Line as nt, kindCellRecordSchema as o, PodSettings as on, Request as ot, medianText as p, Template as pn, backendsAt as pt, observationEnd as q, SERVER as qt, middle as r, Mesh as rn, PodLine as rt, kindCellRecordV1Schema as s, Prediction as sn, RulesLine as st, RELATIVE as t, KindRun as tn, HBONE_PORT as tt, TimeSpread as u, Replica as un, TCP_STATE as ut, EnvironmentManifest as v, KUBE_PROXY_MODES as vn, emptyOf as vt, KindCellV1 as w, cidrOverlap as wn, podsAt as wt, KindCellRecord as x, KubeProxyMode as xn, isTunnelState as xt, FORMAT as y, KindConfig as yn, failuresOf as yt, Propagated as z, tunnelsOf as zt };
|
|
1017
|
-
//# sourceMappingURL=judge-
|
|
1019
|
+
//# sourceMappingURL=judge-BD4UVQfy.d.ts.map
|
|
@@ -1161,7 +1161,8 @@ const TRIGGERS = [
|
|
|
1161
1161
|
"cpu-throttle",
|
|
1162
1162
|
"authorization-policy",
|
|
1163
1163
|
"idle",
|
|
1164
|
-
"ztunnel-restart"
|
|
1164
|
+
"ztunnel-restart",
|
|
1165
|
+
"certificate-expiry"
|
|
1165
1166
|
];
|
|
1166
1167
|
const MODES = [
|
|
1167
1168
|
"iptables",
|
|
@@ -1442,7 +1443,7 @@ const recordOf = (a, main) => {
|
|
|
1442
1443
|
rules: z.record(z.string(), a.nullable()).optional(),
|
|
1443
1444
|
left: a.optional(),
|
|
1444
1445
|
signals: z.array(a.nullable()).optional(),
|
|
1445
|
-
|
|
1446
|
+
deletions: z.array(z.object({
|
|
1446
1447
|
pod: z.string(),
|
|
1447
1448
|
intake: z.number().nullable(),
|
|
1448
1449
|
deletion: z.number()
|
|
@@ -1519,4 +1520,4 @@ const readRecord = (data) => {
|
|
|
1519
1520
|
//#endregion
|
|
1520
1521
|
export { signalOf as $, medianInterval as A, emptyOf as B, propagationOf as C, unitOf as D, reusesReset as E, backendsAt as F, outcomesOf as G, intakeOf as H, byClients as I, recordsOf as J, podsAt as K, byNode as L, quantileOf as M, HBONE_PORT as N, updatesOf as O, TCP_STATE as P, rulesOf as Q, deletionOf as R, observationEnd as S, referenceOf as T, isTunnelState as U, failuresOf as V, kernelCounts as W, restartOf as X, requestsOf as Y, restartsAt as Z, checkRun as _, seconds as _t, calibrationOf as a, stoppingOf as at, judgeKind as b, predictionText as c, ztunnelPodsOf as ct, FORMAT_V1 as d, HEALTH_PORT as dt, signalsOf as et, judge as f, LOG_LABEL as ft, LAST_SLACK as g, bandOf as gt, KIND_NOISE as h, SERVER as ht, readRecord as i, socketsOf as it, middle as j, RELATIVE as k, timeSpread as l, ztunnelReplaced as lt, upgradeCell as m, REDIS as mt, kindCellRecordSchema as n, sliceEmptyOf as nt, cellsTable as o, transitionOf as ot, upgrade as p, PORT as pt, podsOf as q, kindCellRecordV1Schema as r, slicesOf as rt, medianText as s, tunnelsOf as st, STAGES as t, sliceDropOf as tt, FORMAT as u, CLIENT as ut, deletionsOf as v, secondsOf as vt, propagationSource as w, observationAfter as x, factsOf as y, showBand as yt, dropOf as z };
|
|
1521
1522
|
|
|
1522
|
-
//# sourceMappingURL=judge-
|
|
1523
|
+
//# sourceMappingURL=judge-BbLWVTYj.js.map
|