Restart Kubernetes API server with different options

后端 未结 2 428
盖世英雄少女心
盖世英雄少女心 2021-01-04 04:54

I\'m pretty new to Kubernetes and clusters so this might be very simple.

I set up a Kubernetes cluster with 5 nodes using kubeadm following this guide.

2条回答
  •  一个人的身影
    2021-01-04 05:09

    I just found this for a similar use case and the API server was crashing after adding an Option with a file path.

    I was able to solve it and maybe this helps others as well:

    As described in https://kubernetes.io/docs/reference/setup-tools/kubeadm/implementation-details/#constants-and-well-known-values-and-paths the files in /etc/kubernetes/manifests are static pod definitions. Therefore container rules apply.

    So if you add an option with a file path, make sure you make it available to the pod with a hostPath volume.

提交回复
热议问题