nodepool/nodepool/driver/openshiftpods
James E. Blair 6d3b5f3bab Add missing cloud/region/az/host_id info to nodes
To the greatest extent possible within the limitation of each provider,
this adds cloud, region, az, and host_id to nodes.

Each of AWS, Azure, GCE, IBMVPC have the cloud name hard-coded to
a value that makes sense for each driver given that each of these
are singleton clouds.  Their region and az values are added as
appropriate.

The k8s, openshift, and openshiftpods all have their cloud names set
to the k8s context name, which is the closest approximation of what
the "cloud" attribute means in its existing usage in the OpenStack
driver.  If pods are launched, the host_id value is set to the k8s
host node name, which is an approximation of the existing usage in
the OpenStack driver (where it is typically an opaque uuid that
uniquely identifies the hypervisor).

Change-Id: I53765fc3914a84d2519f5d4dda4f8dc8feda72f2
2022-08-25 13:41:05 -07:00
..
__init__.py Bump openshift dep 2021-01-11 17:26:31 +01:00
config.py Add option of configuring imagePullSecrets for openshift drivers 2022-01-11 14:19:29 +01:00
handler.py Add missing cloud/region/az/host_id info to nodes 2022-08-25 13:41:05 -07:00
provider.py Merge "openshiftpods: fix delete_namespaced_pod arguments" 2021-09-26 10:10:45 +00:00