Closed busma13 closed 2 months ago
Set cluster_manager_type
to kubernetesV2
in your terafoundation config:
terafoundation:
...
teraslice:
...
cluster_manager_type: kubernetesV2
...
Check the clustering_type
to verify kubernetesV2 backend:
curl localhost:5678
{
"arch": "arm64",
"clustering_type": "kubernetesV2",
"name": "ts-dev1",
"node_version": "v18.19.1",
"platform": "linux",
"teraslice_version": "v1.6.1"
}
This PR makes the following changes:
kubernetesV2
directory underpackages/teraslice/src/lib/cluster/services/cluster/backends
with copies of all files inkubernetes
directoryK8s
class to use@kubernetes/client-node
instead ofkubernetes-client
index.ts
:KubernetesClusterBackendV2
kubernetesV2
possibility anywherecluster_manager_type
,CLUSTERING_TYPE
orTEST_PLATFORM
are checkedts-scripts test
andts-scripts k8s-env
to allow for kubernetesV2 clusteringclustering-type
andkeep-open
flags tots-scripts k8s-env
@terascope/types:0.17.2
as scripts dependencyRef: #1799