mirror of https://github.com/k3s-io/k3s
Merge pull request #42102 from timchenxiaoyu/kubltworderror
Automatic merge from submit-queue kubelet word mistakepull/6/head
commit
ff353231ec
|
@ -137,7 +137,7 @@ def charm_status(kube_dns):
|
||||||
|
|
||||||
|
|
||||||
def update_kubelet_status():
|
def update_kubelet_status():
|
||||||
''' There are different states that the kubelt can be in, where we are
|
''' There are different states that the kubelet can be in, where we are
|
||||||
waiting for dns, waiting for cluster turnup, or ready to serve
|
waiting for dns, waiting for cluster turnup, or ready to serve
|
||||||
applications.'''
|
applications.'''
|
||||||
if (_systemctl_is_active('kubelet')):
|
if (_systemctl_is_active('kubelet')):
|
||||||
|
|
|
@ -214,7 +214,7 @@ func tearDownTestCase(c clientset.Interface, f *framework.Framework, ns string,
|
||||||
}
|
}
|
||||||
|
|
||||||
// kubeletCommand performs `start`, `restart`, or `stop` on the kubelet running on the node of the target pod.
|
// kubeletCommand performs `start`, `restart`, or `stop` on the kubelet running on the node of the target pod.
|
||||||
// Allowed kubeltOps are `kStart`, `kStop`, and `kRestart`
|
// Allowed kubeletOps are `kStart`, `kStop`, and `kRestart`
|
||||||
func kubeletCommand(kOp kubeletOpt, c clientset.Interface, pod *v1.Pod) {
|
func kubeletCommand(kOp kubeletOpt, c clientset.Interface, pod *v1.Pod) {
|
||||||
nodeIP, err := framework.GetHostExternalAddress(c, pod)
|
nodeIP, err := framework.GetHostExternalAddress(c, pod)
|
||||||
Expect(err).NotTo(HaveOccurred())
|
Expect(err).NotTo(HaveOccurred())
|
||||||
|
|
Loading…
Reference in New Issue