Updated on 2024-09-24 GMT+08:00

Creating a Kubernetes Server

You can add Kubernetes servers to your bastion host for management. This section describes how to add a Kubernetes server to a bastion host.

Constraints

  • The number of managed Kubernetes servers is restricted by the bastion host license you hold.
  • You must have the permission to create a Kubernetes server.
  • Only the professional editions can manage Kubernetes services.
  • To use this function, the bastion host version must be V3.3.48.0 or later.

Procedure

  1. Log in to your bastion host.
  2. Choose Resource > Cloud Service. The Cloud Service is displayed.
  3. Click Kubernetes Server. The Kubernetes Server page is displayed.
  4. Click New in the upper left corner. Configure parameters in the dialog box that is displayed.

    Figure 1 Creating a Kubernetes server
    Table 1 Parameters

    Parameter

    Description

    Server Name

    Customize a service name.

    Server

    Enter your Kubernetes server address.

    Port

    Enter your Kubernetes server port number.

    Type

    For V3.3.54.0, only Kubernetes can be selected.

    Department Name

    Select the department of the Kubernetes server. The default value is Headquarters.

    client-cert

    Obtain the value of client-certificate-data from the debugging information, and enter the decoded value by using the way of Base64.

    client-key

    Obtain the value of client-certificate-data from the debugging information, and enter the corresponding Base64 value.

    ca-cert

    Obtain the value of certificate-authority-data from the debugging information, and enter the decoded value by using the way of Base64.

    Remarks

    (Optional) Enter the description of the server.

  5. Click OK. The Kubernetes server is created.