Documentation ¶
Index ¶
Constants ¶
View Source
const ( // IstioNamespace is the default root namespace of istio IstioNamespace = "istio-system" // LazyXdsManager is the controller name which will put into fieldManager LazyXdsManager = "lazyxds-manager" // EgressName is name of egress deployment and service EgressName = "istio-egressgateway-lazyxds" // EgressServicePort is default port of egress service EgressServicePort = 8080 // EgressGatewayName is the istio gateway name of lazyxds egress EgressGatewayName = "lazyxds-egress" // AccessLogServicePort is the default port of access log service AccessLogServicePort = 8080 // EgressVirtualServiceName the vs name of lazyxds egress EgressVirtualServiceName = "lazyxds-egress" // LazyLoadingAnnotation is the annotation name which use to enable/disable lazy xds feature LazyLoadingAnnotation = "lazy-xds" // ManagedByLabel is the common label indicate the component is managed by which controller ManagedByLabel = "app.kubernetes.io/managed-by" )
View Source
const (
// AutoCreateEgress ...
AutoCreateEgress = "LAZYXDS_AUTO_CREATE_EGRESS"
)
Variables ¶
This section is empty.
Functions ¶
func GetEgressCluster ¶
func GetEgressCluster() string
GetEgressCluster returns the egress xds cluster string default is "outbound|8080||istio-egressgateway-lazyxds.istio-system.svc.cluster.local"
Types ¶
type Config ¶
type Config struct { KubeConfig string AutoCreateEgress bool IstiodAddress string ProxyImage string LeaderElection *componentbaseconfig.LeaderElectionConfiguration }
Config is the lazyxds manager configuration
Click to show internal directories.
Click to hide internal directories.