Charmed-Kubernetes/kubernetes-master/hooks/relations/vsphere-integration/README.md

796 B

Overview

This layer encapsulates the vsphere-integration interface communication protocol and provides an API for charms on either side of relations using this interface.

Usage

In your charm's layer.yaml, ensure that interface:vsphere-integration is included in the includes section:

includes: ['layer:basic', 'interface:vsphere-integration']

And in your charm's metadata.yaml, ensure that a relation endpoint is defined using the vsphere-integration interface protocol:

requires:
  vsphere:
    interface: vsphere-integration

For documentation on how to use the API for this interface, see: