feat: Add cri proxy for e2e_node

add example of using CRI proxy

fix:  Invalid function call

fix:  Optimize getPodImagePullDuration

fix:  Return error if the CRI Proxy is undefined

chore:  add a document
This commit is contained in:
zhifei92
2024-09-20 14:57:07 +08:00
parent a0db55c3a6
commit 2e182e736b
8 changed files with 887 additions and 1 deletions

View File

@@ -277,6 +277,8 @@ type NodeTestContextType struct {
ExtraEnvs map[string]string
// StandaloneMode indicates whether the test is running kubelet in a standalone mode.
StandaloneMode bool
// CriProxyEnabled indicates whether enable CRI API proxy for failure injection.
CriProxyEnabled bool
}
// CloudConfig holds the cloud configuration for e2e test suites.