How to Provision Vultr Kubernetes Engine Cluster

Updated on December 9, 2024

Vultr Kubernetes Engine (VKE) is a powerful, fully managed service for deploying and managing containerized applications with Kubernetes. It simplifies orchestration, allowing developers to focus on scaling and building applications with minimal overhead. With seamless integration into Vultr’s cloud infrastructure, it ensures high availability, automatic updates, and security across multiple regions. Vultr Kubernetes Engine is ideal for automating CI/CD pipelines, managing microservices, or deploying AI-driven applications with global reach and reliability.

Follow this guide to provision VKE cluster using the Vultr Customer Portal, API, or CLI.

  • Vultr Customer Portal
  • Vultr API
  • Vultr CLI
  1. Navigate to Products and click Kubernetes.

  2. Click Add Cluster.

  3. Provide a Cluster Name.

    Field to provide a Kubernetes cluster name

  4. Choose a Server Location.

  5. Provide a Label, and select Number of Nodes.

    Field to provide a cluster label and select number of nodes

  6. Select a Node Pool Type and a Plan.

    Button to choose a node pool type for the cluster

  7. Click Deploy Now.

  1. Send a POST request to the Create Kubernetes Clusters endpoint to create a VKE cluster.

    console
    $ curl -X POST "https://api.vultr.com/v2/kubernetes/clusters" \
        -H "Authorization: Bearer ${VULTR_API_KEY}" \
        -H "Content-Type: application/json" \
        -d '{
            "label": "vke",
            "region": "lax",
            "version": "v1.30.0+1",
            "node_pools": [
                {
                "node_quantity": 2,
                "min_nodes": 2,
                "max_nodes": 5,
                "auto_scaler": true,
                "label": "my-label",
                "plan": "vc2-1c-2gb",
                "tag": "my-tag"
                }
            ]
            }'
    

    Visit the Create Kubernetes Cluster page to view additional attributes you can add to your request.

  2. Send a GET request to the List Kubernetes Clusters endpoint to list all the available VKE clusters.

    console
    $ curl -X GET "https://api.vultr.com/v2/kubernetes/clusters" \
        -H "Authorization: Bearer ${VULTR_API_KEY}" \
        -H "Content-Type: application/json"
    
  1. Create a VKE cluster.

    console
    $ vultr-cli kubernetes create --label "my-cluster" --region="ewr" --version="v1.30.0+1" --node-pools="quantity:3,plan:vc2-1c-2gb,label:my-nodepool,tag:my-tag"
    

    Run vultr-cli kubernetes create --help to view additional options you can apply on your VKE cluster.

  2. List all the available VKE clusters.

    console
    $ vultr-cli kubernetes list --summarize