Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 28 for HealthChecks (0.2 sec)

  1. staging/src/k8s.io/apiserver/pkg/server/config.go

    // the config unless we explicitly want to add a healthcheck only to a specific health endpoint.
    func (c *Config) AddHealthChecks(healthChecks ...healthz.HealthChecker) {
    	c.HealthzChecks = append(c.HealthzChecks, healthChecks...)
    	c.LivezChecks = append(c.LivezChecks, healthChecks...)
    	c.ReadyzChecks = append(c.ReadyzChecks, healthChecks...)
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 28 08:48:22 UTC 2024
    - 47.7K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiserver/pkg/server/options/etcd_test.go

    		})
    	}
    }
    
    func healthChecksAreEqual(t *testing.T, want []string, healthChecks []healthz.HealthChecker, checkerType string) {
    	t.Helper()
    
    	wantSet := sets.NewString(want...)
    	gotSet := sets.NewString()
    
    	for _, h := range healthChecks {
    		gotSet.Insert(h.Name())
    	}
    
    	gotSet.Delete("log", "ping") // not relevant for our tests
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 16.4K bytes
    - Viewed (0)
  3. cni/pkg/nodeagent/net.go

    		} else {
    			addedIps, err := addPodToHostNSIpset(pod, podIPs, &s.hostsideProbeIPSet)
    			if err != nil {
    				log.Errorf("pod %s has IP collision, pod will be skipped and will fail healthchecks", pod.Name, podIPs)
    			}
    			addedIPSnapshot = append(addedIPSnapshot, addedIps...)
    		}
    
    	}
    	return pruneHostIPset(sets.New(addedIPSnapshot...), &s.hostsideProbeIPSet)
    }
    
    // addPodToHostNSIpset:
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 05:10:23 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  4. cmd/kubeadm/app/cmd/upgrade/common.go

    		// allows to not specify a target version in which case KubernetesVersion will always hold the currently
    		// installed one.
    		initCfg.KubernetesVersion = newK8sVersion
    	}
    
    	// Run healthchecks against the cluster
    	if err := upgrade.CheckClusterHealth(client, &initCfg.ClusterConfiguration, ignorePreflightErrorsSet, printer); err != nil {
    		return nil, nil, nil, nil, errors.Wrap(err, "[upgrade/health] FATAL")
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 16 08:34:39 UTC 2024
    - 10.1K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apiserver/pkg/server/options/encryptionconfig/config.go

    	// Transformers is a list of value.Transformer that will be used to encrypt and decrypt data.
    	Transformers map[schema.GroupResource]storagevalue.Transformer
    
    	// HealthChecks is a list of healthz.HealthChecker that will be used to check the health of the encryption providers.
    	HealthChecks []healthz.HealthChecker
    
    	// EncryptionFileContentHash is the hash of the encryption config file.
    	EncryptionFileContentHash string
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 16 16:56:39 UTC 2024
    - 41.2K bytes
    - Viewed (0)
  6. pkg/proxy/servicechangetracker_test.go

    	}
    	if len(result.DeletedUDPClusterIPs) != 0 {
    		t.Errorf("expected stale UDP services length 0, got %d", len(result.DeletedUDPClusterIPs))
    	}
    
    	// No proxied services, so no healthchecks
    	healthCheckNodePorts := fp.svcPortMap.HealthCheckNodePorts()
    	if len(healthCheckNodePorts) != 0 {
    		t.Errorf("expected healthcheck ports length 0, got %d", len(healthCheckNodePorts))
    	}
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 33.7K bytes
    - Viewed (0)
  7. staging/src/k8s.io/apiserver/pkg/storage/storagebackend/factory/etcd3.go

    	return func() error {
    		// Given that client is closed on shutdown we hold the lock for
    		// the entire period of healthcheck call to ensure that client will
    		// not be closed during healthcheck.
    		// Given that healthchecks has a 2s timeout, worst case of blocking
    		// shutdown for additional 2s seems acceptable.
    		lock.RLock()
    		defer lock.RUnlock()
    
    		if clientErr != nil {
    			return clientErr
    		}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 07:56:39 UTC 2024
    - 15.1K bytes
    - Viewed (0)
  8. cmd/erasure-sets.go

    						if globalDriveMonitoring {
    							go xldisk.monitorDiskWritable(xldisk.diskCtx)
    						}
    					}
    				} else {
    					disk.Close() // Close the remote storage client, re-initialize with healthchecks.
    					disk, err = newStorageRESTClient(disk.Endpoint(), true, globalGrid.Load())
    					if err != nil {
    						continue
    					}
    				}
    
    				s.erasureDisks[m][n] = disk
    
    				if disk.IsLocal() {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 37.7K bytes
    - Viewed (0)
  9. prow/config/calico.yaml

                    description: 'EtcdV3CompactionPeriod is the period between etcdv3
                      compaction requests. Set to 0 to disable. [Default: 10m]'
                    type: string
                  healthChecks:
                    description: 'HealthChecks enables or disables support for health
                      checks [Default: Enabled]'
                    type: string
                  logSeverityScreen:
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 21 18:32:01 UTC 2024
    - 246.5K bytes
    - Viewed (0)
  10. pkg/proxy/ipvs/proxier_test.go

    	}
    
    	if len(result.DeletedUDPClusterIPs) != 0 {
    		t.Errorf("expected stale UDP services length 0, got %d", len(result.DeletedUDPClusterIPs))
    	}
    
    	// No proxied services, so no healthchecks
    	healthCheckNodePorts := fp.svcPortMap.HealthCheckNodePorts()
    	if len(healthCheckNodePorts) != 0 {
    		t.Errorf("expected healthcheck ports length 0, got %d", len(healthCheckNodePorts))
    	}
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Apr 27 01:31:57 UTC 2024
    - 186.8K bytes
    - Viewed (0)
Back to top