Documentation ¶
Index ¶
Constants ¶
View Source
const ( ControlPlaneServiceAPIServer = "api-server" ControlPlaneServiceContainerBuilder = "container-builder" ControlPlaneServiceLatticeControllerManager = "lattice-controller-manager" )
View Source
const ( LabelKeyLatticeID = "lattice.mlab.com/id" LabelKeyControlPlane = "control-plane.lattice.mlab.com" LabelKeyControlPlaneService = LabelKeyControlPlane + "/service" LabelKeyNodeRollKubernetes = "node-role.kubernetes.io" LabelKeyNodeRollKubernetesMaster = LabelKeyNodeRollKubernetes + "/master" LabelKeyNodeRoleLattice = "node-role.lattice.mlab.com" LabelKeyNodeRoleLatticeMaster = LabelKeyNodeRoleLattice + "/master" LabelKeyNodeRoleLatticeBuild = LabelKeyNodeRoleLattice + "/build" LabelKeyNodeRoleLatticeNodePool = LabelKeyNodeRoleLattice + "/node-pool" )
View Source
const ( NamespaceDefault = "default" NamespaceLatticeInternal = "internal" NamespacePrefixLatticeSystem = "system-" )
View Source
const ( ServiceAccountAPIServer = "api-server" ServiceAccountComponentBuilder = "component-builder" ServiceAccountLatticeControllerManager = "lattice-controller-manager" )
View Source
const (
ConfigGlobal = "global"
)
Variables ¶
View Source
var NodeAffinityMasterNode = corev1.NodeAffinity{ RequiredDuringSchedulingIgnoredDuringExecution: &NodeSelectorMasterNode, }
View Source
var NodeSelectorBuildNode = corev1.NodeSelector{ NodeSelectorTerms: []corev1.NodeSelectorTerm{ { MatchExpressions: []corev1.NodeSelectorRequirement{ { Key: LabelKeyNodeRoleLatticeBuild, Operator: corev1.NodeSelectorOpIn, Values: []string{"true"}, }, }, }, }, }
View Source
var NodeSelectorMasterNode = corev1.NodeSelector{ NodeSelectorTerms: []corev1.NodeSelectorTerm{ { MatchExpressions: []corev1.NodeSelectorRequirement{ { Key: LabelKeyNodeRoleLatticeMaster, Operator: corev1.NodeSelectorOpIn, Values: []string{"true"}, }, }, }, }, }
View Source
var NodeSelectorNodePool = corev1.NodeSelector{ NodeSelectorTerms: []corev1.NodeSelectorTerm{ { MatchExpressions: []corev1.NodeSelectorRequirement{ { Key: LabelKeyNodeRoleLatticeNodePool, Operator: corev1.NodeSelectorOpExists, }, }, }, }, }
View Source
var TolerationBuildNode = corev1.Toleration{ Key: LabelKeyNodeRoleLatticeBuild, Operator: corev1.TolerationOpEqual, Value: "true", Effect: corev1.TaintEffectNoSchedule, }
View Source
var TolerationKubernetesMasterNode = corev1.Toleration{ Key: LabelKeyNodeRollKubernetesMaster, Operator: corev1.TolerationOpExists, Effect: corev1.TaintEffectNoSchedule, }
View Source
var TolerationLatticeMasterNode = corev1.Toleration{ Key: LabelKeyNodeRoleLatticeMaster, Operator: corev1.TolerationOpEqual, Value: "true", Effect: corev1.TaintEffectNoSchedule, }
View Source
var TolerationNodePool = corev1.Toleration{ Key: LabelKeyNodeRoleLatticeNodePool, Operator: corev1.TolerationOpExists, Effect: corev1.TaintEffectNoSchedule, }
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.