Documentation
¶
Overview ¶
Copyright 2025 Flant JSC
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Copyright 2025 Flant JSC ¶
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Copyright 2025 Flant JSC ¶
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Index ¶
- Constants
- Variables
- func ApplyTemplateMap(actual, template, lastApplied map[string]string) (map[string]string, bool)
- func CheckCloudProviderConfig(input *go_hook.HookInput) error
- func CheckClusterConfig(input *go_hook.HookInput) error
- func CheckStaticClusterConfig(input *go_hook.HookInput) error
- func ExcessMapKeys(a, b map[string]string) set.Set
- type CloudCondition
- type CsrInfo
- type InstanceClassCrdInfo
- type Machine
- type MachineDeploymentCrdInfo
- type Node
- type NodeGroupCrdInfo
- type NodeGroupStatus
- type NodeSettings
- type StandbyNodeGroupForValues
- type StandbyNodeGroupInfo
- type StandbyNodeInfo
- type StandbyPodInfo
Constants ¶
const ( CRITypeDocker = "Docker" CRITypeContainerd = "Containerd" NodeGroupDefaultCRIType = CRITypeContainerd )
const ( NodeGroupNameLabel = "node.deckhouse.io/group" LastAppliedNodeTemplateAnnotation = "node-manager.deckhouse.io/last-applied-node-template" NodeUnininitalizedTaintKey = "node.deckhouse.io/uninitialized" HeartbeatAnnotationKey = "kubevirt.internal.virtualization.deckhouse.io/heartbeat" MetalLBmemberLabelKey = "l2-load-balancer.network.deckhouse.io/member" )
const (
CheckCloudProviderConfigRaw = "checkCloudProviderConfigRaw"
)
const (
CheckClusterConfigRaw = "checkClusterConfigRaw"
)
const (
CheckStaticClusterConfigRaw = "checkStaticClusterConfigRaw"
)
const EpochWindowSize int64 = 4 * 60 * 60 // 4 hours
Variables ¶
var NumPercentRegex = regexp.MustCompile(`^([0-9]+)%$`)
Functions ¶
func ApplyTemplateMap ¶
ApplyTemplateMap return actual merged with template without excess keys.
func CheckCloudProviderConfig ¶ added in v1.69.0
func CheckClusterConfig ¶ added in v1.69.0
func CheckStaticClusterConfig ¶ added in v1.69.0
Types ¶
type CloudCondition ¶ added in v1.69.1
type InstanceClassCrdInfo ¶
type InstanceClassCrdInfo struct {
Name string
Spec interface{}
}
type NodeGroupCrdInfo ¶
type NodeGroupCrdInfo struct {
Name string
Spec ngv1.NodeGroupSpec
ManualRolloutID string
}
type NodeGroupStatus ¶ added in v1.44.0
type NodeSettings ¶
type StandbyNodeGroupInfo ¶
type StandbyNodeInfo ¶
type StandbyPodInfo ¶
Source Files
¶
- change_host_ip.go
- chaos_monkey.go
- check_cluster_configuration.go
- check_provider_cluster_configuration.go
- check_static_cluster_configuration.go
- check_unmet_conditions.go
- clear_nodeuser_errors.go
- cluster_api_deckhouse_control_plane.go
- convert_static_cluster_configuration.go
- create_master_node_group.go
- deployment_required.go
- discover_apiserver_endpoints.go
- discover_cloud_provider.go
- discover_kubernetes_ca.go
- discover_packages_proxy_addresses.go
- discover_standby_ng.go
- enable_cluster_api_cloud_and_static.go
- fencing_controller.go
- gen_bashible_apiserver_certs.go
- generate_capi_kubeconfig.go
- generate_capi_webhook_certs.go
- generate_caps_webhook_certs.go
- get_crds.go
- get_packages_proxy_token.go
- handle_draining.go
- handle_node_templates.go
- instance_controller.go
- kubelet_csr_approver.go
- lock_bashible_apiserver.go
- machine_deployments_caps_metrics.go
- machineclass_checksum_assign.go
- machineclass_checksum_collect.go
- metrics_node_group_configurations.go
- minimal_node_os_version.go
- node_group_metrics.go
- node_status_update_frequency.go
- order_bootstrap_token.go
- remove_csi_taints.go
- set_instance_class_ng_usage.go
- set_instance_prefix.go
- set_ng_priorities.go
- set_provider_id_on_static_nodes.go
- set_replicas_on_machine_deployment.go
- update_approval.go
- update_node_group_status.go
- upmeter_discovery.go
- util.go
- yc_delete_preemptible_instances.go
Directories
¶
| Path | Synopsis |
|---|---|
|
internal
|
|
|
capi/v1beta1
Package v1beta1 contains the v1beta1 API implementation.
|
Package v1beta1 contains the v1beta1 API implementation. |
|
pkg
|
|