Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 700 for Healthy (0.23 sec)

  1. pkg/kubelet/pleg/evented_test.go

    	}
    
    	// test if healthy when event channel has 5 events
    	isHealthy, err := pleg.Healthy()
    	require.NoError(t, err)
    	assert.Equal(t, true, isHealthy)
    
    	// send remaining 95 events and make channel out of capacity
    	for _, event := range events[5:] {
    		pleg.eventChannel <- event
    	}
    	// pleg is unhealthy when channel is out of capacity
    	isHealthy, err = pleg.Healthy()
    	require.Error(t, err)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Apr 01 07:45:05 UTC 2023
    - 6.4K bytes
    - Viewed (0)
  2. pkg/kube/inject/testdata/inject/merge-probers.yaml.injected

            - name: TRUST_DOMAIN
              value: cluster.local
            - name: ISTIO_KUBE_APP_PROBERS
              value: '{"/app-health/hello/livez":{"httpGet":{"port":80}},"/app-health/hello/readyz":{"httpGet":{"port":3333}},"/app-health/new/livez":{"httpGet":{"path":"/testLive","port":8008}},"/app-health/world/livez":{"httpGet":{"port":90}}}'
            image: gcr.io/istio-testing/proxyv2:latest
            lifecycle:
              postStart:
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Oct 13 23:27:34 UTC 2023
    - 8.1K bytes
    - Viewed (0)
  3. common-protos/k8s.io/api/policy/v1beta1/generated.proto

      // but not yet healthy can be evicted only if the guarded application is not
      // disrupted (status.currentHealthy is at least equal to status.desiredHealthy).
      // Healthy pods will be subject to the PDB for eviction.
      //
      // AlwaysAllow policy means that all running pods (status.phase="Running"),
      // but not yet healthy are considered disrupted and can be evicted regardless
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Mar 11 18:43:24 UTC 2024
    - 19.6K bytes
    - Viewed (0)
  4. pkg/kube/inject/testdata/inject/hello-probes-localhost.yaml

              livenessProbe:
                httpGet:
                  port: http
              readinessProbe:
                exec:
                  command:
                    - cat
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Apr 26 16:51:17 UTC 2024
    - 956 bytes
    - Viewed (0)
  5. staging/src/k8s.io/apiserver/pkg/server/healthz.go

    	// we opt for a delay of zero here, because this entrypoint adds generic health checks
    	// and not health checks which are specifically related to kube-apiserver boot-sequences.
    	return s.addHealthChecks(0, checks...)
    }
    
    // AddBootSequenceHealthChecks adds health checks to the old healthz endpoint (for backwards compatibility reasons)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 27 19:11:24 UTC 2024
    - 6K bytes
    - Viewed (0)
  6. okhttp/src/test/java/okhttp3/ServerTruncatesRequestTest.kt

        }
      }
    
      private fun makeSimpleCall() {
        server.enqueue(MockResponse(body = "healthy"))
        val callB = client.newCall(Request(server.url("/")))
        callB.execute().use { response ->
          assertThat(response.body.string()).isEqualTo("healthy")
        }
      }
    
      private fun enableProtocol(protocol: Protocol) {
        enableTls()
        client =
          client.newBuilder()
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 9.5K bytes
    - Viewed (0)
  7. pkg/registry/core/pod/storage/eviction_test.go

    			podName:             "t7",
    			expectedDeleteCount: 0,
    			podTerminating:      false,
    			podPhase:            api.PodRunning,
    			prc: &api.PodCondition{
    				Type:   api.PodReady,
    				Status: api.ConditionTrue,
    			},
    		},
    		{
    			name: "matching pdbs with disruptions allowed, pod running, pod healthy, healthy pod ours, deletes pod by honoring the PDB",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 09:26:37 UTC 2024
    - 40K bytes
    - Viewed (0)
  8. pilot/test/xdstest/extract.go

    				addrString = fmt.Sprintf("%s;%s", internalAddr, destinationAddr)
    			}
    			if lb.HealthStatus == core.HealthStatus_HEALTHY {
    				healthy = append(healthy, addrString)
    			} else {
    				unhealthy = append(unhealthy, addrString)
    			}
    		}
    	}
    	return healthy, unhealthy
    }
    
    // ExtractEndpoints returns all endpoints in the load assignment (including unhealthy endpoints)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Dec 19 22:42:42 UTC 2023
    - 13.9K bytes
    - Viewed (0)
  9. pkg/kubelet/pleg/generic_test.go

    	pleg, _, clock := testPleg.pleg, testPleg.runtime, testPleg.clock
    	ok, _ := pleg.Healthy()
    	assert.False(t, ok, "pleg should be unhealthy")
    
    	// Advance the clock without any relisting.
    	clock.Step(time.Minute * 10)
    	ok, _ = pleg.Healthy()
    	assert.False(t, ok, "pleg should be unhealthy")
    
    	// Relist and than advance the time by 1 minute. pleg should be healthy
    	// because this is within the allowed limit.
    	pleg.Relist()
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 07 08:12:16 UTC 2024
    - 24.8K bytes
    - Viewed (0)
  10. pkg/registry/core/pod/storage/eviction.go

    	}
    
    	// At this point there was either no PDB or we succeeded in decrementing or
    	// the pod was unhealthy (unready) and we have enough healthy replicas
    
    	deleteOptions := originalDeleteOptions
    
    	// Set deleteOptions.Preconditions.ResourceVersion to ensure
    	// the pod hasn't been considered healthy (ready) since we calculated
    	if updateDeletionOptions {
    		// Take a copy so we can compare to client-provied Options later.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Aug 08 11:58:48 UTC 2023
    - 18.2K bytes
    - Viewed (0)
Back to top