Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for lives (0.04 sec)

  1. pkg/proxy/util/linebuffer.go

    	String() string
    
    	// Lines returns the number of lines in the buffer. Note that more precisely, this
    	// returns the number of times Write() or WriteBytes() was called; it assumes that
    	// you never wrote any newlines to the buffer yourself.
    	Lines() int
    }
    
    var _ logr.Marshaler = &realLineBuffer{}
    
    type realLineBuffer struct {
    	b     bytes.Buffer
    	lines int
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 22 05:08:41 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  2. pkg/kubelet/util/swap/swap_util_test.go

    			procSwapsContent: `
    Filename				Type		Size		Used		Priority
    /dev/dm-1               partition	33554428	0		-2
    /dev/zram0              partition	8388604		0		100
    `,
    			expectedEnabled: true,
    		},
    		{
    			name: "empty lines",
    			procSwapsContent: `
    
    `,
    			expectedEnabled: false,
    		},
    	}
    
    	for _, tc := range testCases {
    		t.Run(tc.name, func(t *testing.T) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 21 10:18:16 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiserver/pkg/admission/plugin/resourcequota/resource_access.go

    	if err != nil {
    		return nil, fmt.Errorf("error resolving quota: %v", err)
    	}
    
    	// if there are no items held in our indexer, check our live-lookup LRU, if that misses, do the live lookup to prime it.
    	if len(items) == 0 {
    		lruItemObj, ok := e.liveLookupCache.Get(namespace)
    		if !ok || lruItemObj.(liveLookupEntry).expiry.Before(time.Now()) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 10 13:54:56 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  4. cluster/addons/metrics-server/metrics-server-deployment.yaml

              httpGet:
                path: /readyz
                port: https
                scheme: HTTPS
              periodSeconds: 10
              failureThreshold: 3
            livenessProbe:
              httpGet:
                path: /livez
                port: https
                scheme: HTTPS
              periodSeconds: 10
              failureThreshold: 3
            volumeMounts:
            - mountPath: /tmp
              name: tmp-dir
          - name: metrics-server-nanny
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 25 07:50:56 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  5. pkg/kubelet/util/util_windows.go

    	}
    	// windows pipes are expected to use forward slashes: https://learn.microsoft.com/windows/win32/ipc/pipe-names
    	// so using `url` like we do on unix gives us unclear benefits - see https://github.com/kubernetes/kubernetes/issues/78628
    	// So we just construct the path from scratch.
    	// Format: \\ServerName\pipe\PipeName
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 14 08:58:18 UTC 2024
    - 3K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apiserver/pkg/server/healthz.go

    }
    
    // AddBootSequenceHealthChecks adds health checks to the old healthz endpoint (for backwards compatibility reasons)
    // as well as livez and readyz. The livez grace period is defined by the value of the
    // command-line flag --livez-grace-period; before the grace period elapses, the livez health checks
    // will default to healthy. One may want to set a grace period in order to prevent the kubelet from restarting
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 27 19:11:24 UTC 2024
    - 6K bytes
    - Viewed (0)
  7. hack/verify-test-featuregates.sh

    # ensure all generic features are added in alphabetic order
    lines=$(git grep 'genericfeatures[.].*:' -- pkg/features/kube_features.go)
    sorted_lines=$(echo "$lines" | sort -f)
    if [[ "$lines" != "$sorted_lines" ]]; then
      echo "Generic features in pkg/features/kube_features.go not sorted" >&2
      echo >&2
      echo "Expected:" >&2
      echo "$sorted_lines" >&2
      echo >&2
      echo "Got:" >&2
      echo "$lines" >&2
      rc=1
    fi
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  8. cmd/kube-apiserver/app/options/options.go

    func (s *ServerRunOptions) Flags() (fss cliflag.NamedFlagSets) {
    	s.Options.AddFlags(&fss)
    	s.CloudProvider.AddFlags(fss.FlagSet("cloud provider"))
    
    	// Note: the weird ""+ in below lines seems to be the only way to get gofmt to
    	// arrange these text blocks sensibly. Grrr.
    	fs := fss.FlagSet("misc")
    
    	fs.BoolVar(&s.AllowPrivileged, "allow-privileged", s.AllowPrivileged,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Apr 27 12:19:56 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  9. pkg/scheduler/framework/plugins/tainttoleration/taint_toleration.go

    	}
    
    	s, ok := c.(*preScoreState)
    	if !ok {
    		return nil, fmt.Errorf("%+v convert to tainttoleration.preScoreState error", c)
    	}
    	return s, nil
    }
    
    // CountIntolerableTaintsPreferNoSchedule gives the count of intolerable taints of a pod with effect PreferNoSchedule
    func countIntolerableTaintsPreferNoSchedule(taints []v1.Taint, tolerations []v1.Toleration) (intolerableTaints int) {
    	for _, taint := range taints {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 13:26:09 UTC 2024
    - 9.2K bytes
    - Viewed (0)
Back to top