Class ContainerOptions
Specifies CRI-O and local container registry options.
note
These options can be used to customize the /etc/containers/registries.conf on the cluster nodes as the cluster is provisioned. See more information: here
Namespace: Neon.Kube.ClusterDef
Assembly: Neon.Kube.dll
Syntax
public class ContainerOptions
Constructors
ContainerOptions()
Default constructor.
Declaration
public ContainerOptions()
Properties
Registries
Optionally customizes how pulls from one or more upstream container registries are performed. This can be used to block registry access, allow insecure HTTP access, or remap target registeries to another location.
note
These items will generate corresponding [[registry]] items in the /etc/containers/registries.conf file on the cluster nodes.
Declaration
[JsonProperty(PropertyName = "Registries", Required = Required.Default, DefaultValueHandling = DefaultValueHandling.IgnoreAndPopulate)]
[YamlMember(Alias = "registries", ApplyNamingConventions = false)]
public List<Registry> Registries { get; set; }
Property Value
Type | Description |
---|---|
List<Registry> |
SearchRegistries
Optionally specifies the prefixes for the default container registeries to be searched when pulling container images that don't identify a source registry. This defaults to Docker Hub (docker.io) but zero or more custom DNS hostnames or IP addresses may be specified.
note
Container registries will be searched for containers in the order that registries appear in this list.
Declaration
[JsonProperty(PropertyName = "SearchRegistries", Required = Required.Default, DefaultValueHandling = DefaultValueHandling.IgnoreAndPopulate)]
[YamlMember(Alias = "searchRegistries", ApplyNamingConventions = false)]
public List<string> SearchRegistries { get; set; }
Property Value
Type | Description |
---|---|
List<string> |