Documentation ¶
Index ¶
- Constants
- Variables
- func AggregateMonitoringConfiguration() (component.AggregateMonitoringConfig, error)
- func NewCRD(applier kubernetes.ChartApplier, client crclient.Client) component.DeployWaiter
- func NewIstio(client client.Client, chartRenderer chartrenderer.Interface, values Values) component.DeployWaiter
- type IngressGatewayValues
- type IstiodValues
- type Values
Constants ¶
View Source
const ( // ManagedResourceControlName is the name of the ManagedResource containing the resource specifications. ManagedResourceControlName = "istio" // ManagedResourceIstioSystemName is the name of the ManagedResource containing Istio-System resource specifications. ManagedResourceIstioSystemName = "istio-system" // DefaultZoneKey is the label key for the istio default ingress gateway. DefaultZoneKey = "istio" // IstiodServiceName is the name of the istiod service. IstiodServiceName = "istiod" // 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 AggregateMonitoringConfiguration ¶ added in v1.51.0
func AggregateMonitoringConfiguration() (component.AggregateMonitoringConfig, error)
AggregateMonitoringConfiguration returns scrape configs for the aggregate Prometheus.
func NewCRD ¶ added in v1.65.0
func NewCRD( applier kubernetes.ChartApplier, client crclient.Client, ) component.DeployWaiter
NewCRD can be used to deploy istio CRDs.
func NewIstio ¶ added in v1.50.0
func NewIstio( client client.Client, chartRenderer chartrenderer.Interface, values Values, ) component.DeployWaiter
NewIstio can be used to deploy istio's istiod in a namespace. Destroy does nothing.
Types ¶
type IngressGatewayValues ¶ added in v1.65.0
type IngressGatewayValues struct { Annotations map[string]string Labels map[string]string ExternalTrafficPolicy *corev1.ServiceExternalTrafficPolicyType Image string IstiodNamespace string LoadBalancerIP *string MaxReplicas *int MinReplicas *int Namespace string TrustDomain string ProxyProtocolEnabled bool VPNEnabled bool Zones []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 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 // 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 }
IstiodValues contains configuration values for the Istiod component.
type Values ¶ added in v1.65.0
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 // Suffix can be used to append arbitrary identifiers to resources which are deployed to common namespaces. Suffix string }
Values contains configuration values for the Istio component.
Click to show internal directories.
Click to hide internal directories.