- Sort Score
- Result 10 results
- Languages All
Results 1 - 9 of 9 for strong (0.15 sec)
-
istioctl/pkg/waypoint/waypoint.go
return nil, fmt.Errorf("invalid traffic type: %s. Valid options are: %s", trafficType, validTrafficTypes.String()) } if gw.Labels == nil { gw.Labels = map[string]string{} } gw.Labels[constants.AmbientWaypointForTrafficTypeLabel] = trafficType } if revision != "" { gw.Labels = map[string]string{label.IoIstioRev.Name: revision} } return &gw, nil }
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Wed May 08 19:45:58 GMT 2024 - 15.5K bytes - Viewed (0) -
cni/README.md
the project's [log viewer](https://cloud.google.com/logging/docs/view/overview) and/or the `gcloud logging read` capability. The following example grabs the last 10 `kubelet` logs containing the string "cmdAdd" in the log message. ```console $ gcloud logging read "resource.type=k8s_node AND jsonPayload.SYSLOG_IDENTIFIER=kubelet AND jsonPayload.MESSAGE:cmdAdd" --limit 10 --format json ``` ## Other Reference
Plain Text - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Fri May 03 19:29:42 GMT 2024 - 12.3K bytes - Viewed (0) -
cni/pkg/util/podutil_test.go
} func TestPodRedirectionEnabled(t *testing.T) { var ( ambientEnabledLabel = map[string]string{constants.DataplaneModeLabel: constants.DataplaneModeAmbient} ambientDisabledLabel = map[string]string{constants.DataplaneModeLabel: constants.DataplaneModeNone} sidecarStatusAnnotation = map[string]string{annotation.SidecarStatus.Name: "test"} namespaceWithAmbientEnabledLabel = &corev1.Namespace{
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Fri May 03 19:29:42 GMT 2024 - 4.9K bytes - Viewed (0) -
cni/pkg/nodeagent/informers.go
} } return nil } func getModeLabel(m map[string]string) string { if m == nil { return "" } return m[constants.DataplaneModeLabel] } func (s *InformerHandlers) reconcilePod(input any) error { event := input.(controllers.Event) pod := event.Latest().(*corev1.Pod) defer EventTotals.With(eventTypeTag.Value(event.Event.String())).Increment() switch event.Event {
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Fri May 03 19:29:42 GMT 2024 - 9.6K bytes - Viewed (0) -
cni/pkg/plugin/plugin_test.go
type args struct { ports []string } tests := []struct { name string args args want []string }{ { name: "No duplicates", args: args{ports: []string{"1234", "2345"}}, want: []string{"1234", "2345"}, }, { name: "Sequential Duplicates", args: args{ports: []string{"1234", "1234", "2345", "2345"}}, want: []string{"1234", "2345"}, }, {
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Wed May 08 15:58:51 GMT 2024 - 17.5K bytes - Viewed (0) -
cni/pkg/nodeagent/informers_test.go
Namespace: "test", UID: "1234", Labels: map[string]string{constants.DataplaneModeLabel: constants.DataplaneModeNone}, }, Spec: corev1.PodSpec{ NodeName: NodeName, }, Status: corev1.PodStatus{ PodIP: "11.1.1.12", }, } ns := &corev1.Namespace{ ObjectMeta: metav1.ObjectMeta{ Name: "test", Labels: map[string]string{constants.DataplaneModeLabel: constants.DataplaneModeAmbient},
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Fri May 03 19:29:42 GMT 2024 - 15.8K bytes - Viewed (0) -
cni/pkg/iptables/iptables.go
cmd := iptablesconstants.IPTablesRestore var data string if isIpv4 { data = iptablesBuilder.BuildV4Restore() } else { data = iptablesBuilder.BuildV6Restore() } log.Infof("Running %s with the following input:\n%v", iptVer.CmdToString(cmd), strings.TrimSpace(data)) // --noflush to prevent flushing/deleting previous contents from table return cfg.ext.Run(cmd, iptVer, strings.NewReader(data), "--noflush", "-v") }
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) -
cni/pkg/plugin/plugin.go
type Config struct { types.NetConf // Add plugin-specific flags here LogLevel string `json:"log_level"` LogUDSAddress string `json:"log_uds_address"` CNIEventAddress string `json:"cni_event_address"` AmbientEnabled bool `json:"ambient_enabled"` Kubernetes Kubernetes `json:"kubernetes"` } // K8sArgs is the valid CNI_ARGS used for Kubernetes
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Wed May 08 15:58:51 GMT 2024 - 10.5K bytes - Viewed (0) -
cni/pkg/util/podutil.go
} return true } func podHasSidecar(pod *corev1.Pod) bool { if _, f := pod.GetAnnotations()[annotation.SidecarStatus.Name]; f { return true } return false } func IsZtunnelPod(systemNs string, pod *corev1.Pod) bool { return pod.Namespace == systemNs && pod.GetLabels()["app"] == "ztunnel" } func AnnotateEnrolledPod(client kubernetes.Interface, pod *metav1.ObjectMeta) error { _, err := client.CoreV1().
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Fri May 03 19:29:42 GMT 2024 - 3.9K bytes - Viewed (0)