Deploy Kubernetes Blueprints

Overview


You can deploy a Kubernetes Blueprint on the HyperCloudTM Platform (HCP) using:

  1. YAML-based Kubernetes Blueprint

  2. Kubernetes HELM Chart

You can deploy a Kubernetes Cluster using a Blueprints on HCP for the following servicer providers:

  1. Amazon Elastic Kubernetes Service (EKS)

  2. Microsoft Azure Kubernetes Service (AKS)

YAML based Kubernetes Blueprint


Follow these steps to deploy a Kubernetes blueprint:

  1. Login to your HCP portal account.

  2. Click Service Orchestration and navigate to AppStore > New > K8S > Click Action > Select Import > Click Choose File > Enter this URL: Kubernetes Guestbook Application. [1]

  3. Click Save Changes.

  4. Click open your Kubernetes Blueprint

    1. Select a Namespace from the drop-down list.

    2. Click Run. This may take a while.

  5. You can view your newly created Application by navigating to Service Orchestration > Click Apps. [2]

Notes

  • [1] By default, your application will not be able to access the internet. To enable internet access, make changes under kind: service as shown below:
    kind: Service
    spec:
    #type : NodePort (Comment this line)
    type: LoadBalancer

  • [2] Refer to the tutorial for creating a YAML-based Kubernetes Blueprint.

Kubernetes Helm Charts


To deploy a Kubernetes Blueprint using a Kubernetes Helm Chart:

  1. Download the sample Kubernetes Helm Chart.

  2. Create an archive using the following script:
    tar -cvf mongodb
    tar --gzip -cvzf mongodb-5.17.0.tgz mongodb

  3. Login to your HCP portal account.

  4. Click Service Orchestration and navigate to AppStore > Click New > Click Helm.

  5. Enter these details in the New Helm dialog:

    1. Enter a Name for your Kubernetes Helm Chart.

    2. Click Choose File and upload your Helm Chart file in .tgz format ( Example: mongodb-5.17.0.tgz.)

    3. You can Entitle Users to your Blueprint in one of the following ways:

      • Select Only me to keep the Blueprint access private.

      • Select Everyone to provide access to all users.

      • Select Groups & Users to provide access to specific users.

        • Enter the first three alphabets of the username in the Users drop-down and select the username.

        • Type the first three alphabets of the Group Name in the Groups drop-down and select the group name.

  6. Click Save Changes.

  7. To view your newly created Helm Chart:

    1. Click open your newly created Namespace

    2. Click Run.

Amazon Elastic Kubernetes Service (EKS)


Our HyperCloudTM Platform (HCP) lets you deploy a Kubernetes Cluster using Amazon Elastic Kubernetes Service (EKS.)

[1] Caution
You’ll need at least two Amazon Web Services (AWS) resources from different Availability Zones before deploying Amazon Elastic Kubernetes Service (EKS.)

Follow these steps to deploy a Kubernetes Cluster using Amazon EKS:

  1. Login to your HCP account.

  2. Click Service Orchestration and navigate to Containers > Click New to launch the Kubernetes Cluster Wizard.

  3. Enter these details in the Kubernetes Cluster Wizard:

    1. Enter a Name for your Kubernetes Cluster.

    2. Select Amazon Elastic Kubernetes Service (AKS) from the Target drop-down list.

    3. Select High-Availability from the cluster Type drop-down list.

    4. Select your Resource Pool from the drop-down list of available resource pools. [1]

    5. Select your Machine Type from the drop-down list.

      1. Enter the Node Count per Zone.

      2. The AutoScale Custer is enabled by default. You can disable it if you do not want to automatically scale your Kubernetes Cluster.

      3. Enter the Minimum Worker per Pool.

      4. Enter the Maximum Worker per Pool.

    6. Select the Amazon EKS Role from the Role ARN list.

    7. Select Resource Group from the drop-down list.

    8. You can Entitle Users to your Blueprint in one of the following ways:

      • Select Everyone to provide access to all users.

      • Select Groups & Users to provide access to specific users.

        1. Enter the first three alphabets of the username in the Users drop-down and select the username.

        2. Type the first three alphabets of the Group Name in the Groups drop-down and select the group name.

  4. Click Save Changes

  5. Click Cluster and navigate to Timeline > Click View Execution Logs.

Microsoft Azure Kubernetes Service (AKS)


The HyperCloudTM Platform (HCP) lets you deploy a Kubernetes Cluster using Microsoft Azure Kubernetes Service (AKS).

Before you begin
Ensure that you have sufficient resources in a Resource Pool.

Deploy a managed Kubernetes Cluster


Follow these steps to deploy a Kubernetes Cluster using Microsoft Azure Kubernetes Service:

  1. Login to your HCP portal account.

  2. Click Service Orchestration and navigate to Containers > Click New to launch the Kubernetes Cluster Wizard.

  3. Enter the following details in the Kubernetes Cluster Wizard:

    1. Enter a Name for your Cluster.

    2. From the Cloud drop-down, elect Microsoft Azure Kubernetes Service (AKS.)

    3. Select the Instance Type from the drop-down. [1]

    4. Select your Resource Pool.

    5. Select Machine Type.

    6. Enter the value for Node Count per Zone.

    7. Select a Resource Group from the drop-down list.

  4. Click Save Changes.

  5. Click open the Cluster and navigate to Timeline > Click View Execution Logs.

© 2020 CloudSphere