YAML Deployments
This guide has been reviewed and reformatted for Ruk-Com Cloud PaaS. Screens may vary slightly by platform version.
Click or tap a screenshot to view it at its original size.
Objective
This guide explains how to use YAML Deployments on Ruk-Com Cloud PaaS, with ordered procedures and practical verification points.
Before you begin
- Sign in with an account permitted to manage the relevant environment.
- Confirm the target environment, region and resources before saving changes.
- Create a backup or rollback plan before changing a production system.
Kubernetes supports deployment from both JSON and YAML files. However, socially, YAML is the more frequently used option and can be considered the standard.
Deploying from YAML is quite similar to a chart.Helm- File.yamlor.ymlIt provides the definition of an object or list of objects (objects), so it can be used directly in the Kubernetes Dashboard or with the kubectl command-line tool without installing additional software.
When working with kubectl, use the commandapplywith the correct path to your deploy's YAML file:
kubectl apply -f /path/to/deployment.yaml
On the other hand, the benefit of Helm charts is their advanced flexibility (supports conditions, replacements, parameters, etc.).