Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 21 for could (0.12 sec)

  1. istioctl/pkg/admin/istiodconfig.go

    			portForwarder, err := client.NewPortForwarder(podName, ns, "", 0, controlzPort)
    			if err != nil {
    				return fmt.Errorf("could not build port forwarder for ControlZ %s: %v", podName, err)
    			}
    			defer portForwarder.Close()
    			err = portForwarder.Start()
    			if err != nil {
    				return fmt.Errorf("could not start port forwarder for ControlZ %s: %v", podName, err)
    			}
    
    			ctrlzClient := &ControlzClient{
    				baseURL: &url.URL{
    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)
  2. istioctl/pkg/writer/ztunnel/configdump/certificates.go

    	expDate, err := time.Parse(time.RFC3339, cert.ExpirationTime)
    	if err != nil {
    		log.Errorf("certificate timestamp (%v) could not be parsed: %v", cert.ExpirationTime, err)
    		return false
    	}
    	fromDate, err := time.Parse(time.RFC3339, cert.ValidFrom)
    	if err != nil {
    		log.Errorf("certificate timestamp (%v) could not be parsed: %v", cert.ValidFrom, err)
    		return false
    	}
    	if today.After(fromDate) && today.Before(expDate) {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu Apr 25 16:38:16 GMT 2024
    - 3.2K bytes
    - Viewed (0)
  3. 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` -
    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)
  4. istioctl/pkg/proxystatus/proxystatus.go

    				} else {
    					path := "config_dump"
    					envoyDump, err = kubeClient.EnvoyDo(context.TODO(), podName, ns, "GET", path)
    				}
    				if err != nil {
    					return fmt.Errorf("could not contact sidecar: %w", err)
    				}
    
    				xdsRequest := discovery.DiscoveryRequest{
    					ResourceNames: []string{fmt.Sprintf("%s.%s", podName, ns)},
    					TypeUrl:       pilotxds.TypeDebugConfigDump,
    				}
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Sat Apr 13 05:23:38 GMT 2024
    - 6.2K bytes
    - Viewed (0)
  5. manifests/charts/istio-control/istio-discovery/values.yaml

        #   apparmor.security.beta.kubernetes.io/defaultProfileName: runtime/default
        #
        # The PSP controller would add corresponding annotations to the pod spec for each container. However, this happens before
        # the inject adds additional containers, so we must specify them explicitly here. With the above example, we could specify:
        # injectedAnnotations:
        #   container.apparmor.security.beta.kubernetes.io/istio-init: runtime/default
    Others
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Mon Apr 22 22:00:40 GMT 2024
    - 20.3K bytes
    - Viewed (0)
  6. cni/pkg/nodeagent/net.go

    	s.iptablesConfigurator.DeleteHostRules()
    
    	log.Debug("destroying host ipset")
    	s.hostsideProbeIPSet.Flush()
    	if err := s.hostsideProbeIPSet.DestroySet(); err != nil {
    		log.Warnf("could not destroy host ipset on shutdown")
    	}
    	log.Debug("stopping ztunnel server")
    	s.ztunnelServer.Close()
    }
    
    func (s *NetServer) rescanPod(pod *corev1.Pod) error {
    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)
  7. cni/pkg/plugin/plugin.go

    		if err != nil {
    			return nil, fmt.Errorf("could not serialize prevResult: %v", err)
    		}
    		res, err := version.NewResult(conf.CNIVersion, resultBytes)
    		if err != nil {
    			return nil, fmt.Errorf("could not parse prevResult: %v", err)
    		}
    		conf.RawPrevResult = nil
    		conf.PrevResult, err = cniv1.NewResultFromResult(res)
    		if err != nil {
    			return nil, fmt.Errorf("could not convert result to current version: %v", err)
    		}
    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. istioctl/pkg/metrics/metrics.go

    		if err != nil {
    			return fmt.Errorf("could not build metrics for workload '%s': %v", workload, err)
    		}
    
    		printMetrics(c.OutOrStdout(), sm)
    	}
    	return nil
    }
    
    func prometheusAPI(address string) (promv1.API, error) {
    	promClient, err := api.NewClient(api.Config{Address: address})
    	if err != nil {
    		return nil, fmt.Errorf("could not build prometheus client: %v", err)
    	}
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Sat Apr 13 05:23:38 GMT 2024
    - 8.4K bytes
    - Viewed (0)
  9. cni/pkg/iptables/iptables.go

    	// This is effectively an analog for Istio's old-style podSpec-based health check rewrites.
    	// Before Istio would update the pod manifest to rewrite healthchecks to go to sidecar Envoy port 15021,
    	// so that it could distinguish things that can be unauthenticated (healthchecks) from other kinds of node traffic
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue May 07 19:54:50 GMT 2024
    - 19.7K bytes
    - Viewed (0)
  10. istioctl/pkg/dashboard/dashboard.go

    	var err error
    	for _, localPort := range portPrefs {
    		var fw kube.PortForwarder
    		fw, err = client.NewPortForwarder(podName, namespace, localAddress, localPort, remotePort)
    		if err != nil {
    			return fmt.Errorf("could not build port forwarder for %s: %v", flavor, err)
    		}
    
    		if err = fw.Start(); err != nil {
    			fw.Close()
    			// Try the next port
    			continue
    		}
    
    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)
Back to top