Skip to content

Commit

Permalink
Fix kubelet hosts string to connect with kind.
Browse files Browse the repository at this point in the history
  • Loading branch information
blakerouse committed May 4, 2020
1 parent 36da24c commit 9639a1c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion metricbeat/module/kubernetes/test/integration.go
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ func GetKubeletConfig(t *testing.T, metricSetName string) map[string]interface{}
"module": "kubernetes",
"metricsets": []string{metricSetName},
"host": "${NODE_NAME}",
"hosts": []string{"https://${NODE_NAME}:10250"},
"hosts": []string{"https://localhost:10250"},
"bearer_token_file": "/var/run/secrets/kubernetes.io/serviceaccount/token",
"ssl": map[string]interface{}{
"verification_mode": "none",
Expand Down

0 comments on commit 9639a1c

Please sign in to comment.