DigitalOcean.KubernetesCluster.create_node_pool
You're seeing just the function
create_node_pool
, go back to DigitalOcean.KubernetesCluster module for more information.
Link to this function
create_node_pool(cluster_id, opts)
Specs
create_node_pool(String.t(), Keyword.t()) :: DigitalOcean.Operation.t()
Create a node pool for a Kubernetes cluster.
Examples
iex> DigitalOcean.KubernetesCluster.create_node_pool(
...> "d5f5959-5e1e-4205-a714-a914373942af",
...> size: "s-2vcpu-4gb",
...> count: 1,
...> name: "pool-02",
...> tags: ["web"],
...> labels: %{
...> service: "web",
...> priority: "high"
...> }
...> ) |> DigitalOcean.request()
{ :ok, %DigitalOcean.Response{} }