
Currently, there are some unit tests that are failing on Windows due to various reasons: - config options not supported on Windows. - files not closed, which means that they cannot be removed / renamed. - paths not properly joined (filepath.Join should be used). - time.Now() is not as precise on Windows, which means that 2 consecutive calls may return the same timestamp. - different error messages on Windows. - files have \r\n line endings on Windows. - /tmp directory being used, which might not exist on Windows. Instead, the OS-specific Temp directory should be used. - the default value for Kubelet's EvictionHard field was containing OS-specific fields. This is now moved, the field is now set during Kubelet's initialization, after the config file is read.
86 lines
2.0 KiB
YAML
86 lines
2.0 KiB
YAML
address: 0.0.0.0
|
|
apiVersion: kubelet.config.k8s.io/v1beta1
|
|
authentication:
|
|
anonymous:
|
|
enabled: false
|
|
webhook:
|
|
cacheTTL: 2m0s
|
|
enabled: true
|
|
x509: {}
|
|
authorization:
|
|
mode: Webhook
|
|
webhook:
|
|
cacheAuthorizedTTL: 5m0s
|
|
cacheUnauthorizedTTL: 30s
|
|
cgroupDriver: cgroupfs
|
|
cgroupsPerQOS: true
|
|
configMapAndSecretChangeDetectionStrategy: Watch
|
|
containerLogMaxFiles: 5
|
|
containerLogMaxSize: 10Mi
|
|
contentType: application/vnd.kubernetes.protobuf
|
|
cpuCFSQuota: true
|
|
cpuCFSQuotaPeriod: 100ms
|
|
cpuManagerPolicy: none
|
|
cpuManagerReconcilePeriod: 10s
|
|
enableControllerAttachDetach: true
|
|
enableDebugFlagsHandler: true
|
|
enableDebuggingHandlers: true
|
|
enableProfilingHandler: true
|
|
enableServer: true
|
|
enableSystemLogHandler: true
|
|
enforceNodeAllocatable:
|
|
- pods
|
|
eventBurst: 10
|
|
eventRecordQPS: 5
|
|
evictionPressureTransitionPeriod: 5m0s
|
|
failSwapOn: true
|
|
fileCheckFrequency: 20s
|
|
hairpinMode: promiscuous-bridge
|
|
healthzBindAddress: 127.0.0.1
|
|
healthzPort: 10248
|
|
httpCheckFrequency: 20s
|
|
imageGCHighThresholdPercent: 85
|
|
imageGCLowThresholdPercent: 80
|
|
imageMinimumGCAge: 2m0s
|
|
iptablesDropBit: 15
|
|
iptablesMasqueradeBit: 14
|
|
kind: KubeletConfiguration
|
|
kubeAPIBurst: 10
|
|
kubeAPIQPS: 5
|
|
localStorageCapacityIsolation: true
|
|
logging:
|
|
flushFrequency: 5000000000
|
|
format: text
|
|
options:
|
|
json:
|
|
infoBufferSize: "0"
|
|
verbosity: 0
|
|
makeIPTablesUtilChains: true
|
|
maxOpenFiles: 1000000
|
|
maxPods: 110
|
|
memoryManagerPolicy: None
|
|
memorySwap: {}
|
|
memoryThrottlingFactor: 0.8
|
|
nodeLeaseDurationSeconds: 40
|
|
nodeStatusMaxImages: 50
|
|
nodeStatusReportFrequency: 5m0s
|
|
nodeStatusUpdateFrequency: 10s
|
|
oomScoreAdj: -999
|
|
podPidsLimit: -1
|
|
port: 10250
|
|
registerNode: true
|
|
registryBurst: 10
|
|
registryPullQPS: 5
|
|
resolvConf: /etc/resolv.conf
|
|
runtimeRequestTimeout: 2m0s
|
|
seccompDefault: false
|
|
serializeImagePulls: true
|
|
shutdownGracePeriod: 0s
|
|
shutdownGracePeriodCriticalPods: 0s
|
|
streamingConnectionIdleTimeout: 4h0m0s
|
|
syncFrequency: 1m0s
|
|
topologyManagerPolicy: none
|
|
topologyManagerScope: container
|
|
volumePluginDir: /usr/libexec/kubernetes/kubelet-plugins/volume/exec/
|
|
volumeStatsAggPeriod: 1m0s
|