On This Page:
This document provides instructions on how to create your container registry using VoltConsole and use them in Volterra virtual K8s (vK8s). Volterra provides mechanism to easily deploy applications using the vK8s. To know more about how Volterra distributes application deployment, see Distributed Application Management.
Container registry object is used to configure a private docker/container image registry from which the application container images are fetched.
Note: To deploy applications on your sites, first create a vK8s object as per the instructions in the Create Virtual K8s Object document.
Using the instructions provided in this guide, you can create a container registry object in VoltConsole for your application images and then use the object in vK8s deployments.
Note: If you do not have an account, see Create a Volterra Account.
An application image hosted on a registry server.
Note: It is required that you have access to the registry server.
Deploying applications on Volterra network cloud requires you to perform the following sequence of steps:
|Create Container Registry||Create container registry object in VoltConsole.|
|Deploy to vK8s Using Container Registry||Deploy the applications to vK8s using the container registry object.|
Create Container Registry
Log into VoltConsole and perform the following:
Step 1: Start creating container registry object.
Appon the namespace selector and select your namespace to change to your namespace.
- Navigate to
Container Registriespage in the section tabs on the left.
Add Container Registryto open the container registry creation form.
Step 2:Configure metadata and the registry server.
- Enter a name in the
Namefield of metadata section. Optionally, set labels and description for your container registry object.
- Enter the fully qualified domain name for your registry server in the
- Enter username for the registry login in the
Step 3: Configure secret for the password.
Passwordsection to open the secret configuration page.
- Enter your password in the secret page and click
Blindfold. Ensure that the
Textoption is selected for the
- Wait for the encryption to complete and click
Step 4: Complete creating the container registry.
Save and Exit to complete creating the container registry object
Deploy to vK8s Using Container Registry
Deploy Kubernetes objects to vK8s using the container registry object created.
Perform the following steps in VoltConsole.
Step 1: Navigate to your vK8s object.
- Click on the application namespace option on the namespace selector. Select your application namespace from the namespace dropdown list to change to that namespace.
Applicationsin the configuration menu and
Virtual K8sin the options pane.
Step 2: Deploy the web application.* Click on the `Workloads` tab. Click `Add vK8s workload`. * Enter a name to your workload and select an option for the `Select Type of Workload` option and click `Configure`. * Enter the container name and image name in the `Name` and `Image` name fields respectively. * Select `Private Registry` for the `Select Container Registry` field. * Click on the `Private Registry` field. Select the container registry you created in previous chapter from the displayed list.
- Scroll down and click
Save and Exitto create the workload. This will deploy your applications to vK8s.
Note: This step shows sample for a simple service workload. For detailed instructions on configuring workloads, see vK8s Workload.