- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for CmdAdd (0.06 sec)
-
cni/pkg/plugin/plugin.go
} } return loggingOptions } // CmdAdd is called for ADD requests func CmdAdd(args *skel.CmdArgs) (err error) { // Defer a panic recover, so that in case if panic we can still return // a proper error to the runtime. defer func() { if e := recover(); e != nil { msg := fmt.Sprintf("istio-cni panicked during cmdAdd: %v\n%v", e, string(debug.Stack())) if err != nil {
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Wed Aug 14 19:36:19 UTC 2024 - 10.5K bytes - Viewed (0) -
cni/README.md
- `istio-cni` - CNI plugin executable copied to `/opt/cni/bin` - currently implemented for k8s only - on pod add, determines whether pod should have netns setup to redirect to Istio proxy. See [cmdAdd](#cmdadd-workflow) for detailed logic. - it connects to K8S using the kubeconfig and JWT token copied from install-cni to get Pod and Namespace. Since this is a short-running command, each invocation creates a new connection.
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Wed Jul 17 23:10:17 UTC 2024 - 10.5K bytes - Viewed (0) -
cni/pkg/nodeagent/server.go
// // TODO one place this *can* fail is // - if a CNI plugin after us in the chain fails (currently, we are explicitly the last in the chain by design) // - the CmdAdd comes back thru here with a new IP // - we will never clean up that old IP that we "lost" // To fix this we probably need to impl CmdDel + manage our own podUID/IP mapping. if retErr == nil {
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Wed Sep 25 20:54:34 UTC 2024 - 13.4K bytes - Viewed (0)