Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 615 for GetWork (0.17 sec)

  1. pkg/kubelet/util/queue/work_queue_test.go

    	expected := []types.UID{types.UID("foo1"), types.UID("foo2")}
    	compareResults(t, expected, q.GetWork())
    	compareResults(t, []types.UID{}, q.GetWork())
    	// Dial the time to 1 hour ahead.
    	clock.Step(time.Hour)
    	expected = []types.UID{types.UID("foo3"), types.UID("foo4")}
    	compareResults(t, expected, q.GetWork())
    	compareResults(t, []types.UID{}, q.GetWork())
    }
    
    func TestNewBasicWorkQueue(t *testing.T) {
    	tests := []struct {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  2. pkg/kubelet/util/queue/work_queue.go

    	"k8s.io/utils/clock"
    )
    
    // WorkQueue allows queuing items with a timestamp. An item is
    // considered ready to process if the timestamp has expired.
    type WorkQueue interface {
    	// GetWork dequeues and returns all ready items.
    	GetWork() []types.UID
    	// Enqueue inserts a new item or overwrites an existing item.
    	Enqueue(item types.UID, delay time.Duration)
    }
    
    type basicWorkQueue struct {
    	clock clock.Clock
    	lock  sync.Mutex
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Sep 10 10:20:09 UTC 2021
    - 1.7K bytes
    - Viewed (0)
  3. cluster/addons/kube-network-policies/kube-network-policies.yaml

    kind: DaemonSet
    metadata:
      name: kube-network-policies
      namespace: kube-system
      labels:
        tier: node
        app: kube-network-policies
        k8s-app: kube-network-policies
        addonmanager.kubernetes.io/mode: Reconcile
    spec:
      selector:
        matchLabels:
          app: kube-network-policies
      template:
        metadata:
          labels:
            tier: node
            app: kube-network-policies
            k8s-app: kube-network-policies
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 25 14:27:59 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  4. releasenotes/notes/network-gw-metadata.yaml

    apiVersion: release-notes/v2
    kind: bug-fix
    area: telemetry
    releaseNotes:
      - |
        **Fixed** a bug where `destination_cluster` reported by client proxies may be wrong
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Jan 02 03:59:34 UTC 2024
    - 220 bytes
    - Viewed (0)
  5. cluster/addons/kube-network-policies/kube-network-policies-rbac.yaml

    metadata:
      name: kube-network-policies
      labels:
        addonmanager.kubernetes.io/mode: Reconcile
    roleRef:
      apiGroup: rbac.authorization.k8s.io
      kind: ClusterRole
      name: system:network-policies
    subjects:
    - kind: ServiceAccount
      name: kube-network-policies
      namespace: kube-system
    ---
    apiVersion: v1
    kind: ServiceAccount
    metadata:
      name: kube-network-policies
      namespace: kube-system
      labels:
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Apr 21 10:01:31 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  6. pilot/pkg/config/kube/gateway/testdata/deployment/waypoint-no-network-label.yaml

    metadata:
      annotations: {}
      labels:
        gateway.istio.io/managed: istio.io-mesh-controller
        gateway.networking.k8s.io/gateway-name: namespace
        istio.io/gateway-name: namespace
        topology.istio.io/network: network-1
      name: namespace
      namespace: default
      ownerReferences:
      - apiVersion: gateway.networking.k8s.io/v1beta1
        kind: Gateway
        name: namespace
        uid: ""
    ---
    apiVersion: apps/v1
    kind: Deployment
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 29 22:41:03 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  7. pkg/kube/inject/testdata/inject/hello-host-network-with-ns.yaml

    kind: Deployment
    metadata:
      name: hello-host-network
      namespace: sample
    spec:
      replicas: 7
      selector:
        matchLabels:
          app: hello-host-network
          tier: backend
          track: stable
      template:
        metadata:
          labels:
            app: hello-host-network
            tier: backend
            track: stable
        spec:
          containers:
            - name: hello-host-network
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Dec 14 17:26:47 UTC 2021
    - 556 bytes
    - Viewed (0)
  8. pkg/kube/inject/testdata/inject/hello-host-network-with-ns.yaml.injected

    kind: Deployment
    metadata:
      creationTimestamp: null
      name: hello-host-network
      namespace: sample
    spec:
      replicas: 7
      selector:
        matchLabels:
          app: hello-host-network
          tier: backend
          track: stable
      strategy: {}
      template:
        metadata:
          creationTimestamp: null
          labels:
            app: hello-host-network
            tier: backend
            track: stable
        spec:
          containers:
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Dec 14 17:26:47 UTC 2021
    - 648 bytes
    - Viewed (0)
  9. cmd/metrics-v3-system-network.go

    	internodeRecvBytesTotalMD = NewCounterMD(internodeRecvBytesTotal,
    		"Total number of bytes received from other peer nodes")
    )
    
    // loadNetworkInternodeMetrics - reads internode network metrics.
    //
    // This is a `MetricsLoaderFn`.
    func loadNetworkInternodeMetrics(ctx context.Context, m MetricValues, _ *metricsCache) error {
    	connStats := globalConnStats.toServerConnStats()
    	rpcStats := rest.GetRPCStats()
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Sun Mar 10 09:15:15 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  10. manifests/charts/istio-cni/templates/network-attachment-definition.yaml

    Ben Leggett <******@****.***> 1715982749 -0400
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri May 17 21:52:29 UTC 2024
    - 231 bytes
    - Viewed (0)
Back to top