Cloud API Overview > @adpt/cloud > k8s > makeClusterInfo
k8s.makeClusterInfo() function
Make a k8s.ClusterInfo object suitable for use with k8s resources
Signature:
export declare function makeClusterInfo(options: MakeClusterInfoOptions): Promise<ClusterInfo>;
Parameters
Parameter | Type | Description |
---|---|---|
options | MakeClusterInfoOptions |
Returns:
Promise<ClusterInfo>
A k8s.ClusterInfo object.
Remarks
This function will take a set of options and generate a k8s.ClusterInfo object that contains the kubeconfig, registryUrl for private images, and any other relevant information for the cluster
See k8s.MakeClusterInfoOptions for information on how the information is computed.