Getting started with Ncloud Kubernetes Service
    • PDF

    Getting started with Ncloud Kubernetes Service

    • PDF

    Article Summary

    Available in VPC

    If the cloud environment is ready, then you can request subscription to the Ncloud Kubernetes Service in the console and create clusters. This document provides information on how to install Kubectl CLI needed to access the clusters created, as well as how to use the Kubernetes Dashboard, whose graphic interface allows you to control clusters more intuitively.

    The following summarizes what you can learn from the starter guide.

    Subscribe

    The following describes how to request subscription to Ncloud Kubernetes Service.

    1. Access the console in NAVER Cloud Platform.
    2. Click VPC from the Platform menu to switch to the VPC environment.
    3. Click Services > Containers > Ncloud Kubernetes Service menus, in order.
    4. Click [Subscribe].
    5. Read the Terms of Service, agree to them, and then click the [OK] button.

    Create cluster

    You must create a cluster to use various features offered by Kubernetes. Clusters can be created after completing the subscription request.

    The following shows how to create a cluster.

    1. From the VPC environment of NAVER Cloud Platform console, click the Services > Containers > Ncloud Kubernetes Service menus, in order.
    2. Click the [Create] button, and proceed with the following steps in order.

    1. Set cluster

    1. Enter a cluster name, and then select the Kubernetes version and CNI plugin.
    2. Select the VPC and available zone where the cluster will be created, and the network type (private or public). Then select the subnet within the VPC and Load Balancer subnet separately.
      • If you didn't create any VPC, subnet, or Load Balancer subnet, click [Create VPC], [Create subnet], or [Create LB subnet] button to go to the creation page of each service.
      • Up to 5 subnets can be selected.
        • If you created a cluster with fewer than 5 subnets, you can add subnets in details.
    3. Select the Maximum number of nodes and whether to use Audit log.
      • You cannot change Maximum number of nodes after a cluster is created.
      • You can edit the availability of Audit Log even after the cluster is created.
    4. Click the [Next] button.

    2. Set Node

    1. Enter a name for the node pool to be created within the cluster.
    2. Select a server image and server type.
    3. Set the number of nodes within the node pool.
    4. Set the Kubernetes Label of the node pool.
      • You can select up to 50.
      • For more information on the Kubernetes Label, see here.
    5. Set the taint of the node pool.
      • You can select up to 50.
      • For more information on the Node Taint, see here.
    6. Select the subnet to assign it to, and click the [Add] button to add the node pool.
      • Up to 10 node pools can be created and added.
      • The maximum number of nodes that can be set is determined by the number of IPs that support a subnet and the limit of server creation.
    7. Select Node IAM Role if all the servers created in node pull need to have a SubAccount role assigned to them.
      • For more information on the SubAccount role, see here.
      • You can select Node IAM Role only upon creation and cannot edit it afterward.
    8. Once adding the node pool is completed, click the [Next] button.

    3. Set login key

    1. Set a login key to use for accessing the worker node.
      • Use the existing login key: select one of the login keys you have.
      • Create a new login key: enter the login key name and click [Create and save authentication key] button.
    2. Click the [Next] button.

    4. Final confirmation

    After finally checking the cluster settings, click the [Create] button.

    Install Kubectl

    Kubectl is a CLI used to control clusters, which is required to use the kubectl and helm commands described in the guide. See the following links and install Kubectl for your OS.

    Kubernetes dashboard

    The Kubernetes dashboard is a function to control clusters through GUI rather than CLI, and can be accessed via browsers.


    Was this article helpful?

    Changing your password will log you out immediately. Use the new password to log back in.
    First name must have atleast 2 characters. Numbers and special characters are not allowed.
    Last name must have atleast 1 characters. Numbers and special characters are not allowed.
    Enter a valid email
    Enter a valid password
    Your profile has been successfully updated.