Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 15 for always (0.31 sec)

  1. cni/pkg/nodeagent/net.go

    // K8S may get a pod Add event without any IPs in the object, and the pod will later be updated with IPs.
    //
    // We always need the IPs, but this is fine because this AddPodToMesh can be called from the CNI plugin as well,
    // which always has the firsthand info of the IPs, even before K8S does - so we pass them separately here because
    // we actually may have them before K8S in the Pod object.
    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)
  2. cni/pkg/repair/netns.go

    	best := ""
    	// We will iterate over all processes. Our goal is to find a process with the same network ID as we found above.
    	// There should be 1 or 2 processes that match: the pause container should always be there, and the istio-validation *might*.
    	// We want the pause container, as the istio-validation one may exit before we are done.
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Wed Dec 20 22:14:13 GMT 2023
    - 4.8K bytes
    - Viewed (0)
  3. istioctl/pkg/xds/client.go

    		// nolint: gosec
    		// Only runs over istioctl experimental
    		// 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 May 08 22:53:08 GMT 2024
    - Last Modified: Tue Dec 19 22:42:42 GMT 2023
    - 3.7K bytes
    - Viewed (0)
  4. istioctl/pkg/dashboard/dashboard.go

    	dashboardCmd.PersistentFlags().BoolVar(&browser, "browser", true,
    		"When --browser is supplied as false, istioctl dashboard will not open the browser. "+
    			"Default is true which means istioctl dashboard will always open a browser to view the dashboard.")
    
    	kiali := kialiDashCmd(cliContext)
    	kiali.PersistentFlags().IntVar(&kialiPort, "ui-port", defaultKialiPort, "The component dashboard UI port.")
    	dashboardCmd.AddCommand(kiali)
    
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Mon Apr 15 01:29:35 GMT 2024
    - 20.5K bytes
    - Viewed (0)
  5. cni/pkg/nodeagent/netns_linux.go

    				// to the original namespace; otherwise leave the thread locked which
    				// will force the runtime to scrap the current thread, that is maybe
    				// not as optimal but at least always safe to do.
    				runtime.UnlockOSThread()
    			}
    		}()
    
    		return toRun()
    	}
    
    	var wg sync.WaitGroup
    	wg.Add(1)
    
    	// Start the callback in a new green thread so that if we later fail
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Wed Jan 31 10:05:36 GMT 2024
    - 2.7K bytes
    - Viewed (0)
  6. cni/pkg/install/install.go

    		isReady:            isReady,
    	}
    }
    
    func (in *Installer) installAll(ctx context.Context) (sets.String, error) {
    	// Install binaries
    	// Currently we _always_ do this, since the binaries do not live in a shared location
    	// and we harm no one by doing so.
    	copiedFiles, err := copyBinaries(in.cfg.CNIBinSourceDir, in.cfg.CNIBinTargetDirs)
    	if err != nil {
    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)
  7. istioctl/pkg/waypoint/waypoint.go

    				}},
    			},
    		}
    
    		// only label if the user has provided their own value, otherwise we let istiod choose a default at runtime (service)
    		// this will allow for gateway class to provide a default for that class rather than always forcing service or requiring users to configure correctly
    		if trafficType != "" {
    			if !validTrafficTypes.Contains(trafficType) {
    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)
  8. istioctl/pkg/wait/wait.go

    			present += count
    		} else {
    			notpresent += count
    		}
    	}
    	return present, notpresent, sdcnum, nil
    }
    
    // getAndWatchResource ensures that Generations always contains
    // the current generation of the targetResource, adding new versions
    // as they are created.
    func getAndWatchResource(ictx context.Context, cliCtx cli.Context) *watcher {
    	g := withContext(ictx)
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Sat Feb 17 12:24:17 GMT 2024
    - 10.1K bytes
    - Viewed (0)
  9. istioctl/pkg/tag/tag.go

    		// warning *after* it has applied
    		if !skipConfirmation {
    			_, _ = stderr.Write([]byte(err.Error()))
    			if !generate {
    				if !util.Confirm("Apply anyways? [y/N]", w) {
    					return nil
    				}
    			}
    		}
    	}
    
    	if generate {
    		_, err := w.Write([]byte(tagWhYAML))
    		if err != nil {
    			return err
    		}
    		return nil
    	}
    
    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)
  10. istioctl/pkg/describe/describe.go

    	}
    	return protocol
    }
    
    func isMeshed(pod *corev1.Pod) bool {
    	return inject.FindSidecar(pod) != nil
    }
    
    // Extract value of key out of Struct, but always return a Struct, even if the value isn't one
    func (v *myProtoValue) keyAsStruct(key string) *myProtoValue {
    	if v == nil || v.GetStructValue() == nil {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Sat Apr 13 05:23:38 GMT 2024
    - 50.4K bytes
    - Viewed (0)
Back to top