Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. Login to your HCP Portal account.

  2. Click Service Orchestration and navigate to Containers > Click open your provisioned Kubernetes Cluster > Click Action > Click New Secret.

  3. Enter these details in the New Secret dialog:

    1. Enter a Name for your Kubernetes Secret.

    2. From the Namespace drop-down list, select a namespace for which you want to create the Secret.

    3. Select the Secret Type from the drop-down list.

  4. Click Save.

  5. To view your newly created Kubernetes Secret:

    1. Click Kubernetes Namespace.

    2. Click open the Namespace where you created the Kubernetes Secret.

Kubernetes Storage Class

Storage class – allow Kubernetes blueprints to create volumes in the specific class automatically.
Note: Storage Class is not bound to a namespace.

...

Login to the HyperCloud™ Platform with your credentials  Click on Services Orchestration Tab  Click on Containers tab  Click on the Kubernetes Cluster already provisioned

...

Click on Action Button  Click on New Storage Class

...

Enter a Name for the storage Class: Standard

...

Kubernetes StorageClass lets administrators define classes for the storages they offer. Storage classes can be of the following type:

  • Quality-of-service levels

  • Backup policies

  • Arbitrary policies defined by the cluster administrators.

You can automatically create volumes for a Storage Class using Kubernetes Blueprints.

Note
Storage Classes are not bound to Namespaces.

To create a Storage Class:

  1. Login to your HCP portal Account.

  2. Click Service Orchestration and navigate to Containers > Click open your provisioned Kubernetes Cluster > Click Action > Click New Storage Class.

  3. Enter a Name for your storage Class.

  4. Click Save.

Kubernetes Persistent Volumes

...

Persistent Volumes (PV) are pre-created volumes which that can be attached to containers during runtime. PV is a piece of storage in a Cluster provisioned by an Administrator or dynamically provisioned using storage classes. In other words, a PV is a resource in the cluster and is a volume plugin like Volumes. However, the lifecycle of a PV is independent of any individual Pod using PV. The PersistentVolume subsystem:

  • Abstracts the details of how storage is provided and consumed and,

  • Provides an API for users and administrators.

To create a new Persistent Volume:

  1. Login to

...

Click on Action Button  Click on New

...

Enter a Volume Name: app1-vol1

...

Storage Class: Standard

...

Reclaim Policy: Delete

Disk – Select disk options to create a persistent volume

...

New – Enter a Volume Size (GB) for e.g 100 GB

...

  1. your HCP portal account.

  2. Click Service Orchestration and navigate to Containers > Click open your provisioned Kubernetes Cluster > Click Action > Click New.

  3. Enter these details in the New Persistent Volume dialog:

    1. Enter a name for your Persistent Volume Name.

    2. Select the Storage Class from the drop-down list.

    3. Select the Reclaim Policy from the drop-down list.

    4. Select one of these Disk options to create a PV:

      • New: enter a Volume Size in GB

      • Existing: you’ll need to provide a URI for an existing volume

  4. Click Save.