Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 64 for Ball (0.14 sec)

  1. cni/pkg/nodeagent/informers.go

    	s.pods.AddEventHandler(controllers.FromEventHandler(func(o controllers.Event) {
    		s.queue.Add(o)
    	}))
    
    	// Namespaces could be anything though, so we watch all of those
    	//
    	// NOTE that we are requeueing namespaces here explicitly to work around
    	// test flakes with the fake kube client in `pkg/kube/client.go` -
    	// because we are using `List()` in the handler, without this requeue,
    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)
  2. istioctl/pkg/admin/istiodconfig.go

    func (rs *resetState) run(_ io.Writer) error {
    	const (
    		defaultOutputLevel     = "info"
    		defaultStackTraceLevel = "none"
    	)
    	allScopes, err := rs.client.GetScopes()
    	if err != nil {
    		return fmt.Errorf("could not get all scopes: %v", err)
    	}
    	var defaultScopes []*ScopeInfo
    	for _, scope := range allScopes {
    		defaultScopes = append(defaultScopes, &ScopeInfo{
    			Name:            scope.Name,
    			OutputLevel:     defaultOutputLevel,
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Sat Apr 13 05:23:38 GMT 2024
    - 13.5K bytes
    - Viewed (0)
  3. istioctl/pkg/validate/validate.go

      istioctl validate -f samples/bookinfo/networking/bookinfo-gateway.yaml
    
      # Validate bookinfo-gateway.yaml with shorthand syntax
      istioctl v -f samples/bookinfo/networking/bookinfo-gateway.yaml
    
      # Validate all yaml files under samples/bookinfo/networking directory
      istioctl validate -f samples/bookinfo/networking
    
      # Validate current deployments under 'default' namespace within the cluster
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Mon Jan 22 17:58:52 GMT 2024
    - 15K bytes
    - Viewed (0)
  4. istioctl/pkg/waypoint/waypoint.go

    			}
    			return nil
    		},
    		RunE: func(cmd *cobra.Command, args []string) error {
    			kubeClient, err := ctx.CLIClient()
    			if err != nil {
    				return fmt.Errorf("failed to create Kubernetes client: %v", err)
    			}
    			ns := ctx.NamespaceOrDefault(ctx.Namespace())
    
    			// Delete all waypoints if the --all flag is set
    			if deleteAll {
    				return deleteWaypoints(cmd, kubeClient, ns, 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)
  5. cni/pkg/iptables/iptables_linux.go

    		if err != nil {
    			return fmt.Errorf("parse CIDR: %v", err)
    		}
    
    		netlinkRoutes := []*netlink.Route{
    			// In routing table ${INBOUND_TPROXY_ROUTE_TABLE}, create a single default rule to route all traffic to
    			// the loopback interface.
    			// Equiv: "ip route add local 0.0.0.0/0 dev lo table 100"
    			{
    				Dst:       localhostDst,
    				Scope:     netlink.SCOPE_HOST,
    				Type:      unix.RTN_LOCAL,
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Apr 30 22:24:38 GMT 2024
    - 3.3K bytes
    - Viewed (0)
  6. cni/pkg/plugin/kubernetes.go

    			}
    			if c.SecurityContext != nil {
    				pi.ProxyUID = c.SecurityContext.RunAsUser
    				pi.ProxyGID = c.SecurityContext.RunAsGroup
    			}
    		}
    	}
    	return pi
    }
    
    // containers fetches all containers in the pod.
    // This is used to extract init containers (istio-init and istio-validation), and the sidecar.
    // The sidecar can be a normal container or init in Kubernetes 1.28+
    func containers(pod *v1.Pod) []v1.Container {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Sat Feb 10 00:31:55 GMT 2024
    - 3.6K bytes
    - Viewed (0)
  7. istioctl/pkg/tag/util.go

    		LabelSelector: fmt.Sprintf("%s=%s,!%s", label.IoIstioRev.Name, rev, IstioTagLabel),
    	})
    	if err != nil {
    		return nil, err
    	}
    	return webhooks.Items, nil
    }
    
    // GetNamespacesWithTag retrieves all namespaces pointed at the given tag.
    func GetNamespacesWithTag(ctx context.Context, client kubernetes.Interface, tag string) ([]string, error) {
    	namespaces, err := client.CoreV1().Namespaces().List(ctx, metav1.ListOptions{
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Jan 16 17:43:42 GMT 2024
    - 5.4K bytes
    - Viewed (1)
  8. istioctl/pkg/tag/tag.go

    	// help strings and long formatted user outputs
    	skipConfirmationFlagHelpStr = `The skipConfirmation determines whether the user is prompted for confirmation.
    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.`
    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)
  9. cni/pkg/repair/repaircontroller.go

    	// ignored.
    	if c.cfg.SidecarAnnotation != "" {
    		if _, ok := pod.ObjectMeta.Annotations[c.cfg.SidecarAnnotation]; !ok {
    			return false
    		}
    	}
    
    	// For each candidate pod, iterate across all init containers searching for
    	// crashlooping init containers that match our criteria
    	for _, container := range pod.Status.InitContainerStatuses {
    		// Skip the container if the InitContainerName is not a match and our
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Sat Feb 10 00:31:55 GMT 2024
    - 10.4K bytes
    - Viewed (0)
  10. istioctl/pkg/tag/generate_test.go

    		}
    		if tag != tc.tagName {
    			t.Errorf("expected tag webhook to have istio.io/tag=%s, found %s instead", tc.tagName, tag)
    		}
    
    		// ensure all webhooks have the correct client config
    		for _, webhook := range wh.Webhooks {
    			injectionWhConf := webhook.ClientConfig
    			if tc.whSVC != "" {
    				if injectionWhConf.Service == nil {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Jan 16 17:43:49 GMT 2024
    - 12.1K bytes
    - Viewed (0)
Back to top