Skip to content

Issue with k8s.io/docs/tasks/configure-pod-container/static-pod/ #16175

@shizgchina

Description

@shizgchina

This is a Bug Report

Problem:
kubelet --pod-manifest-path= to start the kubelet

this description is NOT correct when using k8s 1.15. It says:
Flag --pod-manifest-path has been deprecated, This parameter should be set via the config file specified by the Kubelet's --config flag. See https://kubernetes.io/docs/tasks/administer-cluster/kubelet-config-file/ for more information.

Proposed Solution:
We should find the kubelet config file : /var/lib/kubelet/config.yaml , and then edit the item directly: staticPodPath: /etc/kubernetes/manifests

Page to Update:
https://kubernetes.io/...

Metadata

Metadata

Assignees

No one assigned

    Labels

    language/enIssues or PRs related to English languagelifecycle/activeIndicates that an issue or PR is actively being worked on by a contributor.priority/backlogHigher priority than priority/awaiting-more-evidence.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions