forked from kubernetes/kops
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
protokube: don't try to connect to apiserver if not control-plane
We run protokube on the nodes in gossip mode; however protokube tries to connect to the apiserver on localhost, and that simply won't work if running on a node. This doesn't cause any actual problems beyond logspam, but it's an easy fix.
- Loading branch information
Showing
1 changed file
with
15 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters