- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for NewProbe (0.17 sec)
-
pilot/cmd/pilot-agent/status/grpcready/probe.go
type probe struct { sync.RWMutex bootstrapPath string bootstrap *grpcxds.Bootstrap } // NewProbe returns a probe that checks if a valid bootstrap file can be loaded once. // If that bootstrap file has a file_watcher cert provider, we also ensure those certs exist. func NewProbe(bootstrapPath string) ready.Prober { return &probe{bootstrapPath: bootstrapPath} } func (p *probe) Check() error {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Oct 28 16:58:31 UTC 2021 - 1.9K bytes - Viewed (0) -
pkg/kubelet/prober/scale_test.go
// use only liveness probes for simplicity, initial state is success for them pod.Spec.Containers = append(pod.Spec.Containers, v1.Container{ Name: fmt.Sprintf("container%d", j), LivenessProbe: newProbe(handler), }) pod.Status.ContainerStatuses = append(pod.Status.ContainerStatuses, v1.ContainerStatus{ Name: fmt.Sprintf("container%d", j), ContainerID: fmt.Sprintf("pod%d://container%d", i, j),
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Aug 16 16:33:01 UTC 2023 - 8.2K bytes - Viewed (0) -
pilot/cmd/pilot-agent/status/server.go
AdminPort: config.AdminPort, Context: config.Context, NoEnvoy: config.NoEnvoy, }) } if config.GRPCBootstrap != "" { probes = append(probes, grpcready.NewProbe(config.GRPCBootstrap)) } probes = append(probes, config.Probes...) registry := config.PrometheusRegistry if registry == nil { var err error registry, err = initializeMonitoring()
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu May 23 15:07:03 UTC 2024 - 31.1K bytes - Viewed (0)