Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 255 for we (0.5 sec)

  1. cni/pkg/iptables/iptables.go

    		cfg:    cfg,
    	}
    
    	// By detecting iptables versions *here* once-for-all we are
    	// committing to using the same binary/variant (legacy or nft)
    	// within all pods as we do on the host.
    	//
    	// This should be fine, as the host binaries are all we have to work with here anyway,
    	// as we are running within a privileged container - and we don't want to take the time to
    	// redetect for each pod anyway.
    	//
    	// Extreme corner case:
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Fri Apr 12 01:42:30 GMT 2024
    - 19.2K bytes
    - Viewed (0)
  2. manifests/charts/istiod-remote/templates/services.yaml

    apiVersion: v1
    kind: Service
    metadata:
      {{- if .Values.pilot.enabled }}
      # when local istiod is enabled, we can't use istiod service name to reach the remote control plane
      name: istiod{{- if .Values.revision }}-{{ .Values.revision}}{{- end }}-remote
      {{- else }}
      # when local istiod isn't enabled, we can use istiod service name to reach the remote control plane
      name: istiod{{- if .Values.revision }}-{{ .Values.revision}}{{- end }}
    Others
    - Registered: Wed Mar 20 22:53:08 GMT 2024
    - Last Modified: Fri Feb 02 17:36:40 GMT 2024
    - 1.1K bytes
    - Viewed (0)
  3. cni/pkg/nodeagent/ztunnelserver.go

    	PodDeleted(ctx context.Context, uid string) error
    	PodAdded(ctx context.Context, pod *v1.Pod, netns Netns) error
    	Close() error
    }
    
    /*
    To clean up stale ztunnels
    
    	we may need to ztunnel to send its (uid, bootid / boot time) to us
    	so that we can remove stale entries when the ztunnel pod is deleted
    	or when the ztunnel pod is restarted in the same pod (remove old entries when the same uid connects again, but with different boot id?)
    
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Fri Apr 12 21:47:31 GMT 2024
    - 12.4K bytes
    - Viewed (0)
  4. istioctl/pkg/xds/client.go

    		// TODO: https://github.com/istio/istio/issues/41937
    		grpc.WithTransportCredentials(credentials.NewTLS(
    			&tls.Config{
    				// Always skip verifying, because without it we always get "certificate signed by unknown authority".
    				// We don't set the XDSSAN for the same reason.
    				InsecureSkipVerify: true,
    			})),
    		grpc.WithPerRPCCredentials(k8sCreds),
    	}, nil
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Tue Dec 19 22:42:42 GMT 2023
    - 3.7K bytes
    - Viewed (0)
  5. common/scripts/tracing.sh

      { set +x; } 2>/dev/null
      # Throughout, "local" usage is critical to avoid nested calls overwriting things
      local start
      start="$(date -u +%s.%N)"
      # First, get a trace and span ID. We need to get one now so we can propagate it to the child
      # Get trace ID from TRACEPARENT, if present
      local tid
      tid="$(<<<"${TRACEPARENT:-}" cut -d- -f2)"
      tid="${tid:-"$(tr -dc 'a-f0-9' < /dev/urandom | head -c 32)"}"
    Shell Script
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Fri Jul 28 15:25:47 GMT 2023
    - 4.1K bytes
    - Viewed (0)
  6. cni/pkg/nodeagent/informers_test.go

    		},
    	}
    	ns := &corev1.Namespace{
    		ObjectMeta: metav1.ObjectMeta{Name: "test"},
    		// TODO: once we if the add pod bug, re-enable this and remove the patch below
    		//		Labels: map[string]string{constants.DataplaneMode: constants.DataplaneModeAmbient},
    
    	}
    
    	client := kube.NewFakeClient(ns, pod)
    
    	// We are expecting at most 2 calls to the mock, wait for them
    	wg, waitForMockCalls := NewWaitForNCalls(t, 2)
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Thu Feb 08 01:03:24 GMT 2024
    - 15.8K bytes
    - Viewed (0)
  7. cni/pkg/pluginlistener/listener.go

    		return nil, fmt.Errorf("failed to remove unix://%s: %v", path, err)
    	}
    
    	// Attempt to create the folder in case it doesn't exist
    	if err := os.MkdirAll(filepath.Dir(path), 0o750); err != nil {
    		// If we cannot create it, just warn here - we will fail later if there is a real error
    		log.Warnf("Failed to create directory for %v: %v", path, err)
    	}
    
    	var err error
    	listener, err := net.Listen("unix", path)
    	if err != nil {
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Fri Jan 26 20:34:28 GMT 2024
    - 1.7K bytes
    - Viewed (0)
  8. cni/pkg/nodeagent/net_test.go

    	netns := fixture.podNsMap.Take(string(pod.UID))
    	assert.Equal(t, nil, netns)
    
    	// run gc to clean up ns:
    
    	//revive:disable-next-line:call-to-gc Just a test that we are cleaning up the netns
    	runtime.GC()
    	assertNSClosed(t, closed)
    }
    
    func TestServerDeletePod(t *testing.T) {
    	ctx, cancel := context.WithCancel(context.Background())
    	defer cancel()
    	setupLogging()
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Fri Apr 12 21:47:31 GMT 2024
    - 14.3K bytes
    - Viewed (0)
  9. operator/cmd/mesh/operator-init.go

    	if err != nil {
    		l.LogAndFatal(err)
    	}
    	if oiArgs.common.revision == "default" {
    		oiArgs.common.revision = ""
    	}
    	// Error here likely indicates Deployment is missing. If some other K8s error, we will hit it again later.
    	already, _ := isControllerInstalled(kubeClient.Kube(), oiArgs.common.operatorNamespace, oiArgs.common.revision)
    	if already {
    Go
    - Registered: Wed Mar 20 22:53:08 GMT 2024
    - Last Modified: Fri Mar 15 01:18:49 GMT 2024
    - 6.2K bytes
    - Viewed (0)
  10. istioctl/cmd/sysexits.go

    // used by convention (see sysexits).
    //
    // The intention here is to use 64-78 in a way that matches the attempt in
    // sysexits to signify some error running istioctl, and use 79-125 as custom
    // error codes for other info that we'd like to use to pass info on.
    const (
    	ExitUnknownError   = 1 // for compatibility with existing exit code
    	ExitIncorrectUsage = 64
    	ExitDataError      = 65 // some format error with input data
    
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Thu Jun 15 15:02:17 GMT 2023
    - 1.9K bytes
    - Viewed (0)
Back to top