Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 60 for finds (2.35 sec)

  1. cni/pkg/repair/netns.go

    			// Unexpected... we will use it, but only if we find nothing without errors
    			log.Warnf("failed to read proc %v stats: %v", p.PID, err)
    			if best == "" {
    				best = ns
    			}
    			continue
    		}
    		// Get the oldest one.
    		if s.Starttime < oldest {
    			oldest = s.Starttime
    			best = ns
    		}
    	}
    	if best == "" {
    		return "", fmt.Errorf("failed to find network namespace")
    	}
    	return best, nil
    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)
  2. istioctl/pkg/metrics/metrics.go

    		Long: `
    Prints the metrics for the specified service(s) when running in Kubernetes.
    
    This command finds a Prometheus pod running in the specified istio system
    namespace. It then executes a series of queries per requested workload to
    find the following top-level workload metrics: total requests per second,
    error rate, and request latency at p50, p90, and p99 percentiles. The
    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)
  3. common/Makefile.common.mk

    tidy-go:
    	@find -name go.mod -execdir go mod tidy \;
    
    mod-download-go:
    	@-GOFLAGS="-mod=readonly" find -name go.mod -execdir go mod download \;
    # go mod tidy is needed with Golang 1.16+ as go mod download affects go.sum
    # https://github.com/golang/go/issues/43994
    	@find -name go.mod -execdir go mod tidy \;
    
    format-go: tidy-go
    Plain Text
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Sat Mar 02 20:07:36 GMT 2024
    - 5.9K bytes
    - Viewed (0)
  4. common-protos/k8s.io/apimachinery/pkg/apis/meta/v1beta1/generated.proto

    message PartialObjectMetadataList {
      // Standard list metadata.
      // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
      // +optional
      optional k8s.io.apimachinery.pkg.apis.meta.v1.ListMeta metadata = 2;
    
      // items contains each of the included items.
      repeated k8s.io.apimachinery.pkg.apis.meta.v1.PartialObjectMetadata items = 1;
    Plain Text
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Mon Mar 11 18:43:24 GMT 2024
    - 1.5K bytes
    - Viewed (0)
  5. cni/pkg/iptables/iptables_linux.go

    }
    
    func forEachLoopbackRoute(cfg *Config, f func(*netlink.Route) error) error {
    	loopbackLink, err := netlink.LinkByName("lo")
    	if err != nil {
    		return fmt.Errorf("failed to find 'lo' link: %v", err)
    	}
    
    	// Set up netlink routes for localhost
    	cidrs := []string{"0.0.0.0/0"}
    	if cfg.EnableIPv6 {
    		cidrs = append(cidrs, "0::0/0")
    	}
    	for _, fullCIDR := range cidrs {
    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/repair/repaircontroller.go

    // This differs from the general CNI plugin flow, which triggers before the pod fully starts.
    // Additionally, we need to jump through hoops to find the network namespace.
    func (c *Controller) repairPod(pod *corev1.Pod) error {
    	m := podsRepaired.With(typeLabel.Value(repairType))
    	log := repairLog.WithLabels("pod", pod.Namespace+"/"+pod.Name)
    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)
  7. istioctl/pkg/tag/generate_test.go

    				tc.numWebhooks, len(wh.Webhooks))
    		}
    		tag, exists := wh.ObjectMeta.Labels[IstioTagLabel]
    		if !exists {
    			t.Errorf("expected tag webhook to have %s label, did not find", IstioTagLabel)
    		}
    		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
    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)
  8. cni/README.md

    - In ambient mode, the CNI plugin does not configure any networking, but is only responsible for synchronously pushing new pod events back up to an ambient watch server which runs as part of the Istio CNI node agent. The ambient server will find the pod netns and configure networking inside that pod via iptables. The ambient server will additionally watch enabled namespaces, and enroll already-started-but-newly-enrolled pods in a similar fashion.
    
    ## Privileges required
    
    Plain Text
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri May 03 19:29:42 GMT 2024
    - 12.3K bytes
    - Viewed (0)
  9. istioctl/pkg/tag/tag.go

    	if err != nil {
    		return fmt.Errorf("failed to retrieve tag with name %s: %v", tagName, err)
    	}
    	if len(webhooks) == 0 {
    		return fmt.Errorf("cannot remove tag %q: cannot find MutatingWebhookConfiguration for tag", tagName)
    	}
    
    	taggedNamespaces, err := GetNamespacesWithTag(ctx, kubeClient, tagName)
    	if err != 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. common-protos/k8s.io/api/apps/v1beta2/generated.proto

    }
    
    // ReplicaSetList is a collection of ReplicaSets.
    message ReplicaSetList {
      // Standard list metadata.
      // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
      // +optional
      optional k8s.io.apimachinery.pkg.apis.meta.v1.ListMeta metadata = 1;
    
      // List of ReplicaSets.
      // More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller
    Plain Text
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Mon Mar 11 18:43:24 GMT 2024
    - 36.4K bytes
    - Viewed (0)
Back to top