Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 131 for uid (0.16 sec)

  1. cni/pkg/nodeagent/podcgroupns.go

    // dashes, which is how the UID is represented within Kubernetes.
    func canonicalizePodUID(uid string) types.UID {
    	return types.UID(strings.Map(func(r rune) rune {
    		if unicode.IsPunct(r) {
    			r = '-'
    		}
    		return r
    	}, uid))
    }
    
    // Cgroup represents a linux cgroup.
    type Cgroup struct {
    	HierarchyID    string
    	ControllerList string
    	GroupPath      string
    }
    
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Apr 12 21:47:31 GMT 2024
    - 11K bytes
    - Viewed (0)
  2. cmd/local-locker_test.go

    		uid := mustGetUUID()
    		arg := dsync.LockArgs{
    			UID:       uid,
    			Resources: []string{name},
    			Source:    t.Name(),
    			Owner:     "owner",
    			Quorum:    0,
    		}
    		ok, err := l.RLock(ctx, arg)
    		if err != nil {
    			t.Fatal(err)
    		}
    		if !ok {
    			t.Fatal("did not get write lock")
    		}
    		rUIDs = append(rUIDs, uid)
    
    		// RLock twice, different uid
    		uid = mustGetUUID()
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Mar 05 04:57:35 GMT 2023
    - 11.8K bytes
    - Viewed (0)
  3. cni/pkg/nodeagent/net_test.go

    			Namespace: "bar",
    			UID:       "123",
    		},
    		Spec: corev1.PodSpec{ServiceAccountName: "sa"},
    	}
    
    	// this is usually called after add. so manually add the pod uid for now
    	fakens := newFakeNs(123)
    	closed := fakens.closed
    	workload := WorkloadInfo{
    		Workload: podToWorkload(pod),
    		Netns:    fakens,
    	}
    	fixture.podNsMap.UpsertPodCacheWithNetns(string(pod.UID), workload)
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Apr 30 22:24:38 GMT 2024
    - 16.4K bytes
    - Viewed (0)
  4. manifests/addons/dashboards/istio-extension-dashboard.json

          "datasource": {
            "type": "prometheus",
            "uid": "${datasource}"
          },
          "gridPos": {
            "h": 1,
            "w": 24,
            "x": 0,
            "y": 0
          },
          "id": 3,
          "panels": [],
          "targets": [
            {
              "datasource": {
                "type": "prometheus",
                "uid": "${datasource}"
              },
              "refId": "A"
            }
          ],
    Json
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Wed Mar 27 03:47:04 GMT 2024
    - 20K bytes
    - Viewed (0)
  5. cni/pkg/nodeagent/ztunnelserver.go

    	if latestConn == nil {
    		return fmt.Errorf("no ztunnel connection")
    	}
    	uid := string(pod.ObjectMeta.UID)
    
    	r := &zdsapi.WorkloadRequest{
    		Payload: &zdsapi.WorkloadRequest_Add{
    			Add: &zdsapi.AddWorkload{
    				WorkloadInfo: podToWorkload(pod),
    				Uid:          uid,
    			},
    		},
    	}
    	log.Infof("About to send added pod: %s to ztunnel: %+v", uid, r)
    	data, err := proto.Marshal(r)
    	if err != nil {
    		return err
    	}
    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)
  6. cni/pkg/nodeagent/net.go

    func (s *NetServer) buildZtunnelSnapshot(ambientPodUIDs map[types.UID]*corev1.Pod) error {
    	// first add all the pods as empty:
    	for uid := range ambientPodUIDs {
    		s.currentPodSnapshot.Ensure(string(uid))
    	}
    
    	// populate full pod snapshot from cgroups
    	return s.scanProcForPodsAndCache(ambientPodUIDs)
    }
    
    func (s *NetServer) scanProcForPodsAndCache(pods map[types.UID]*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. manifests/addons/dashboards/istio-performance-dashboard.json

          "datasource": {
            "type": "prometheus",
            "uid": "${datasource}"
          },
          "gridPos": {
            "h": 1,
            "w": 24,
            "x": 0,
            "y": 0
          },
          "id": 21,
          "panels": [],
          "targets": [
            {
              "datasource": {
                "type": "prometheus",
                "uid": "${datasource}"
              },
              "refId": "A"
            }
          ],
    Json
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Wed Mar 27 03:47:04 GMT 2024
    - 39.6K bytes
    - Viewed (0)
  8. manifests/addons/dashboards/istio-mesh-dashboard.json

          "targets": [
            {
              "datasource": {
                "type": "prometheus",
                "uid": "${datasource}"
              },
              "refId": "A"
            }
          ],
          "transparent": true,
          "type": "text"
        },
        {
          "datasource": {
            "type": "prometheus",
            "uid": "${datasource}"
          },
          "fieldConfig": {
            "defaults": {
              "color": {
    Json
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu Mar 28 02:28:01 GMT 2024
    - 46.4K bytes
    - Viewed (0)
  9. docs/metrics/prometheus/grafana/node/minio-node.json

    {
      "annotations": {
        "list": [
          {
            "builtIn": 1,
            "datasource": {
              "type": "datasource",
              "uid": "grafana"
            },
            "enable": true,
            "hide": true,
            "iconColor": "rgba(0, 211, 255, 1)",
            "name": "Annotations & Alerts",
            "type": "dashboard"
          }
        ]
      },
      "__inputs": [
        {
          "name": "DS_PROMETHEUS",
          "label": "Prometheus",
    Json
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Mar 28 15:14:26 GMT 2024
    - 23.1K bytes
    - Viewed (0)
  10. cmd/local-locker.go

    			if !ok {
    				// Inconsistent. Delete UID.
    				delete(l.lockUID, formatUUID(args.UID, idx))
    				return idx > 0, nil
    			}
    			for i := range lris {
    				if lris[i].UID == args.UID {
    					lris[i].TimeLastRefresh = UTCNow()
    				}
    			}
    			idx++
    			resource, ok = l.lockUID[formatUUID(args.UID, idx)]
    			if !ok {
    				// No more resources for UID, but we did update at least one.
    				return true, nil
    			}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Feb 19 22:54:46 GMT 2024
    - 10.6K bytes
    - Viewed (0)
Back to top