The software described in this documentation is either no longer supported or is in extended support.
Oracle recommends that you upgrade to a current supported release.
- 5.2.1 Creating an Environment
- 5.2.2 Deleting an Environment
- 5.2.3 Listing Available Modules in an Environment
- 5.2.4 Adding Modules to an Environment
- 5.2.5 Validating a Module
- 5.2.6 Installing a Module
- 5.2.7 Scaling a Kubernetes Cluster
- 5.2.8 Updating the Kubernetes Release
- 5.2.9 Uninstalling a Module
- 5.2.10 Listing Module Properties
- 5.2.11 Listing the Value of a Module Property
This section shows you how to use the olcnectl command to create and manage an Oracle Linux Cloud Native Environment deployment. When you use the olcnectl command, you are prompted for any missing options. For details of the olcnectl command syntax, see Section 5.1, “Platform CLI Syntax”.
The first step to deploying Oracle Linux Cloud Native Environment is to create an empty environment.
You can create an environment using certificates provided by Vault, or using existing certificates on the nodes.
Use the olcnectl environment create command
to create an environment. For example, to create an
environment named myenvironment
using
certificates generated from a Vault instance:
$ olcnectl --api-server 127.0.0.1:8091 environment create --environment-name myenvironment \
--update-config \
--vault-token s.3QKNuRoTqLbjXaGBOmO6Psjh \
--secret-manager-type vault \
--vault-address https://192.0.2.20:8200
Use the olcnectl environment create command
with the --secret-manager-type file
file
option. For example:
$ olcnectl --api-server 127.0.0.1:8091 environment create --environment-name myenvironment \
--update-config \
--secret-manager-type file \
--olcne-node-cert-path /etc/olcne/configs/certificates/production/node.cert \
--olcne-ca-path /etc/olcne/configs/certificates/production/ca.cert \
--olcne-node-key-path /etc/olcne/configs/certificates/production/node.key