Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 14 for enableSystemLogHandler (0.28 sec)

  1. pkg/kubelet/apis/config/scheme/testdata/KubeletConfiguration/after/v1beta1.yaml

    cpuCFSQuotaPeriod: 100ms
    cpuManagerPolicy: none
    cpuManagerReconcilePeriod: 10s
    enableControllerAttachDetach: true
    enableDebugFlagsHandler: true
    enableDebuggingHandlers: true
    enableProfilingHandler: true
    enableServer: true
    enableSystemLogHandler: true
    enableSystemLogQuery: false
    enforceNodeAllocatable:
    - pods
    eventBurst: 100
    eventRecordQPS: 50
    evictionPressureTransitionPeriod: 5m0s
    failSwapOn: true
    fileCheckFrequency: 20s
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 05 05:07:06 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  2. pkg/kubelet/apis/config/scheme/testdata/KubeletConfiguration/roundtrip/default/v1beta1.yaml

    cpuCFSQuotaPeriod: 100ms
    cpuManagerPolicy: none
    cpuManagerReconcilePeriod: 10s
    enableControllerAttachDetach: true
    enableDebugFlagsHandler: true
    enableDebuggingHandlers: true
    enableProfilingHandler: true
    enableServer: true
    enableSystemLogHandler: true
    enableSystemLogQuery: false
    enforceNodeAllocatable:
    - pods
    eventBurst: 10
    eventRecordQPS: 5
    evictionPressureTransitionPeriod: 5m0s
    failSwapOn: true
    fileCheckFrequency: 20s
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 05 05:07:06 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  3. pkg/kubelet/apis/config/v1beta1/defaults_test.go

    				Logging: logsapi.LoggingConfiguration{
    					Format:         "text",
    					FlushFrequency: logsapi.TimeOrMetaDuration{Duration: metav1.Duration{Duration: 5 * time.Second}, SerializeAsString: true},
    				},
    				EnableSystemLogHandler:        utilpointer.Bool(true),
    				EnableProfilingHandler:        utilpointer.Bool(true),
    				EnableDebugFlagsHandler:       utilpointer.Bool(true),
    				SeccompDefault:                utilpointer.Bool(false),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 05 21:10:42 UTC 2024
    - 51K bytes
    - Viewed (0)
  4. pkg/kubelet/apis/config/v1beta1/defaults.go

    		obj.VolumePluginDir = DefaultVolumePluginDir
    	}
    	// Use the Default LoggingConfiguration option
    	logsapi.SetRecommendedLoggingConfiguration(&obj.Logging)
    	if obj.EnableSystemLogHandler == nil {
    		obj.EnableSystemLogHandler = utilpointer.Bool(true)
    	}
    	if obj.EnableProfilingHandler == nil {
    		obj.EnableProfilingHandler = utilpointer.Bool(true)
    	}
    	if obj.EnableDebugFlagsHandler == nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Feb 16 17:55:59 UTC 2024
    - 9.7K bytes
    - Viewed (0)
  5. pkg/kubelet/apis/config/validation/validation_test.go

    		},
    		errMsg: "invalid configuration: NodeLogQuery feature gate is required for enableSystemLogHandler",
    	}, {
    		name: "enableSystemLogQuery is enabled without enableSystemLogHandler",
    		configure: func(conf *kubeletconfig.KubeletConfiguration) *kubeletconfig.KubeletConfiguration {
    			conf.FeatureGates = map[string]bool{"NodeLogQuery": true}
    			conf.EnableSystemLogHandler = false
    			conf.EnableSystemLogQuery = true
    			return conf
    		},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 05 21:10:42 UTC 2024
    - 28.7K bytes
    - Viewed (0)
  6. pkg/kubelet/apis/config/validation/validation.go

    		allErrors = append(allErrors, fmt.Errorf("invalid configuration: NodeLogQuery feature gate is required for enableSystemLogHandler"))
    	}
    	if kc.EnableSystemLogQuery && !kc.EnableSystemLogHandler {
    		allErrors = append(allErrors,
    			fmt.Errorf("invalid configuration: enableSystemLogHandler is required for enableSystemLogQuery"))
    	}
    
    	if kc.ContainerLogMaxWorkers < 1 {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 10 17:13:59 UTC 2024
    - 18.2K bytes
    - Viewed (0)
  7. pkg/kubelet/apis/config/fuzzer/fuzzer.go

    			obj.ContainerRuntimeEndpoint = "unix:///run/containerd/containerd.sock"
    
    			if obj.Logging.Format == "" {
    				obj.Logging.Format = "text"
    			}
    			obj.EnableSystemLogHandler = true
    			obj.MemoryThrottlingFactor = utilpointer.Float64(rand.Float64())
    			obj.LocalStorageCapacityIsolation = true
    		},
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Feb 16 17:55:59 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  8. pkg/kubelet/apis/config/v1beta1/zz_generated.conversion.go

    	out.ProviderID = in.ProviderID
    	out.KernelMemcgNotification = in.KernelMemcgNotification
    	out.Logging = in.Logging
    	if err := v1.Convert_Pointer_bool_To_bool(&in.EnableSystemLogHandler, &out.EnableSystemLogHandler, s); err != nil {
    		return err
    	}
    	if err := v1.Convert_Pointer_bool_To_bool(&in.EnableSystemLogQuery, &out.EnableSystemLogQuery, s); err != nil {
    		return err
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Feb 16 17:55:59 UTC 2024
    - 48.9K bytes
    - Viewed (0)
  9. pkg/kubelet/apis/config/helpers_test.go

    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  10. pkg/kubelet/server/server.go

    		s.restfulCont.Handle(p, h)
    	}
    }
    
    // InstallSystemLogHandler registers the HTTP request patterns for logs endpoint.
    func (s *Server) InstallSystemLogHandler(enableSystemLogHandler bool, enableSystemLogQuery bool) {
    	s.addMetricsBucketMatcher("logs")
    	if enableSystemLogHandler {
    		ws := new(restful.WebService)
    		ws.Path(logsPath)
    		ws.Route(ws.GET("").
    			To(s.getLogs).
    			Operation("getLogs"))
    		if !enableSystemLogQuery {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 40.1K bytes
    - Viewed (0)
Back to top