Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for Readiness (0.24 sec)

  1. cni/pkg/nodeagent/healthServer.go

    package nodeagent
    
    import (
    	"net/http"
    	"sync/atomic"
    
    	"istio.io/istio/cni/pkg/constants"
    )
    
    // StartHealthServer initializes and starts a web server that exposes liveness and readiness endpoints at port 8000.
    func StartHealthServer() (installReady *atomic.Value, watchReady *atomic.Value) {
    	router := http.NewServeMux()
    	installReady, watchReady = initRouter(router)
    
    	go func() {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Mon Apr 15 01:29:35 GMT 2024
    - 1.8K bytes
    - Viewed (0)
  2. cmd/http-tracer.go

    	op = strings.Replace(op, "ClusterReadCheckHandler", "health.ClusterRead", 1)
    	op = strings.Replace(op, "LivenessCheckHandler", "health.Liveness", 1)
    	op = strings.Replace(op, "ReadinessCheckHandler", "health.Readiness", 1)
    	op = strings.Replace(op, "-fm", "", 1)
    	return op
    }
    
    // If trace is enabled, execute the request if it is traced by other handlers
    // otherwise, generate a trace event with request information but no response.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Nov 21 01:09:35 GMT 2023
    - 5.9K bytes
    - Viewed (0)
  3. internal/config/api/help.go

    			Optional:    true,
    			Type:        "duration",
    		},
    		config.HelpKV{
    			Key:         apiClusterDeadline,
    			Description: `set the deadline for cluster readiness check` + defaultHelpPostfix(apiClusterDeadline),
    			Optional:    true,
    			Type:        "duration",
    		},
    		config.HelpKV{
    			Key:         apiCorsAllowOrigin,
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Mar 15 01:07:19 GMT 2024
    - 4.7K bytes
    - Viewed (0)
  4. cmd/healthcheck-router.go

    	healthCheckClusterReadPath = "/cluster/read"
    	healthCheckPathPrefix      = minioReservedBucketPath + healthCheckPath
    )
    
    // registerHealthCheckRouter - add handler functions for liveness and readiness routes.
    func registerHealthCheckRouter(router *mux.Router) {
    	// Healthcheck router
    	healthRouter := router.PathPrefix(healthCheckPathPrefix).Subrouter()
    
    	// Cluster check handler to verify cluster is active
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Jan 23 11:12:47 GMT 2023
    - 2.3K bytes
    - Viewed (0)
  5. cni/pkg/cmd/root.go

    			}
    
    			ambientAgent.Start()
    			defer ambientAgent.Stop()
    
    			log.Info("Ambient node agent started, starting installer...")
    
    		} else {
    			// Ambient not enabled, so this readiness flag is no-op'd
    			watchServerReady.Store(true)
    		}
    
    		installer := install.NewInstaller(&cfg.InstallConfig, installDaemonReady)
    
    		repair.StartRepair(ctx, cfg.RepairConfig)
    
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Apr 30 22:24:38 GMT 2024
    - 12.5K bytes
    - Viewed (0)
  6. cni/pkg/constants/constants.go

    	RepairFieldSelectors     = "repair-field-selectors"
    )
    
    // Internal constants
    const (
    	DefaultKubeconfigMode = 0o600
    
    	CNIAddEventPath = "/cmdadd"
    	UDSLogPath      = "/log"
    
    	// K8s liveness and readiness endpoints
    	LivenessEndpoint  = "/healthz"
    	ReadinessEndpoint = "/readyz"
    	ReadinessPort     = "8000"
    )
    
    // Exposed for testing constants
    var (
    	CNIBinDir          = "/opt/cni/bin"
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Apr 30 22:24:38 GMT 2024
    - 2.7K bytes
    - Viewed (0)
  7. cmd/globals.go

    	globalLifecycleSys       *LifecycleSys
    	globalBucketSSEConfigSys *BucketSSEConfigSys
    	globalBucketTargetSys    *BucketTargetSys
    	// globalAPIConfig controls S3 API requests throttling,
    	// healthCheck readiness deadlines and cors settings.
    	globalAPIConfig = apiConfig{listQuorum: "strict", rootAccess: true}
    
    	globalStorageClass storageclass.Config
    
    	globalAuthNPlugin *idplugin.AuthNPlugin
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Apr 24 04:08:47 GMT 2024
    - 16.5K bytes
    - Viewed (0)
  8. cmd/healthcheck-handler.go

    			}
    			return
    		}
    	}
    	writeResponse(w, http.StatusOK, nil, mimeNone)
    }
    
    // LivenessCheckHandler checks whether MinIO is up. It differs from the
    // readiness handler since a failing liveness check causes pod restarts
    // in K8S environments. Therefore, it does not contact external systems.
    func LivenessCheckHandler(w http.ResponseWriter, r *http.Request) {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Apr 03 21:13:20 GMT 2024
    - 6.5K bytes
    - Viewed (0)
  9. operator/cmd/mesh/install.go

    }
    
    func addInstallFlags(cmd *cobra.Command, args *InstallArgs) {
    	cmd.PersistentFlags().StringSliceVarP(&args.InFilenames, "filename", "f", nil, filenameFlagHelpStr)
    	cmd.PersistentFlags().DurationVar(&args.ReadinessTimeout, "readiness-timeout", 300*time.Second,
    		"Maximum time to wait for Istio resources in each component to be ready.")
    	cmd.PersistentFlags().BoolVarP(&args.SkipConfirmation, "skip-confirmation", "y", false, skipConfirmationFlagHelpStr)
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu May 02 14:30:43 GMT 2024
    - 15.5K bytes
    - Viewed (1)
Back to top