Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for NewProbe (0.1 sec)

  1. 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)
  2. 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)
Back to top