Documentation
¶
Index ¶
- Constants
- Variables
- func CentralLoggingConfiguration() (component.CentralLoggingConfig, error)
- func ManagedResourceNames(istiodEnabled bool, namePrefix string) []string
- func NewCRD(client client.Client) (component.DeployWaiter, error)
- type IngressGatewayValues
- type Interface
- type IstiodValues
- type Values
Constants ¶
View Source
const ( // DefaultZoneKey is the label key for the istio default ingress gateway. DefaultZoneKey = "istio" // RoleKey is the label key used to clearly differentiate between the istio ingress gateways deployed for // the runtime cluster and the seed cluster. RoleKey = "istio-role" // RoleGarden is the label value for the virtual garden ingress gateway pods. RoleGarden = "garden" // RoleSeed is the label value for the seed ingress gateway pods. RoleSeed = "seed" // IstiodServiceName is the name of the istiod service. IstiodServiceName = "istiod" // IstiodPort is the port of the istiod service. IstiodPort = 15012 // PortWebhookServer is the port of the validating webhook server. PortWebhookServer = 10250 )
Variables ¶
View Source
var TimeoutWaitForManagedResource = 2 * time.Minute
TimeoutWaitForManagedResource is the timeout used while waiting for the ManagedResources to become healthy or deleted.
Functions ¶
func CentralLoggingConfiguration ¶
func CentralLoggingConfiguration() (component.CentralLoggingConfig, error)
CentralLoggingConfiguration returns a fluent-bit parser and filter for the cluster-autoscaler logs.
func ManagedResourceNames ¶
ManagedResourceNames returns the names of the `ManagedResource`s being used by Istio.
Types ¶
type IngressGatewayValues ¶
type IngressGatewayValues struct {
Annotations map[string]string
Labels map[string]string
NetworkPolicyLabels map[string]string
LoadBalancerClass *string
ExternalTrafficPolicy *corev1.ServiceExternalTrafficPolicy
Image string
IstiodNamespace string
LoadBalancerIP *string
MaxReplicas *int
MinReplicas *int
Namespace string
PriorityClassName string
TrustDomain string
TerminateLoadBalancerProxyProtocol bool
VPNEnabled bool
HTTPProxyLegacyPortEnabled bool
Zones []string
DualStack bool
EnforceSpreadAcrossHosts bool
KubernetesVersion string
// Ports is a list of all Ports the istio-ingress gateways is listening on.
// Port 15021 and 15000 cannot be used.
Ports []corev1.ServicePort
}
IngressGatewayValues holds values for the istio-ingress chart. The only opened port is 15021.
type Interface ¶
type Interface interface {
component.DeployWaiter
// AddIngressGateway adds another ingress gateway to the existing Istio deployer.
AddIngressGateway(values IngressGatewayValues)
// GetValues returns the configured values of the Istio deployer.
GetValues() Values
}
Interface contains functions for an Istio deployer.
type IstiodValues ¶
type IstiodValues struct {
// Enabled controls if `istiod` is deployed.
Enabled bool
// Namespace (a.k.a. Istio-System namespace) is the namespace `istiod` is deployed to.
Namespace string
// Image is the image used for the `istiod` deployment.
Image string
// PriorityClassName is the name of the priority class used for the Istiod deployment.
PriorityClassName string
// TrustDomain is the domain used for service discovery, e.g. `cluster.local`.
TrustDomain string
// Zones are the availability zones used for this `istiod` deployment.
Zones []string
// DualStack
DualStack bool
}
IstiodValues contains configuration values for the Istiod component.
type Values ¶
type Values struct {
// Istiod are configuration values for the istiod chart.
Istiod IstiodValues
// IngressGateway are configuration values for ingress gateway deployments and objects.
IngressGateway []IngressGatewayValues
// NamePrefix can be used to prepend arbitrary identifiers to resources which are deployed to common namespaces.
NamePrefix string
}
Values contains configuration values for the Istio component.
Click to show internal directories.
Click to hide internal directories.