Class KubeVersions
Specifies deployment related component versions for the current NEONKUBE release. Kubernetes release information can be found here: https://kubernetes.io/releases/
Namespace: Neon.Kube
Assembly: Neon.Kube.dll
Syntax
public static class KubeVersions
Fields
AlertManager
The version of AlertManager to be installed.
Declaration
public const string AlertManager = "v0.21.0"
Field Value
Type | Description |
---|---|
string |
BuildBranch
Returns the name of the branch from which this assembly was built.
Declaration
public const string BuildBranch = "master"
Field Value
Type | Description |
---|---|
string |
Busybox
The version of busybox image to be installed.
Declaration
public const string Busybox = "1.32.0"
Field Value
Type | Description |
---|---|
string |
Calico
The version of Calico to install.
Declaration
public const string Calico = "3.22.2"
Field Value
Type | Description |
---|---|
string |
CoreDNS
The version of CoreDNS to be installed.
Declaration
public const string CoreDNS = "1.6.2"
Field Value
Type | Description |
---|---|
string |
CoreDNSPlugin
The version of CoreDNS plugin to be installed.
Declaration
public const string CoreDNSPlugin = "0.2-istio-1.1"
Field Value
Type | Description |
---|---|
string |
Crio
The version of CRI-O container runtime to be installed.
note
CRI-O is tied to specific Kubernetes releases and the CRI-O major and minor versions must match the Kubernetes major and minor version numbers. The revision/patch properties may differ.
Versions can be seen here: https://download.opensuse.org/repositories/devel:/kubic:/libcontainers:/stable:/cri-o:/ Make sure the package has actually been uploaded.
Declaration
public static readonly string Crio
Field Value
Type | Description |
---|---|
string |
DnsUtils
The version of dnsutils to install.
Declaration
public const string DnsUtils = "1.3"
Field Value
Type | Description |
---|---|
string |
Haproxy
The version of HaProxy to install.
Declaration
public const string Haproxy = "1.9.2-alpine"
Field Value
Type | Description |
---|---|
string |
Helm
The version of Helm to be installed.
Declaration
public const string Helm = "3.12.0"
Field Value
Type | Description |
---|---|
string |
Istio
The version of Istio to install.
Declaration
public const string Istio = "1.14.1"
Field Value
Type | Description |
---|---|
string |
KubeAdminPackage
The package version for Kubernetes admin service.
Declaration
public const string KubeAdminPackage = "1.24.0-00"
Field Value
Type | Description |
---|---|
string |
Kubectl
The version of the Kubernetes client tools to be installed with NEONDESKTOP.
Declaration
public const string Kubectl = "1.24.0"
Field Value
Type | Description |
---|---|
string |
KubectlPackage
The package version for the Kubernetes cli.
Declaration
public const string KubectlPackage = "1.24.0-00"
Field Value
Type | Description |
---|---|
string |
KubeletPackage
The package version for the Kubelet service.
Declaration
public const string KubeletPackage = "1.24.0-00"
Field Value
Type | Description |
---|---|
string |
Kubernetes
The version of Kubernetes to be installed.
Declaration
public const string Kubernetes = "1.24.0"
Field Value
Type | Description |
---|---|
string |
KubernetesDashboard
The version of the Kubernetes dashboard to be installed.
Declaration
public const string KubernetesDashboard = "2.5.1"
Field Value
Type | Description |
---|---|
string |
KubernetesDashboardMetrics
The version of the Kubernetes dashboard metrics scraper to be installed.
Declaration
public const string KubernetesDashboardMetrics = "v1.0.6"
Field Value
Type | Description |
---|---|
string |
KubernetesNoPatch
The version of Kubernetes to be installed, without the patch component.
Declaration
public const string KubernetesNoPatch = "1.24"
Field Value
Type | Description |
---|---|
string |
MinXenServerVersion
The minimum supported XenServer/XCP-ng hypervisor host version.
Declaration
public static readonly SemanticVersion MinXenServerVersion
Field Value
Type | Description |
---|---|
SemanticVersion |
NeonKube
The current NEONKUBE version.
Declaration
public const string NeonKube = "0.10.0-beta.5"
Field Value
Type | Description |
---|---|
string |
Remarks
RELEASE CONVENTIONS:
We're going to use this version to help manage public releases as well as to help us isolate development changes made by individual developers or by multiple developers colloborating on common features.
-alpha[.##] |
Used for internal releases that are not meant to be consumed by the public. The .## part is optional and can be used when it's necessary to retain artifacts like container and node images for multiple pre-releases. This must include two digits so a leading "0" will be required for small numbers. |
-preview[.##] |
This is used for public preview releases where NEONFORGE is not making any short or long term support promises. We may remove, change, or break features included in this release for subsequent releases. The .## part is optional and can be used when it's necessary to retain artifacts like container and node images for multiple internal pre-releases. This must include two digits so a leading "0" will be required for small numbers. |
-preview[.##] |
This is used for public preview releases where NEONFORGE is not making any short or long term support promises. We may remove, change, or break features included in this release for subsequent releases. The .## part is optional and can be used when it's necessary to retain artifacts like container and node images for multiple pre-releases. This must include two digits so a leading "0" will be required for small numbers. |
-rc[.##] |
This is used for public release candidate releases. For these releases, NEONFORGE is still not making any short or long term support promises, but we're going to try a lot harder to avoid future incompatibilities. RC release will typically be feature complete and reasonably well tested. The .## part is optional and can be used when it's necessary to retain artifacts like container and node images for multiple pre-releases. This must include two digits so a leading "0" will be required for small numbers. |
NONE | Generally available non-preview public releases. |
The NEONCLOUD stage/publish tools will use this version as is when tagging container images as well as node/desktop virtual machine images when publishing Neon.Kube libraries build from a release-* branch. Otherwise, the tool will append the branch name to the release like:
0.9.2-alpha.BRANCH
note
IMPORTANT: This convention allows multiple developers to work with their own versions of intermediate releases in parallel while avoiding conflicts with other developers.
NeonKubeContainerImageTagPrefix
Returns the prefix used for NEONKUBE container tags.
Declaration
public const string NeonKubeContainerImageTagPrefix = "neonkube-"
Field Value
Type | Description |
---|---|
string |
NeonKubeWithBranchPart
Returns the full NEONKUBE release including the BranchPart, if any.
Declaration
public static readonly string NeonKubeWithBranchPart
Field Value
Type | Description |
---|---|
string |
Pause
The version of pause image to be installed.
Declaration
public const string Pause = "3.7"
Field Value
Type | Description |
---|---|
string |
Podman
The version of Podman to be installed.
Declaration
public const string Podman = "3.4.2"
Field Value
Type | Description |
---|---|
string |
Prometheus
The version of Prometheus to be installed.
Declaration
public const string Prometheus = "v2.22.1"
Field Value
Type | Description |
---|---|
string |
Properties
BranchPart
Returns the branch part of the NEONKUBE version. This will be blank for release branches whose names starts with release- and will be .BRANCH for all other branches.
Declaration
public static string BranchPart { get; }
Property Value
Type | Description |
---|---|
string |
NeonKubeContainerImageTag
Returns the container image tag for the current NEONKUBE release. This adds the neonkube- prefix to NeonKube.
note
This also includes the .BRANCH part when the assembly was built from a non-release branch.
Declaration
public static string NeonKubeContainerImageTag { get; }
Property Value
Type | Description |
---|---|
string |
Methods
CheckXenServerHostVersion(SemanticVersion)
Ensures that the XenServer version passed is supported for building NEONKUBE virtual machines images. Currently only 8.2.* versions are supported.
Declaration
public static void CheckXenServerHostVersion(SemanticVersion version)
Parameters
Type | Name | Description |
---|---|---|
SemanticVersion | version | The XenServer version being checked. |
Exceptions
Type | Condition |
---|---|
NotSupportedException | Thrown for unsupported versions. |