Skip to content

Latest commit

 

History

History
22 lines (20 loc) · 455 Bytes

source-code-learn.md

File metadata and controls

22 lines (20 loc) · 455 Bytes

Kubelet

把下面的内容保存到文件 test.yaml

apiVersion: kubelet.config.k8s.io/v1beta1
kind: KubeletConfiguration
address: "192.168.0.8"
port: 20250
serializeImagePulls: false
authentication:
    webhook:
        enabled: false
authorization:
    mode: AlwaysAllow
containerRuntimeEndpoint: /var/run/podman/podman.sock
evictionHard:
    memory.available:  "200Mi"
go run cmd/kubelet/kubelet.go --config test.yaml