Install With CLI
vz
CLIThe following instructions show you how to install Verrazzano in a single Kubernetes cluster using the CLI.
Prerequisites
- Find the Verrazzano prerequisite requirements here.
- Review the list of the software versions supported and installed by Verrazzano.
NOTE
To avoid conflicts with Verrazzano system components, we recommend installing Verrazzano into an empty cluster.Prepare for the installation
Before installing Verrazzano, see instructions on preparing Kubernetes platforms and installing the Verrazzano CLI (optional). Make sure that you have a valid kubeconfig file pointing to the Kubernetes cluster that you want to use for installing Verrazzano.
NOTE: Verrazzano can create network policies that can be used to limit the ports and protocols that pods use for network communication. Network policies provide additional security but they are enforced only if you install a Kubernetes Container Network Interface (CNI) plug-in that enforces them, such as Calico. For instructions on how to install a CNI plug-in, see the documentation for your Kubernetes cluster.
Perform the installation
Verrazzano provides a platform operator to manage the life cycle of Verrazzano installations. Using the Verrazzano custom resource, you can install, uninstall, and upgrade Verrazzano installations. When applying the Verrazzano custom resource, the Verrazzano CLI deploys and installs the Verrazzano platform operator; you need only to install Verrazzano as described in the following section.
Verrazzano supports the following installation profiles: development (dev
), production (prod
), and
managed cluster (managed-cluster
). For more information, see
Installation Profiles.
This document shows how to create a basic Verrazzano installation using:
- The development (
dev
) installation profile - Wildcard-DNS, where DNS is provided by nip.io (the default)
NOTE: Because the dev
profile installs self-signed certificates, when installing Verrazzano on macOS, you might see: Your connection is not private. For a workaround, see this FAQ.
For an overview of how to configure Verrazzano, see Modify Verrazzano Installations. For a complete description of Verrazzano configuration options, see the Verrazzano Custom Resource Definition.
To use other DNS options, see Customizing DNS for more details.
Install Verrazzano
To create a Verrazzano installation as described in the previous section, run the following commands.
- Install Verrazzano with its
dev
profile.$ vz install -f - <<EOF apiVersion: install.verrazzano.io/v1beta1 kind: Verrazzano metadata: name: example-verrazzano spec: profile: dev defaultVolumeSource: persistentVolumeClaim: claimName: verrazzano-storage volumeClaimSpecTemplates: - metadata: name: verrazzano-storage spec: resources: requests: storage: 2Gi EOF
This command installs the Verrazzano platform operator and applies the Verrazzano custom resource.
- Wait for the installation to complete. Installation logs will be streamed to the command window until the installation has completed or until the default timeout (30m) has been reached.
To use a different profile with the previous example, set the VZ_PROFILE
environment variable to the name of the profile you want to install.
Next steps
Verify the installed Verrazzano using the vz
CLI. See Verify Using CLI.
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.