mirror of
				https://github.com/optim-enterprises-bv/kubernetes.git
				synced 2025-11-03 19:58:17 +00:00 
			
		
		
		
	Enable vmodule support for all components
Support vmodule (via `LOG_SPEC`) for all local cluster components.
This commit is contained in:
		@@ -574,6 +574,7 @@ function start_controller_manager {
 | 
			
		||||
    CTLRMGR_LOG=${LOG_DIR}/kube-controller-manager.log
 | 
			
		||||
    ${CONTROLPLANE_SUDO} "${GO_OUT}/hyperkube" controller-manager \
 | 
			
		||||
      --v=${LOG_LEVEL} \
 | 
			
		||||
      --vmodule="${LOG_SPEC}" \
 | 
			
		||||
      --service-account-private-key-file="${SERVICE_ACCOUNT_KEY}" \
 | 
			
		||||
      --root-ca-file="${ROOT_CA_FILE}" \
 | 
			
		||||
      --cluster-signing-cert-file="${CLUSTER_SIGNING_CERT_FILE}" \
 | 
			
		||||
@@ -649,6 +650,7 @@ function start_kubelet {
 | 
			
		||||
 | 
			
		||||
      sudo -E "${GO_OUT}/hyperkube" kubelet ${priv_arg}\
 | 
			
		||||
        --v=${LOG_LEVEL} \
 | 
			
		||||
        --vmodule="${LOG_SPEC}" \
 | 
			
		||||
        --chaos-chance="${CHAOS_CHANCE}" \
 | 
			
		||||
        --container-runtime="${CONTAINER_RUNTIME}" \
 | 
			
		||||
        --rkt-path="${RKT_PATH}" \
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user