Class KubeConfigClusterConfig
Describes a Kubernetes cluster's configuration.
Namespace: Neon.Kube.Config
Assembly: Neon.Kube.dll
Syntax
public class KubeConfigClusterConfig
Constructors
KubeConfigClusterConfig()
Default constructor.
Declaration
public KubeConfigClusterConfig()
Properties
CertificateAuthority
Optional path to the cluster certificate authority file.
Declaration
[JsonProperty(PropertyName = "certificate-authority", Required = Required.Default, DefaultValueHandling = DefaultValueHandling.IgnoreAndPopulate)]
[YamlMember(Alias = "certificate-authority", ApplyNamingConventions = false, DefaultValuesHandling = DefaultValuesHandling.OmitNull)]
public string CertificateAuthority { get; set; }
Property Value
Type | Description |
---|---|
string |
CertificateAuthorityData
Optionally specifies the PRM-encode certificate authority certificates. Overrides CertificateAuthority.
Declaration
[JsonProperty(PropertyName = "certificate-authority-data", Required = Required.Default, DefaultValueHandling = DefaultValueHandling.IgnoreAndPopulate)]
[YamlMember(Alias = "certificate-authority-data", ApplyNamingConventions = false, DefaultValuesHandling = DefaultValuesHandling.OmitNull)]
public string CertificateAuthorityData { get; set; }
Property Value
Type | Description |
---|---|
string |
DisableCompression
Optionally allows client to opt-out of response compression for all requests to the server. This is useful to speed up requests (specifically lists) when client-server network bandwidth is ample, by saving time on compression (server-side) and decompression (client-side):
https://github.com/kubernetes/kubernetes/issues/112296.
Declaration
[JsonProperty(PropertyName = "disable-compression", Required = Required.Default, DefaultValueHandling = DefaultValueHandling.IgnoreAndPopulate)]
[YamlMember(Alias = "disable-compression", ApplyNamingConventions = false, DefaultValuesHandling = DefaultValuesHandling.OmitNull)]
public bool DisableCompression { get; set; }
Property Value
Type | Description |
---|---|
bool |
Extensions
Lists any custom extension properties. Extensions are name/value pairs added by vendors to hold arbitrary information. Take care to choose property names that are unlikely to conflict with properties created by other vendors by adding a custom prefix like neonkube.io.MY-PROPERTY, where MY-PROPERTY identifies the property and neonkibe.io helps avoid conflicts.
Declaration
[JsonProperty(PropertyName = "extensions", Required = Required.Default, DefaultValueHandling = DefaultValueHandling.IgnoreAndPopulate)]
[YamlMember(Alias = "extensions", ApplyNamingConventions = false, DefaultValuesHandling = DefaultValuesHandling.OmitNull|DefaultValuesHandling.OmitEmptyCollections)]
public List<NamedExtension> Extensions { get; set; }
Property Value
Type | Description |
---|---|
List<NamedExtension> |
InsecureSkipTlsVerify
Optionally disables TLS verification of the server.
Declaration
[JsonProperty(PropertyName = "insecure-skip-tls-verify", Required = Required.Default, DefaultValueHandling = DefaultValueHandling.IgnoreAndPopulate)]
[YamlMember(Alias = "insecure-skip-tls-verify", ApplyNamingConventions = false, DefaultValuesHandling = DefaultValuesHandling.OmitNull)]
public bool InsecureSkipTlsVerify { get; set; }
Property Value
Type | Description |
---|---|
bool |
ProxyUrl
Optionally specifies is the URL to the proxy to be used for all requests made by this client. URLs with "http", "https", and "socks5" schemes are supported. If this configuration is no provided or the empty string, the client attempts to construct a proxy configuration from http_proxy and https_proxy environment variables. If these environment variables are not set, the client does not attempt to proxy requests.
socks5 proxying does not currently support spdy streaming endpoints (exec, attach, port forward).
Declaration
[JsonProperty(PropertyName = "proxy-url", Required = Required.Default, DefaultValueHandling = DefaultValueHandling.IgnoreAndPopulate)]
[YamlMember(Alias = "proxy-url", ApplyNamingConventions = false, DefaultValuesHandling = DefaultValuesHandling.OmitNull)]
public string ProxyUrl { get; set; }
Property Value
Type | Description |
---|---|
string |
Server
Specifies the qualified URL to the cluster's API server.
Declaration
[JsonProperty(PropertyName = "server", Required = Required.Always)]
[YamlMember(Alias = "server", ApplyNamingConventions = false)]
public string Server { get; set; }
Property Value
Type | Description |
---|---|
string |
TlsServerName
Optionally used to check server certificate. If TlsServerName is empty, the hostname used to contact the server is used.
Declaration
[JsonProperty(PropertyName = "tls-server-name", Required = Required.Default, DefaultValueHandling = DefaultValueHandling.IgnoreAndPopulate)]
[YamlMember(Alias = "tls-server-name", ApplyNamingConventions = false, DefaultValuesHandling = DefaultValuesHandling.OmitNull)]
public string TlsServerName { get; set; }
Property Value
Type | Description |
---|---|
string |