istio

package
v1.65.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 3, 2023 License: Apache-2.0, BSD-2-Clause, MIT, + 1 more Imports: 24 Imported by: 0

Documentation

Index

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"
)

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL