2 Cluster Configuration Files
Describes Kubernetes cluster configuration files in Oracle CNE.
Most deployments contain at least some details that are unique to that deployment. A cluster configuration file can be used to provide those customizations without specifying them on the command line.
Cluster configuration files set the options to customize a cluster. The contents of a cluster
configuration file override any defaults set in the CLI default configuration file ($HOME/.ocne/defaults.yaml
). For information on the default
configuration file, see Oracle Cloud Native Environment: CLI.
A cluster configuration file is a YAML file, and can be anywhere on the localhost, for
example, $HOME/.ocne/mycluster.yaml
. Use this file by including the
--config
option when creating a cluster with the ocne cluster
start
command.
A cluster configuration file can be overridden by providing options on the command line when
you use the ocne cluster start
command to create a cluster.