Avisi cloud logo
Clusters

Get node pool join configuration.

POST
/api/v1/orgs/{organisationSlug}/clusters/{environmentSlug}/{clusterSlug}/pools/{nodePoolId}/join-config

Path Parameters

organisationSlugstring
Pattern"^[a-z0-9-]+$"
environmentSlugstring
Pattern"^[a-z0-9-]+$"
clusterSlugstring
Pattern"^[a-z0-9-]+$"
nodePoolIdinteger
Format"int64"

Response Body

Request was successfully processed. The response body contains the requested data.

TypeScript Definitions

Use the response body type in TypeScript.

versions?object
cloudInitUserDataBase64?string
installScriptBase64?string
upgradeScriptBase64?string
joinCommand?string
kubeletConfigBase64?string

Invalid request parameters. Please review the documentation for valid parameter values.

TypeScript Definitions

Use the response body type in TypeScript.

response?unknown

You do not have the necessary permissions to access this resource.

TypeScript Definitions

Use the response body type in TypeScript.

response?unknown

The requested resource could not be found. Please check the resource URL or identifier.

TypeScript Definitions

Use the response body type in TypeScript.

response?unknown

An internal error occurred on the server.

TypeScript Definitions

Use the response body type in TypeScript.

response?unknown
curl -X POST "https://api.avisi.cloud/api/v1/orgs/string/clusters/string/string/pools/0/join-config"
fetch("https://api.avisi.cloud/api/v1/orgs/string/clusters/string/string/pools/0/join-config")
package main

import (
  "fmt"
  "net/http"
  "io/ioutil"
)

func main() {
  url := "https://api.avisi.cloud/api/v1/orgs/string/clusters/string/string/pools/0/join-config"

  req, _ := http.NewRequest("POST", url, nil)
  
  res, _ := http.DefaultClient.Do(req)
  defer res.Body.Close()
  body, _ := ioutil.ReadAll(res.Body)

  fmt.Println(res)
  fmt.Println(string(body))
}
import requests

url = "https://api.avisi.cloud/api/v1/orgs/string/clusters/string/string/pools/0/join-config"

response = requests.request("POST", url)

print(response.text)
{
  "versions": {
    "kubernetes": "string",
    "containerd": "string",
    "crictl": "string"
  },
  "cloudInitUserDataBase64": "string",
  "installScriptBase64": "string",
  "upgradeScriptBase64": "string",
  "joinCommand": "string",
  "kubeletConfigBase64": "string"
}
{
  "message": "string",
  "details": [
    "string"
  ]
}
{
  "message": "string",
  "details": [
    "string"
  ]
}
{
  "message": "string",
  "details": [
    "string"
  ]
}
{
  "message": "string",
  "details": [
    "string"
  ]
}