- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 109 for Tanghe (0.15 sec)
-
cni/pkg/nodeagent/net.go
} return errors.Join(consErr...) } func (s *NetServer) buildZtunnelSnapshot(ambientPodUIDs map[types.UID]*corev1.Pod) error { // first add all the pods as empty: for uid := range ambientPodUIDs { s.currentPodSnapshot.Ensure(string(uid)) } // populate full pod snapshot from cgroups return s.scanProcForPodsAndCache(ambientPodUIDs) }
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Tue Apr 30 22:24:38 GMT 2024 - 12.2K bytes - Viewed (1) -
istioctl/pkg/kubeinject/kubeinject.go
} else { pod, err := GetFirstPod(e.client.Kube().CoreV1(), namespace, selector.String()) if err != nil { return nil, err } webhookPort := cc.Service.Port podPort := 15017 for _, v := range svc.Spec.Ports { if v.Port == *webhookPort { podPort = v.TargetPort.IntValue() break } } f, err := e.client.NewPortForwarder(pod.Name, pod.Namespace, "", 0, podPort) if err != nil {
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) -
istioctl/pkg/writer/ztunnel/configdump/certificates.go
for _, secret := range secretDump { if strings.Contains(secret.State, "Unavailable") { secret.State = "Unavailable" } if len(secret.CertChain) == 0 { fmt.Fprintf(w, "%v\t%v\t%v\t%v\t%v\t%v\t%v\n", secret.Identity, valueOrNA(""), secret.State, false, valueOrNA(""), valueOrNA(""), valueOrNA("")) } else { for i, ca := range secret.CertChain { t := "Intermediate" if i == 0 {
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Thu Apr 25 16:38:16 GMT 2024 - 3.2K bytes - Viewed (0) -
cni/pkg/nodeagent/informers.go
go s.queue.Run(s.ctx.Done()) } func (s *InformerHandlers) GetAmbientPods() []*corev1.Pod { var pods []*corev1.Pod for _, pod := range s.pods.List(metav1.NamespaceAll, klabels.Everything()) { ns := s.namespaces.Get(pod.Namespace, "") if ns == nil { log.Warnf("failed to find namespace %s for pod %s", pod.Namespace, pod.Name) }
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/nodeagent/podcgroupns_test.go
func TestGetContainerIDFromCGroups(t *testing.T) { makeCGroups := func(groupPaths []string) []Cgroup { var out []Cgroup for _, groupPath := range groupPaths { out = append(out, Cgroup{ GroupPath: groupPath, }) } return out } //nolint: lll for _, tt := range []struct { name string cgroupPaths []string expectPodUID types.UID expectContainerID string
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Fri Apr 12 21:47:31 GMT 2024 - 4.6K bytes - Viewed (0) -
istioctl/pkg/waypoint/waypoint_test.go
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Thu Apr 04 15:53:09 GMT 2024 - 4.4K bytes - Viewed (0) -
istioctl/pkg/writer/compare/comparator.go
location string } // NewComparator is a comparator constructor func NewComparator(w io.Writer, istiodResponses map[string][]byte, envoyResponse []byte) (*Comparator, error) { c := &Comparator{} for _, resp := range istiodResponses { istiodDump := &configdump.Wrapper{} err := json.Unmarshal(resp, istiodDump) if err != nil { continue } c.istiod = istiodDump break } if c.istiod == nil {
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Sun Apr 21 17:42:54 GMT 2024 - 3.7K bytes - Viewed (1) -
cni/pkg/util/podutil_test.go
name: "pod has sidecar, pod has ambient mode label", args: args{ namespace: unlabelledNamespace, pod: podWithSidecarAndAmbientEnabledLabel, }, want: false, }, } for _, tt := range tests { t.Run(tt.name, func(t *testing.T) { if got := PodRedirectionEnabled(tt.args.namespace, tt.args.pod); got != tt.want { t.Errorf("PodRedirectionEnabled() = %v, want %v", got, tt.want) } }) }
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) -
manifests/charts/istiod-remote/templates/serviceaccount.yaml
{{- if .Values.global.configCluster }} apiVersion: v1 kind: ServiceAccount {{- if .Values.global.imagePullSecrets }} imagePullSecrets: {{- range .Values.global.imagePullSecrets }} - name: {{ . }} {{- end }} {{- end }} metadata: name: istiod{{- if not (eq .Values.revision "") }}-{{ .Values.revision }}{{- end }} namespace: {{ .Values.global.istioNamespace }} labels: app: istiod release: {{ .Release.Name }}
Others - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Fri Mar 08 05:34:19 GMT 2024 - 593 bytes - Viewed (0) -
manifests/charts/istio-control/istio-discovery/files/kube-gateway.yaml
{{- end }} {{- with (valueOrDefault .MeshConfig.TrustDomain .Values.global.trustDomain) }} - name: TRUST_DOMAIN value: "{{ . }}" {{- end }} {{- range $key, $value := .ProxyConfig.ProxyMetadata }} - name: {{ $key }} value: "{{ $value }}" {{- end }} {{- with (index .InfrastructureLabels "topology.istio.io/network") }}
Others - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Fri Apr 19 15:10:43 GMT 2024 - 12.1K bytes - Viewed (0)