Kovair DevOps – Helm Plugin Details
Plugin Version: 1.0Overview
Helm helps you manage Kubernetes applications. Helm Charts help you define, install, and upgrade even the most complex Kubernetes application.
Helm Charts are simply Kubernetes YAML manifests combined into a single package that can be advertised to your Kubernetes clusters. Once packaged, installing a Helm Chart into your cluster is as easy as running a single helm install, which really simplifies the deployment of containerized applications.
This plugin integrates Kovair DevOps with Helm tool for automating creation, packaging, configuration, and deployment of applications and services to Kubernetes clusters.
Helm Information:
Version Supported:
Plugin Operation:
1. Create
Creates a chart directory along with the common files and directories used in a chart.
Input parameter(s):
Parameter |
Is Mandatory |
Help Text |
---|---|---|
Container Platform |
true |
Select a container platform. Provide the authentication credentials only if the selected container platform is OpenShift. |
API Server URL |
false |
API server url of OpenShift cluster. |
Authentication Type |
false |
Select an authentication type. Provide either API token or username with password based on the selected authentication type. |
API Token |
false |
API token for authentication with API server. |
Username |
false |
Username for authentication with API server. |
Password |
false |
Password for authentication with API server. |
Other Auth Options |
false |
Other optional flag(s) for authentication with API server. |
Chart Name |
true |
Name for the chart to be created. The chart name must match the regular expression ‘^[a-zA-Z0-9._-]+$’. |
Chart Path |
true |
Provide the path where the chart tree will be created. Please ensure necessary privileges of the user account in the provided path through which the agent service is running. |
Output parameter(s):
Parameter | Help Text |
---|---|
OutputLog |
Output log of the operation. |
HelmStatus |
Status of the operation. |
2. Install
Installs a new helm package. At its simplest, it takes two arguments: A release name that you pick and the name of the chart you want to install.
Input parameter(s):
Parameter |
Is Mandatory |
Help Text |
---|---|---|
Container Platform |
true |
Select a container platform. Provide the authentication credentials only if the selected container platform is OpenShift. |
API Server URL |
false |
API server url of OpenShift cluster. |
Authentication Type |
false |
Select an authentication type. Provide either API token or username with password based on the selected authentication type. |
API Token |
false |
API token for authentication with API server. |
Username |
false |
Username for authentication with API server. |
Password |
false |
Password for authentication with API server. |
Other Auth Options |
false |
Other optional flag(s) for authentication with API server. |
Release Name |
true |
Name for the release to be created. The release name must match regex ^[a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*$ and the length must not be longer than 53. |
Chart Name |
true |
Name of the chart which is to be installed. It must be a chart reference, a path to a packaged chart, a path to an unpacked chart directory or a URL. |
Other Options |
false |
Other optional flag(s) for installing a chart. |
Note: There are five different ways you can express the chart you want to install:
- By chart reference: example/mariadb
- By path to a packaged chart: ./nginx-1.2.3.tgz
- By path to an unpacked chart directory: ./nginx
- By absolute URL: https://example.com/charts/nginx-1.2.3.tgz
- By chart reference and repo url: nginx –repo ‘https://example.com/charts’
Output parameter(s):
Parameter | Help Text |
---|---|
OutputLog |
Output log of the operation. |
HelmStatus |
Status of the operation. |
3. Upgrade
Upgrades a release to a new version of a chart.
Input parameter(s):
Parameter |
Is Mandatory |
Help Text |
---|---|---|
Container Platform |
true |
Select a container platform. Provide the authentication credentials only if the selected container platform is OpenShift. |
API Server URL |
false |
API server url of OpenShift cluster. |
Authentication Type |
false |
Select an authentication type. Provide either API token or username with password based on the selected authentication type. |
API Token |
false |
API token for authentication with API server. |
Username |
false |
Username for authentication with API server. |
Password |
false |
Password for authentication with API server. |
Other Auth Options |
false |
Other optional flag(s) for authentication with API server. |
Release Name |
true |
Name of the release to be upgraded. |
Chart Name |
true |
Name of the chart which is to be installed. It must be a chart reference, a path to a packaged chart, a path to an unpacked chart directory or a URL. |
Other Options |
false |
Other optional flag(s) for upgrading a release. |
Output parameter(s):
Parameter | Help Text |
---|---|
OutputLog |
Output log of the operation. |
HelmStatus |
Status of the operation. |
4. Uninstall
Uninstalls the release. It removes all of the resources associated with the last release of the chart as well as the release history, freeing it up for future use.
Input parameter(s):
Parameter |
Is Mandatory |
Help Text |
---|---|---|
Container Platform |
true |
Select a container platform. Provide the authentication credentials only if the selected container platform is OpenShift. |
API Server URL |
false |
API server url of OpenShift cluster. |
Authentication Type |
false |
Select an authentication type. Provide either API token or username with password based on the selected authentication type. |
API Token |
false |
API token for authentication with API server. |
Username |
false |
Username for authentication with API server. |
Password |
false |
Password for authentication with API server. |
Other Auth Options |
false |
Other optional flag(s) for authentication with API server. |
Release Name |
true |
Name of the release to be uninstalled. |
Other Options |
false |
Other optional flag(s) for uninstalling a release. |
Output parameter(s):
Parameter | Help Text |
---|---|
OutputLog |
Output log of the operation. |
HelmStatus |
Status of the operation. |
5. ExecuteCommand
This operation executes the supplied command in the Helm CLI.
Input parameter(s):
Parameter |
Is Mandatory |
Help Text |
---|---|---|
Container Platform |
true |
Select a container platform. Provide the authentication credentials only if the selected container platform is OpenShift. |
API Server URL |
false |
API server url of OpenShift cluster. |
Authentication Type |
false |
Select an authentication type. Provide either API token or username with password based on the selected authentication type. |
API Token |
false |
API token for authentication with API server. |
Username |
false |
Username for authentication with API server. |
Password |
false |
Password for authentication with API server. |
Other Auth Options |
false |
Other optional flag(s) for authentication with API server. |
Command |
true |
Command that will be executed as in the cmd/shell prompt. |
Error Text |
false |
If the given text is found in the console log, the overall task status will be an error. To concatenate multiple error text use ‘||’ operator. |
Output parameter(s):
Parameter | Help Text |
---|---|
OutputLog |
Output log of the operation. |
HelmStatus |
Status of the operation. |
Pass/Fail Conditions:
Method |
Status |
Condition |
---|---|---|
Create |
Passed |
If the |
Create |
Failed |
If the |
Install |
Passed |
If the |
Install |
Failed |
If the |
Uninstall |
Passed |
If the |
Uninstall |
Failed |
If the |
ExecuteCommand |
Passed |
If the |
ExecuteCommand |
Failed |
If the
|
Limitations:
- The Helm CLI (helm) should be installed in the agent machine.
- Provide the authentication credentials only if the selected container platform is OpenShift.
- The functionality solely depends on the Helm CLI, if the command behaviour changes the result may vary.
Release Details:
Initial version with basic functionalities.