- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for function (0.23 sec)
-
cni/pkg/iptables/iptables.go
log.Debugf("ignoring error deleting optional iptables rule: %v", err) } } } return errors.Join(delErrs...) } // Setup iptables rules for in-pod mode. Ideally this should be an idempotent function. // NOTE that this expects to be run from within the pod network namespace! func (cfg *IptablesConfigurator) CreateInpodRules(hostProbeSNAT *netip.Addr) error { // Append our rules here
Go - Registered: Wed May 01 22:53:12 GMT 2024 - Last Modified: Tue Apr 30 22:24:38 GMT 2024 - 19.6K bytes - Viewed (0) -
cni/pkg/util/podutil_test.go
}, // TODO: when there exists a means for users to signal the intent to exclude a pod from ambient without requiring the use of // the ambient redirection annotation, this annotation should no longer be checked by this function and this case should return 'true' { name: "pod has annotation to disable ambient redirection", args: args{ namespace: namespaceWithAmbientEnabledLabel, pod: podWithAmbientDisabledAnnotation,
Go - Registered: Wed May 01 22:53:12 GMT 2024 - Last Modified: Wed May 01 18:04:40 GMT 2024 - 5.9K bytes - Viewed (0) -
cni/README.md
- CAP_SYS_ADMIN - CAP_NET_ADMIN - CAP_NET_RAW ## Ambient mode details Fundamentally, this component is responsible for the following:
Plain Text - Registered: Wed May 01 22:53:12 GMT 2024 - Last Modified: Tue Apr 30 22:24:38 GMT 2024 - 12.3K bytes - Viewed (0) -
cni/pkg/util/podutil.go
)) var annotationRemovePatch = []byte(fmt.Sprintf( `{"metadata":{"annotations":{"%s":null}}}`, constants.AmbientRedirection, )) // TODO: we should use the upstream istio version of this function. // PodRedirectionEnabled determines if a pod should or should not be configured // to have traffic redirected thru the node proxy. func PodRedirectionEnabled(namespace *corev1.Namespace, pod *corev1.Pod) bool {
Go - Registered: Wed May 01 22:53:12 GMT 2024 - Last Modified: Wed May 01 18:04:40 GMT 2024 - 4.1K bytes - Viewed (0)