- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 97 for inject (0.18 sec)
-
istioctl/pkg/checkinject/checkinject.go
# Check the injection status of a pod under a deployment istioctl x check-inject deployment/details-v1 # Check the injection status of a pod under a deployment in namespace test istioctl x check-inject deployment/details-v1 -n test # Check the injection status of label pairs in a specific namespace before actual injection istioctl x check-inject -n test -l app=helloworld,version=v1 `,
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Sat Apr 13 05:23:38 GMT 2024 - 9.3K bytes - Viewed (0) -
istioctl/pkg/injector/injector-list.go
} func injectionDisabled(pod *corev1.Pod) bool { inject := pod.ObjectMeta.GetAnnotations()[annotation.SidecarInject.Name] if lbl, labelPresent := pod.ObjectMeta.GetLabels()[label.SidecarInject.Name]; labelPresent { inject = lbl } return strings.EqualFold(inject, "false") } func renderCounts(injectedRevision string, counts revisionCount) string { if counts.pods == 0 {
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Thu Jan 04 03:08:06 GMT 2024 - 10.4K bytes - Viewed (0) -
istioctl/pkg/checkinject/checkinject_test.go
}, { Name: "istio-sidecar-injector-deactivated", Revision: "default", Reason: "The injection webhook is deactivated, and will never match labels.", }, }, }, } whFiles := []string{ "testdata/check-inject/default-injector.yaml", "testdata/check-inject/rev-16-injector.yaml", "testdata/check-inject/never-match-injector.yaml", }
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Thu Jun 15 15:02:17 GMT 2023 - 10.6K bytes - Viewed (0) -
operator/cmd/mesh/manifest-generate_test.go
} if ls.pod.Get("sidecar.istio.io/inject") == "false" { return "", true } return "", false } // We test the cross product namespace and pod labels: // 1. revision label (istio.io/rev) // 2. inject label true (istio-injection on namespace, sidecar.istio.io/inject on pod) // 3. inject label false // 4. inject label true and revision label // 5. inject label false and revision label
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Thu Apr 18 18:16:49 GMT 2024 - 43.5K bytes - Viewed (0) -
istioctl/pkg/kubeinject/kubeinject.go
kubectl apply -f <(istioctl kube-inject -f <resource.yaml>) # Create a persistent version of the deployment with Istio sidecar injected. istioctl kube-inject -f deployment.yaml -o deployment-injected.yaml # Update an existing deployment. kubectl get deployment -o yaml | istioctl kube-inject -f - | kubectl apply -f - # Capture cluster configuration for later use with kube-inject
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Fri Mar 29 02:29:02 GMT 2024 - 21.6K bytes - Viewed (0) -
cni/pkg/plugin/sidecar_redirect.go
sidecarPortListKey = annotation.SidecarStatusPort.Name kubevirtInterfacesKey = annotation.SidecarTrafficKubevirtInterfaces.Name annotationRegistry = map[string]*annotationParam{ "inject": {injectAnnotationKey, "", alwaysValidFunc}, "status": {sidecarStatusKey, "", alwaysValidFunc}, "redirectMode": {sidecarInterceptModeKey, defaultRedirectMode, validateInterceptionMode},
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Fri Jan 26 20:34:28 GMT 2024 - 10.6K bytes - Viewed (0) -
operator/cmd/mesh/manifest_shared_test.go
} check, ok := obj.DeepCopyObject().(client.Object) if !ok { return errors.New("could not check for object in fake client") } if err := clnt.Get(ctx, client.ObjectKeyFromObject(obj), check); kerrors.IsNotFound(err) { if err := clnt.Create(ctx, check); err != nil { return fmt.Errorf("could not inject object creation for fake: %w", err) } } else if err != nil { return err }
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Tue Feb 20 22:39:28 GMT 2024 - 11.7K bytes - Viewed (1) -
istioctl/pkg/kubeinject/kubeinject_test.go
" --injectConfigFile testdata/inject-config.yaml -f testdata/deployment/hello.yaml"+ " --valuesFile testdata/inject-values.yaml", " "), GoldenFilename: "testdata/deployment/hello.yaml.injected", }, { // case 3 Args: strings.Split( "--meshConfigFile testdata/mesh-config.yaml"+ " --injectConfigFile testdata/inject-config-inline.yaml -f testdata/deployment/hello.yaml"+
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Thu Jun 15 15:02:17 GMT 2023 - 3.4K bytes - Viewed (0) -
cmd/os-instrumented.go
osMetricStat osMetricAccess osMetricCreate osMetricReadDirent osMetricFdatasync osMetricSync // .... add more osMetricLast ) var globalOSMetrics osMetrics func init() { // Inject metrics. ioutilx.OsOpenFile = OpenFile ioutilx.OpenFileDirectIO = OpenFileDirectIO ioutilx.OsOpen = Open } type osMetrics struct { // All fields must be accessed atomically and aligned.
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Thu Feb 15 01:09:38 GMT 2024 - 6.3K bytes - Viewed (0) -
cni/pkg/iptables/iptables.go
// Extreme corner case: // If for some reason your host had both binaries, and you were injecting out-of-band // iptables rules within a pod context into `legacy` tables, but your host context preferred // `nft`, we would still inject our rules in-pod into nft tables, which is a bit wonky. // // But that's stunningly unlikely (and would still work either way) iptVer, err := ext.DetectIptablesVersion(false) if err != nil { return nil, err }
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Tue May 07 19:54:50 GMT 2024 - 19.7K bytes - Viewed (0)