Metrics needs explicit kubectl config

Bug #1868122 reported by Cory Johns
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Kubernetes Control Plane Charm
Fix Released
Critical
Cory Johns

Bug Description

Similar to LP #1867978 [1], the metrics.yaml commands don't specify the config file for kubectl and are now failing due to the removal of the localhost:8080 fallback in the latest 1.18.

[1]: https://bugs.launchpad.net/charm-kubernetes-master/+bug/1867978

Revision history for this message
Cory Johns (johnsca) wrote :

The error I'm seeing is:

2020-03-19 15:41:30 DEBUG collect-metrics error: no configuration has been provided, try setting KUBERNETES_MASTER environment variable

Changed in charm-kubernetes-master:
importance: Undecided → Critical
status: New → In Progress
milestone: none → 1.18
assignee: nobody → Cory Johns (johnsca)
Revision history for this message
Cory Johns (johnsca) wrote :
tags: added: review-needed
George Kraft (cynerva)
Changed in charm-kubernetes-master:
status: In Progress → Fix Committed
tags: removed: review-needed
Changed in charm-kubernetes-master:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.