vmware / vmware/photon

kubelet option in document does not exist and fails to start

Open
#1,034 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C
Stars
3.2k
Forks
692
PR merge metrics
No merged PRs in 30d

Description

I'm trying Kubernetes on PhotonOS following documents.
However, kubelet fails to start with configuration in the documents.

docs/photon_user/configure_kubernetes_on_node.md:

 # location of the api-server
 KUBELET_API_SERVER="--api_servers=http://photon-master:8080"

There is no such option "--api_servers" on kubelet.
I suggest using original option --kubeconfig on /etc/kubernetes/kubelet and edit server section on /etc/kubernetes/kubeconfig.

/etc/kubernetes/kubelet

# location of the api-server
KUBELET_API_SERVER="--kubeconfig=/etc/kubernetes/kubeconfig"

/etc/kubernetes/kubeconfig

apiVersion: v1
clusters:
- cluster:
    server: http://photon-master:8080

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with docs/photon_user/configure_kubernetes_on_node.md and compare its KUBELET_API_SERVER setting with the kubelet option and /etc/kubernetes/kubeconfig structure described in the issue. Update the documentation so it uses an existing kubelet option and clearly identifies the corresponding kubeconfig server setting, then verify the documented configuration can start kubelet.

Written by the indexing model from the issue text.

Assessment

Tech stack
kubernetes
Domain
devops, documentation
Issue type
Documentation
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.