Nova K8S
| Channel | Revision | Published | Runs on |
|---|---|---|---|
| yoga/beta | 20 | 10 Mar 2023 | |
| yoga/edge | 24 | 23 Apr 2023 | |
| xena/beta | 14 | 21 Nov 2022 | |
| xena/edge | 18 | 20 Jan 2023 | |
| 2025.1/edge | 192 | 05 Dec 2025 | |
| 2024.1/stable | 134 | 25 Jun 2025 | |
| 2024.1/stable | 103 | 30 Apr 2025 | |
| 2024.1/candidate | 134 | 09 May 2025 | |
| 2024.1/candidate | 103 | 16 Jan 2025 | |
| 2024.1/beta | 162 | 17 Sep 2025 | |
| 2024.1/beta | 103 | 22 Nov 2024 | |
| 2024.1/edge | 191 | 01 Dec 2025 | |
| 2024.1/edge | 103 | 07 Oct 2024 | |
| 2023.2/stable | 55 | 06 Dec 2023 | |
| 2023.2/candidate | 66 | 25 Mar 2024 | |
| 2023.2/beta | 66 | 25 Mar 2024 | |
| 2023.2/edge | 66 | 23 Feb 2024 | |
| 2023.1/stable | 48 | 26 Sep 2023 | |
| 2023.1/candidate | 57 | 12 Jan 2024 | |
| 2023.1/beta | 57 | 10 Jan 2024 | |
| 2023.1/edge | 57 | 12 Dec 2023 |
juju deploy nova-k8s --channel 2024.1/stable
Deploy Kubernetes operators easily with Juju, the Universal Operator Lifecycle Manager. Need a Kubernetes cluster? Install MicroK8s to create a full CNCF-certified Kubernetes system in under 60 seconds.
Platform:
charms.nova_k8s.v0.nova_service
-
- Last updated 04 Dec 2024
- Revision Library version 0.2
NovaServiceProvides and Requires module.
This library contains the Requires and Provides classes for handling the nova_service interface.
Import NovaServiceRequires in your charm, with the charm object and the
relation name:
- self
- "nova_service"
Two events are also available to respond to: - config_changed - goneaway
A basic example showing the usage of this relation follows:
from charms.nova_k8s.v0.nova_service import (
NovaServiceRequires
)
class NovaServiceClientCharm(CharmBase):
def __init__(self, *args):
super().__init__(*args)
# NovaService Requires
self.nova_service = NovaServiceRequires(
self, "nova_service",
)
self.framework.observe(
self.nova_service.on.config_changed,
self._on_nova_service_config_changed
)
self.framework.observe(
self.nova_service.on.goneaway,
self._on_nova_service_goneaway
)
def _on_nova_service_config_changed(self, event):
'''React to the Nova service config changed event.
This event happens when NovaService relation is added to the
model and relation data is changed.
'''
# Do something with the configuration provided by relation.
pass
def _on_nova_service_goneaway(self, event):
'''React to the NovaService goneaway event.
This event happens when NovaService relation is removed.
'''
# NovaService Relation has goneaway.
pass
Index
class NovaConfigRequestEvent
Description
NovaConfigRequest Event. None
class NovaServiceProviderEvents
Description
Events class for on. None
class NovaServiceProvides
Description
NovaServiceProvides class. None
Methods
NovaServiceProvides. __init__( self , charm: CharmBase , relation_name: str )
NovaServiceProvides. set_config( self , relation , nova_spiceproxy_url: str )
Description
Set nova configuration on the relation. None
class NovaConfigChangedEvent
Description
NovaConfigChanged Event. None
class NovaServiceGoneAwayEvent
Description
NovaServiceGoneAway Event. None
class NovaServiceRequirerEvents
Description
Events class for on. None
class NovaServiceRequires
Description
NovaServiceRequires class. None
Methods
NovaServiceRequires. __init__( self , charm: CharmBase , relation_name: str )
NovaServiceRequires. get_remote_app_data( self , key: str )
Description
Return the value for the given key from remote app data. None
NovaServiceRequires. nova_spiceproxy_url( self )
Description
Return the nova_spiceproxy url. None