Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for its (0.12 sec)

  1. istioctl/pkg/util/handlers/handlers.go

    	}
    	if len(infos) != 1 {
    		return nil, "", "", "", errors.New("expected a resource")
    	}
    	_, ok := infos[0].Object.(*corev1.Pod)
    	if ok {
    		// If we got a pod, just use its name
    		return nil, infos[0].Name, infos[0].Namespace, "", nil
    	}
    	namespace, selector, err := SelectorsForObject(infos[0].Object)
    	if err != nil {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Feb 06 15:01:41 GMT 2024
    - 6.2K bytes
    - Viewed (0)
  2. cni/pkg/plugin/sidecar_redirect.go

    			"includeOutboundPorts", isFound, valErr)
    	}
    	// Add 15090 to sync with non-cni injection template
    	// TODO: Revert below once https://github.com/istio/istio/pull/23037 or its follow up is merged.
    	redir.excludeInboundPorts = strings.TrimSpace(redir.excludeInboundPorts)
    	if len(redir.excludeInboundPorts) > 0 && redir.excludeInboundPorts[len(redir.excludeInboundPorts)-1] != ',' {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Jan 26 20:34:28 GMT 2024
    - 10.6K bytes
    - Viewed (0)
  3. cni/pkg/nodeagent/net.go

    		log.Errorf("failed to remove pod %s from host ipset, error was: %v", pod.Name, err)
    		return err
    	}
    
    	log.Info("in pod mode - deleting pod from ztunnel")
    
    	// pod is deleted, clean-up its open netns
    	openNetns := s.currentPodSnapshot.Take(string(pod.UID))
    	if openNetns == nil {
    		log.Warn("failed to find pod netns")
    	}
    
    	if err := s.ztunnelServer.PodDeleted(ctx, string(pod.UID)); err != nil {
    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)
  4. 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 May 08 22:53:08 GMT 2024
    - Last Modified: Fri Apr 12 21:47:31 GMT 2024
    - 12.4K bytes
    - Viewed (0)
  5. istioctl/pkg/authz/analyzer.go

    )
    
    // Analyzer that can be used to check authorization policy.
    type Analyzer struct {
    	listenerDump *envoy_admin.ListenersConfigDump
    }
    
    // NewAnalyzer creates a new analyzer for a given pod based on its envoy config.
    func NewAnalyzer(envoyConfig *configdump.Wrapper) (*Analyzer, error) {
    	listeners, err := envoyConfig.GetDynamicListenerDump(true)
    	if err != nil {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Wed Jul 13 01:59:17 GMT 2022
    - 2.1K bytes
    - Viewed (0)
  6. istioctl/pkg/validate/validate.go

    		}
    		if err = checkFields(un); err != nil {
    			return nil, err
    		}
    
    		// If object to validate has no namespace, set it (the validity of a CR
    		// may depend on its namespace; for example a VirtualService with exportTo=".")
    		if obj.Namespace == "" {
    			// If the user didn't specify --namespace, and is validating a CR with no namespace, use "default"
    			if defaultNamespace == "" {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Mon Jan 22 17:58:52 GMT 2024
    - 15K bytes
    - Viewed (0)
  7. cni/pkg/plugin/plugin.go

    	ExcludeNamespaces []string `json:"exclude_namespaces"`
    }
    
    // Config is whatever you expect your configuration json to be. This is whatever
    // is passed in on stdin. Your plugin may wish to expose its functionality via
    // runtime args, see CONVENTIONS.md in the CNI spec.
    type Config struct {
    	types.NetConf
    
    	// Add plugin-specific flags here
    	LogLevel        string     `json:"log_level"`
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Wed May 08 15:58:51 GMT 2024
    - 10.5K bytes
    - Viewed (0)
  8. cni/pkg/nodeagent/podcgroupns.go

    }
    
    func isNotNumber(r rune) bool {
    	return r < '0' || r > '9'
    }
    
    func (p *PodNetnsProcFinder) FindNetnsForPods(pods map[types.UID]*corev1.Pod) (PodToNetns, error) {
    	/*
    		for each process, find its netns inode,
    		if we already seen the inode, skip it
    		if we haven't seen the inode, check the process cgroup and see if we
    		can extract a pod uid from it.
    		if we can, open the netns, and save a map of uid->netns-fd
    	*/
    
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Apr 12 21:47:31 GMT 2024
    - 11K bytes
    - Viewed (0)
  9. istioctl/pkg/workload/workload.go

    This includes a MeshConfig resource, the cluster.env file, and necessary certificates and security tokens.
    Configure requires either the WorkloadGroup artifact path or its location on the API server.`,
    		Example: `  # configure example using a local WorkloadGroup artifact
      istioctl x workload entry configure -f workloadgroup.yaml -o config
    
      # configure example using the API server
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Wed Apr 17 20:06:41 GMT 2024
    - 25.5K bytes
    - Viewed (0)
  10. istioctl/pkg/describe/describe.go

    	var opts clioptions.ControlPlaneOptions
    	cmd := &cobra.Command{
    		Use:     "pod <pod>",
    		Aliases: []string{"po"},
    		Short:   "Describe pods and their Istio configuration [kube-only]",
    		Long: `Analyzes pod, its Services, DestinationRules, and VirtualServices and reports
    the configuration objects that affect that pod.`,
    		Example: `  istioctl experimental describe pod productpage-v1-c7765c886-7zzd4`,
    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