Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 14 for existent (0.18 sec)

  1. istioctl/pkg/workload/workload_test.go

    		},
    		{
    			description:       "Invalid command args - missing valid input spec",
    			args:              strings.Split("entry configure -n bar -o temp --clusterID cid", " "),
    			expectedException: true,
    			expectedOutput:    "Error: expecting a WorkloadGroup artifact file or the name and namespace of an existing WorkloadGroup\n",
    		},
    		{
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Wed Mar 27 16:59:05 GMT 2024
    - 14.6K bytes
    - Viewed (0)
  2. cni/pkg/nodeagent/net.go

    	}
    
    	// populate full pod snapshot from cgroups
    	return s.scanProcForPodsAndCache(ambientPodUIDs)
    }
    
    func (s *NetServer) scanProcForPodsAndCache(pods map[types.UID]*corev1.Pod) error {
    	// TODO: maybe remove existing uids in s.currentPodSnapshot from the filter set.
    	res, err := s.podNs.FindNetnsForPods(pods)
    	if err != nil {
    		return err
    	}
    
    	for uid, wl := range res {
    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)
  3. cni/pkg/install/cniconfig.go

    		newMap = existingMap
    		plugins, err := util.GetPlugins(newMap)
    		if err != nil {
    			return nil, fmt.Errorf("existing CNI config: %v", err)
    		}
    
    		for i, rawPlugin := range plugins {
    			plugin, err := util.GetPlugin(rawPlugin)
    			if err != nil {
    				return nil, fmt.Errorf("existing CNI plugin: %v", err)
    			}
    			if plugin["type"] == "istio-cni" {
    				plugins = append(plugins[:i], plugins[i+1:]...)
    				break
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Jan 26 20:34:28 GMT 2024
    - 10.4K bytes
    - Viewed (0)
  4. cni/pkg/nodeagent/ztunnelserver.go

    	}
    
    	resolvedAddr, err := net.ResolveUnixAddr("unixpacket", addr)
    	if err != nil {
    		return nil, fmt.Errorf("failed to resolve unix addr: %w", err)
    	}
    	// remove potentially existing address
    	// Remove unix socket before use, if one is leftover from previous CNI restart
    	if err := os.Remove(addr); err != nil && !os.IsNotExist(err) {
    		// Anything other than "file not found" is an error.
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Apr 12 21:47:31 GMT 2024
    - 12.4K bytes
    - Viewed (0)
  5. operator/cmd/mesh/install.go

    			check := "         Before upgrading, you may wish to use 'istioctl x precheck' to check for upgrade warnings.\n"
    			revisionWarning := "         Running this command will overwrite it; use revisions to upgrade alongside the existing version.\n"
    			if revision != util.DefaultRevisionName {
    				revisionWarning = ""
    			}
    			if icpTag < tag {
    				p.Printf("%s Istio is being upgraded from %s to %s.\n"+revisionWarning+check,
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu May 02 14:30:43 GMT 2024
    - 15.5K bytes
    - Viewed (1)
  6. istioctl/pkg/kubeinject/kubeinject.go

      # 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)
  7. istioctl/pkg/tag/tag.go

    If set to true, the user is not prompted and a Yes response is assumed in all cases.`
    	overrideHelpStr = `If true, allow revision tags to be overwritten, otherwise reject revision tag updates that
    overwrite existing revision tags.`
    	revisionHelpStr = "Control plane revision to reference from a given revision tag"
    	tagCreatedStr   = `Revision tag %q created, referencing control plane revision %q. To enable injection using this
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Apr 02 08:32:06 GMT 2024
    - 16.3K bytes
    - Viewed (0)
  8. cni/pkg/install/install_test.go

    			cniNetDir := t.TempDir()
    			cniBinDir := t.TempDir()
    
    			// Create existing config file if specified in test case
    			cniConfigFilePath := filepath.Join(cniNetDir, c.configFilename)
    			if err := file.AtomicCopy(filepath.Join("testdata", c.existingConfigFilename), cniNetDir, c.configFilename); err != nil {
    				t.Fatal(err)
    			}
    
    			// Create existing binary files
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Jan 26 20:34:28 GMT 2024
    - 11.1K bytes
    - Viewed (0)
  9. cni/pkg/install/cniconfig_test.go

    		name            string
    		dir             string
    		inFilename      string
    		outFilename     string
    		fileContents    string
    		expectedFailure bool
    	}{
    		{
    			name:            "inexistent directory",
    			dir:             "/inexistent/directory",
    			expectedFailure: true,
    		},
    		{
    			name:            "empty directory",
    			dir:             tempDir,
    			expectedFailure: true,
    		},
    		{
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Wed May 17 02:22:22 GMT 2023
    - 15.4K bytes
    - Viewed (0)
  10. cni/pkg/install/install.go

    	// note: we create a file watcher for each invocation, otherwise when we write to the directories
    	// we would get infinite looping of events
    	//
    	// Additionally, fsnotify will lose existing watches on atomic copies (due to overwrite/rename),
    	// so we have to re-watch after re-copy to make sure we always have fresh watches.
    	watcher, err := util.CreateFileWatcher(targets...)
    	if err != nil {
    		return err
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu Feb 08 18:52:24 GMT 2024
    - 10.8K bytes
    - Viewed (0)
Back to top