Kubernetes only

This page is for a Kubernetes-only charm. For a charm with a Kubernetes variant & a machine variant that share code, go to Kubernetes and machines.


Subclass CharmSpecificKubernetes:

Example
import dataclasses

import charm_refresh

@dataclasses.dataclass(eq=False)
class KubernetesPostgreSQLRefresh(charm_refresh.CharmSpecificKubernetes):
    pass

Which class to implement in

In future steps, you will implement code for the CharmSpecific class.

Implement the code in the class you created above.