tacker.vnfm.infra_drivers.kubernetes.k8s.tosca_kube_object module

tacker.vnfm.infra_drivers.kubernetes.k8s.tosca_kube_object module

class tacker.vnfm.infra_drivers.kubernetes.k8s.tosca_kube_object.Container(name=None, num_cpus=None, mem_size=None, image=None, command=None, args=None, ports=None, config=None)

Bases: object

Container holds the basic structs of a container

args
command
config
image
mem_size
name
num_cpus
ports
class tacker.vnfm.infra_drivers.kubernetes.k8s.tosca_kube_object.ScalingObject(scaling_name=None, min_replicas=None, max_replicas=None, scale_target_name=None, target_cpu_utilization_percentage=None)

Bases: object

ScalingObject holds the basic struct of a horizontal pod auto-scaling

max_replicas
min_replicas
scale_target_name
scaling_name
target_cpu_utilization_percentage
class tacker.vnfm.infra_drivers.kubernetes.k8s.tosca_kube_object.ToscaKubeObject(name=None, namespace=None, mapping_ports=None, containers=None, network_name=None, mgmt_connection_point=False, scaling_object=None, service_type=None, labels=None)

Bases: object

ToscaKubeObject holds the basic struct of a VDU.

That is used for translating TOSCA to Kubernetes templates.

containers
labels
mapping_ports
mgmt_connection_point
name
namespace
network_name
scaling_object
service_type
Creative Commons Attribution 3.0 License

Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.