Werk #10447: agent_kubernetes: use new API versions

Component Checks & agents
Title agent_kubernetes: use new API versions
Date Oct 28, 2019
Checkmk Edition Checkmk Raw (CRE)
Checkmk Version 1.6.0p6 2.0.0i1
Level Trivial Change
Class Bug Fix
Compatibility Incompatible - Manual interaction might be required

The Kubernetes release 1.16 deprecated two API endpoints. To honor these deprecations the agent_kubernetes now uses the recommended new API endpoints by default. All Kubernetes versions since 1.9 support these new API endpoints.

To grant Checkmk access to the new API endpoints an updated version of the check_mk_rbac.yaml has to be applied.

If you have a Kubernetes version >= 1.16 and use a special agent prior to this werk a NotFound (404) error will be returned.

If you do not apply the updated check_mk_rbac.yaml the special agent will fall back to the old API version to be backwards compatible.

To the list of all Werks