The control-plane-manager module is responsible for managing the cluster’s control plane components. The cluster parameters that impact control plane management are derived from the initial cluster configuration (cluster-configuration.yaml parameter from the d8-cluster-configuration secret in the kube-system namespace), which is created during the installation.

This module is enabled by default. You can disable it the standard way:

controlPlaneManagerEnabled: "false"

Parameters

  • apiserverobject

    kube-apiserver parameters.

    • admissionPluginsarray of strings

      List of enabled additional admission plugins.

      Note, that in addition to the admission plugins enabled by default in Kubernetes, the following admission plugins are also always enabled:

      • ExtendedResourceToleration
      • EventRateLimit with the following config:

        apiVersion: eventratelimit.admission.k8s.io/v1alpha1
        kind: Configuration
        limits:
        - type: Namespace
          qps: 50
          burst: 100
          cacheSize: 2000
        

      Note that th PodNodeSelector admission plugin does not require specifiying a global configuration, it relies on annotated Namespaces.

      Example:

      admissionPlugins:
      - AlwaysPullImages
      - NamespaceAutoProvision
      

      Allowed values of the array: AlwaysPullImages, NamespaceAutoProvision, OwnerReferencesPermissionEnforcement, PodNodeSelector, PodTolerationRestriction

    • auditLogobject

      Audit policy settings

      Default: {"output":"File"}

      • outputstring

        Required value

        Audit logs target stream.

        Default: "File"

        Allowed values: File, Stdout

      • pathstring

        Directory path for logs if the output is “File”, otherwise ignored.

        Default: "/var/log/kube-audit"

        Pattern: ^[a-zA-Z0-9_/.-]+[a-zA-Z0-9_.-]$

    • auditPolicyEnabledboolean

      Set the audit policies using the configuration from the kube-system/audit-policy Secret.

      Default: false

    • authnobject

      Optional authentication parameters for Kubernetes API clients.

      By default, they are taken from user-authn module ConfigMap.

      • oidcCAstring

        OIDC provider CA.

      • oidcIssuerAddressstring

        OIDC provider network address alias.

        Examples:

        oidcIssuerAddress: 1.2.3.4
        
        oidcIssuerAddress: ''
        
      • oidcIssuerURLstring

        OIDC provider URL.

        Example:

        oidcIssuerURL: https://my-super-site.tech/
        
      • webhookCAstring

        Authorization webhook CA.

      • webhookURLstring

        Authentication webhook URL.

        Example:

        webhookURL: https://127.0.0.1:40443/
        
    • authzobject

      Optional authorization parameters for Kubernetes API clients.

      By default, they are taken from user-authz module ConfigMap.

      • webhookCAstring

        Authorization webhook CA.

      • webhookURLstring

        Authorization webhook URL.

        Example:

        webhookURL: https://127.0.0.1:40443/
        
    • basicAuditPolicyEnabledboolean

      Enforce basic Deckhouse audit policies.

      Default: true

    • bindToWildcardboolean

      Specifies whether to listen on 0.0.0.0.

      By default, the API server listens on the hostIP. The latter usually corresponds to the Internal node address; however, the actual IP depends on the cluster type (Static or Cloud) and the layout selected.

      Default: false

    • certSANsarray of strings

      Array of SANs, with which the API server certificate will be generated.

      In addition to the passed list, the following list is always used:

      • kubernetes;
      • kubernetes.default;
      • kubernetes.default.svc;
      • kubernetes.default.svc.cluster.local;
      • 192.168.0.1;
      • 127.0.0.1;
      • current_hostname;
      • hostIP.

      Example:

      certSANs:
      - my-site.com
      - 192.168.67.76
      

      Pattern: ^[0-9a-zA-Z\.-]+$

    • encryptionEnabledboolean

      Enables encrypting secret data at rest.

      Generates kube-system/d8-secret-encryption-key Secret with encryption key.

      Note! This mode cannot be disabled!

      Default: false

    • loadBalancerobject

      If set, a service kube-system/d8-control-plane-apiserver of the LoadBalancer type will be created.

      • annotationsobject

        Annotations to attach to a service to fine-tune the load balancer.

        Caution! The module does not take into account the specifics of setting annotations in various cloud environments. If the annotations for load balancer provisioning are only applied when creating a service, you will need to delete and add the apiserver.loadBalancer parameter to update such parameters.

      • portinteger

        External LoadBalancer TCP port.

        Default: 443

        Allowed values: 1 <= X <= 65534

      • sourceRangesarray of strings

        A list of CIDRs that are allowed to connect to the API.

        The cloud provider may not support this option or ignore it.

        Pattern: ^[0-9]{1,}\.[0-9]{1,}\.[0-9]{1,}\.[0-9]{1,}\/[0-9]+$

    • serviceAccountobject

      ServiceAccount issuing settings.

      Examples:

      serviceAccount: {}
      
      serviceAccount:
        additionalAPIAudiences:
        - istio-ca
      
      • additionalAPIAudiencesarray of strings

        A list of API audiences to add when provisioning ServiceAccount tokens.

  • etcdobject

    etcd parameters.

    • externalMembersNamesarray of strings

      etcd external members array (they will not be deleted).

      Example:

      externalMembersNames:
      - main-master-1
      - my-external-member
      

      Pattern: ^[0-9a-zA-Z\.-:\-\/]+$

  • failedNodePodEvictionTimeoutSecondsinteger

    The number of seconds after which pods will be deleted from the node with the Unreachable status.

    Note! If you change the parameter, the pods must be restarted.

    Default: 300

  • nodeMonitorGracePeriodSecondsinteger

    The number of seconds after which the node will enter the Unreachable status in case of lost connection.

    Default: 40