Getting started

Prev Next

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 to the service

To request subscription to Ncloud Kubernetes Service:

  1. Access the NAVER Cloud Platform console.
  2. Click Regions & Platform at the top right of the console interface.
  3. After selecting your region and VPC platform, click the [Apply] button.
  4. Click i_menu at the top left of the console interface.
  5. Navigate to Services > Containers > Ncloud Kubernetes Service.
  6. Click [Subscribe].
  7. Read and agree to the Terms of Service, then click the [OK] button.

Create cluster

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

To create a cluster:

  1. From the VPC environment on the NAVER Cloud Platform console, navigate to i_menu > Services > Containers > Ncloud Kubernetes Service.
  2. Click [Create], and proceed with the following steps in order.

1. Set cluster

  1. Enter a cluster name and select a hypervisor, 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 the [Create VPC], [Create Subnet], or [Create LB Subnet] button to go to the creation page of each service.
    • You can select up to five subnets.
      • If you created a cluster with fewer than five subnets, you can add subnets in details.
  3. Select whether to configure the Maximum Number of Nodes, Audit Log and Return Protection .
    • The Maximum Number of Nodes option is displayed only when the hypervisor is XEN, and cannot be changed after creation.
    • Audit Log is a control plane audit logging feature that records activities that occur within the cluster. You can edit the availability of using Audit Log even after the cluster is created.
    • Return protection is a feature that prevents accidental return of clusters and allows you to edit settings even after cluster creation.
  4. Select the Cluster Admin Access, Custer Authentication Mode settings.
    • If the cluster authentication mode is API, the Cluster Admin Access setting will appear, but this cannot be edited once created.
    • Cluster Authentication Mode is a setting that determines where certified IAM security principals are managed when accessing the cluster.
      • API: The cluster sources certified IAM security principals only from the NKS Access Entry API.
      • ConfigMap: The cluster sources certified IAM security principals only from the nks-auth ConfigMap.
  5. Select whether to enable Secret Encryption .
    • Secret Encryption is a feature that uses a key managed by the Key Managed Service (KMS) to further encrypt secrets stored in etcd. Secret data is already encrypted at the storage layer by default. This setting can be enabled after cluster creation, but it cannot be disabled once enabled, so be cautious when setting it up.
  6. Click [Next].

2. Set node

  1. Enter a name for the node pools to be created within the cluster.
  2. Select a server image and server type.
  3. Set the number of nodes within the node pools.
  4. Set the Kubernetes Label of the node pools.
    • You can select up to fifty.
    • For more information about the Kubernetes Label, see here.
  5. Set the taint of the node pools.
    • You can select up to fifty.
    • For more information about the Node Taint, see here.
  6. Select the subnet to assign it to, and click the [Add] button to add node pools.
  7. If all the servers created in node pools need to have a Sub Account role assigned to them, select Node IAM Role.
    • For more information about the Sub Account role, see here.
    • You can select Node IAM Role only upon creation and cannot edit it afterward.
  8. Once adding the node pools is completed, click [Next].

3. Set login key

  1. Set a login key to use for accessing the worker node.
    • Use the login key you have: Select from the login keys you currently have.
    • Create a new login key: Enter a name for the login key, then click [Create and save authentication key].
  2. Click [Next].

4. Final confirmation

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

Install Kubectl

Kubectl is a CLI used to control clusters, which is required to use kubectl and helm commands described in the guide. Note the following links and install Kubectl using the method appropriate for your operating system.

Kubernetes Dashboard

The Kubernetes dashboard is a feature to control clusters through GUI rather than CLI and can be accessed via a browser.