560 lines
33 KiB
YAML
560 lines
33 KiB
YAML
version: v1alpha1 # Indicates the schema used to decode the contents.
|
|
debug: false # Enable verbose logging to the console.
|
|
persist: true
|
|
# Provides machine specific configuration options.
|
|
machine:
|
|
type: controlplane # Defines the role of the machine within the cluster.
|
|
token: ct7q2i.oa852l2madmdhc26 # The `token` is used by a machine to join the PKI of the cluster.
|
|
# The root certificate authority of the PKI.
|
|
ca:
|
|
crt: LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSUJQakNCOGFBREFnRUNBaEFxd1c3MDBXYUpvN0dXNXZvU2RDNGRNQVVHQXl0bGNEQVFNUTR3REFZRFZRUUsKRXdWMFlXeHZjekFlRncweU5URXhNakF4TWpNeU16SmFGdzB6TlRFeE1UZ3hNak15TXpKYU1CQXhEakFNQmdOVgpCQW9UQlhSaGJHOXpNQ293QlFZREsyVndBeUVBcGo4aitGeUdVbmk1SDN2dnVWN0RWdHJ1SCtKa09XV1l6UEtiCjF4bENIZXFqWVRCZk1BNEdBMVVkRHdFQi93UUVBd0lDaERBZEJnTlZIU1VFRmpBVUJnZ3JCZ0VGQlFjREFRWUkKS3dZQkJRVUhBd0l3RHdZRFZSMFRBUUgvQkFVd0F3RUIvekFkQmdOVkhRNEVGZ1FVTm92WkoydFNGMlJGMUx4RApsbVdDZ0YwTXMxWXdCUVlESzJWd0EwRUFFODM0M2RCRXp6QlJLZFFPRzF4TjJsOWRxUFpQbGhIUHY3VFFPaHptCnFtUFh1b1k2Sm8vcjhOcFF4OVhJSHUxSFU0bWlZT3dlQW1INjVhOWQ3dnNvQXc9PQotLS0tLUVORCBDRVJUSUZJQ0FURS0tLS0tCg==
|
|
key: LS0tLS1CRUdJTiBFRDI1NTE5IFBSSVZBVEUgS0VZLS0tLS0KTUM0Q0FRQXdCUVlESzJWd0JDSUVJRnVFY0FqVXFjZ3NyZFUvSG5SM2gzMERaMFFPWHJldCs5VUsrdHNSTVdFVAotLS0tLUVORCBFRDI1NTE5IFBSSVZBVEUgS0VZLS0tLS0K
|
|
# Extra certificate subject alternative names for the machine's certificate.
|
|
certSANs: []
|
|
# # Uncomment this to enable SANs.
|
|
# - 10.0.0.10
|
|
# - 172.16.0.10
|
|
# - 192.168.0.10
|
|
|
|
# Used to provide additional options to the kubelet.
|
|
kubelet:
|
|
image: ghcr.io/siderolabs/kubelet:v1.34.1 # The `image` field is an optional reference to an alternative kubelet image.
|
|
defaultRuntimeSeccompProfileEnabled: true # Enable container runtime default Seccomp profile.
|
|
disableManifestsDirectory: true # The `disableManifestsDirectory` field configures the kubelet to get static pod manifests from the /etc/kubernetes/manifests directory.
|
|
|
|
# # The `ClusterDNS` field is an optional reference to an alternative kubelet clusterDNS ip list.
|
|
# clusterDNS:
|
|
# - 10.96.0.10
|
|
# - 169.254.2.53
|
|
|
|
# # The `extraArgs` field is used to provide additional flags to the kubelet.
|
|
# extraArgs:
|
|
# key: value
|
|
|
|
# # The `extraMounts` field is used to add additional mounts to the kubelet container.
|
|
# extraMounts:
|
|
# - destination: /var/lib/example # Destination is the absolute path where the mount will be placed in the container.
|
|
# type: bind # Type specifies the mount kind.
|
|
# source: /var/lib/example # Source specifies the source path of the mount.
|
|
# # Options are fstab style mount options.
|
|
# options:
|
|
# - bind
|
|
# - rshared
|
|
# - rw
|
|
|
|
# # The `extraConfig` field is used to provide kubelet configuration overrides.
|
|
# extraConfig:
|
|
# serverTLSBootstrap: true
|
|
|
|
# # The `KubeletCredentialProviderConfig` field is used to provide kubelet credential configuration.
|
|
# credentialProviderConfig:
|
|
# apiVersion: kubelet.config.k8s.io/v1
|
|
# kind: CredentialProviderConfig
|
|
# providers:
|
|
# - apiVersion: credentialprovider.kubelet.k8s.io/v1
|
|
# defaultCacheDuration: 12h
|
|
# matchImages:
|
|
# - '*.dkr.ecr.*.amazonaws.com'
|
|
# - '*.dkr.ecr.*.amazonaws.com.cn'
|
|
# - '*.dkr.ecr-fips.*.amazonaws.com'
|
|
# - '*.dkr.ecr.us-iso-east-1.c2s.ic.gov'
|
|
# - '*.dkr.ecr.us-isob-east-1.sc2s.sgov.gov'
|
|
# name: ecr-credential-provider
|
|
|
|
# # The `nodeIP` field is used to configure `--node-ip` flag for the kubelet.
|
|
# nodeIP:
|
|
# # The `validSubnets` field configures the networks to pick kubelet node IP from.
|
|
# validSubnets:
|
|
# - 10.0.0.0/8
|
|
# - '!10.0.0.3/32'
|
|
# - fdc7::/16
|
|
# Provides machine specific network configuration options.
|
|
network: {}
|
|
# # `interfaces` is used to define the network interface configuration.
|
|
# interfaces:
|
|
# - interface: enp0s1 # The interface name.
|
|
# # Assigns static IP addresses to the interface.
|
|
# addresses:
|
|
# - 192.168.2.0/24
|
|
# # A list of routes associated with the interface.
|
|
# routes:
|
|
# - network: 0.0.0.0/0 # The route's network (destination).
|
|
# gateway: 192.168.2.1 # The route's gateway (if empty, creates link scope route).
|
|
# metric: 1024 # The optional metric for the route.
|
|
# mtu: 1500 # The interface's MTU.
|
|
#
|
|
# # # Picks a network device using the selector.
|
|
|
|
# # # select a device with bus prefix 00:*.
|
|
# # deviceSelector:
|
|
# # busPath: 00:* # PCI, USB bus prefix, supports matching by wildcard.
|
|
# # # select a device with mac address matching `*:f0:ab` and `virtio` kernel driver.
|
|
# # deviceSelector:
|
|
# # hardwareAddr: '*:f0:ab' # Device hardware (MAC) address, supports matching by wildcard.
|
|
# # driver: virtio_net # Kernel driver, supports matching by wildcard.
|
|
# # # select a device with bus prefix 00:*, a device with mac address matching `*:f0:ab` and `virtio` kernel driver.
|
|
# # deviceSelector:
|
|
# # - busPath: 00:* # PCI, USB bus prefix, supports matching by wildcard.
|
|
# # - hardwareAddr: '*:f0:ab' # Device hardware (MAC) address, supports matching by wildcard.
|
|
# # driver: virtio_net # Kernel driver, supports matching by wildcard.
|
|
|
|
# # # Bond specific options.
|
|
# # bond:
|
|
# # # The interfaces that make up the bond.
|
|
# # interfaces:
|
|
# # - enp2s0
|
|
# # - enp2s1
|
|
# # # Picks a network device using the selector.
|
|
# # deviceSelectors:
|
|
# # - busPath: 00:* # PCI, USB bus prefix, supports matching by wildcard.
|
|
# # - hardwareAddr: '*:f0:ab' # Device hardware (MAC) address, supports matching by wildcard.
|
|
# # driver: virtio_net # Kernel driver, supports matching by wildcard.
|
|
# # mode: 802.3ad # A bond option.
|
|
# # lacpRate: fast # A bond option.
|
|
|
|
# # # Bridge specific options.
|
|
# # bridge:
|
|
# # # The interfaces that make up the bridge.
|
|
# # interfaces:
|
|
# # - enxda4042ca9a51
|
|
# # - enxae2a6774c259
|
|
# # # Enable STP on this bridge.
|
|
# # stp:
|
|
# # enabled: true # Whether Spanning Tree Protocol (STP) is enabled.
|
|
|
|
# # # Configure this device as a bridge port.
|
|
# # bridgePort:
|
|
# # master: br0 # The name of the bridge master interface
|
|
|
|
# # # Indicates if DHCP should be used to configure the interface.
|
|
# # dhcp: true
|
|
|
|
# # # DHCP specific options.
|
|
# # dhcpOptions:
|
|
# # routeMetric: 1024 # The priority of all routes received via DHCP.
|
|
|
|
# # # Wireguard specific configuration.
|
|
|
|
# # # wireguard server example
|
|
# # wireguard:
|
|
# # privateKey: ABCDEF... # Specifies a private key configuration (base64 encoded).
|
|
# # listenPort: 51111 # Specifies a device's listening port.
|
|
# # # Specifies a list of peer configurations to apply to a device.
|
|
# # peers:
|
|
# # - publicKey: ABCDEF... # Specifies the public key of this peer.
|
|
# # endpoint: 192.168.1.3 # Specifies the endpoint of this peer entry.
|
|
# # # AllowedIPs specifies a list of allowed IP addresses in CIDR notation for this peer.
|
|
# # allowedIPs:
|
|
# # - 192.168.1.0/24
|
|
# # # wireguard peer example
|
|
# # wireguard:
|
|
# # privateKey: ABCDEF... # Specifies a private key configuration (base64 encoded).
|
|
# # # Specifies a list of peer configurations to apply to a device.
|
|
# # peers:
|
|
# # - publicKey: ABCDEF... # Specifies the public key of this peer.
|
|
# # endpoint: 192.168.1.2:51822 # Specifies the endpoint of this peer entry.
|
|
# # persistentKeepaliveInterval: 10s # Specifies the persistent keepalive interval for this peer.
|
|
# # # AllowedIPs specifies a list of allowed IP addresses in CIDR notation for this peer.
|
|
# # allowedIPs:
|
|
# # - 192.168.1.0/24
|
|
|
|
# # # Virtual (shared) IP address configuration.
|
|
|
|
# # # layer2 vip example
|
|
# # vip:
|
|
# # ip: 172.16.199.55 # Specifies the IP address to be used.
|
|
|
|
# # Used to statically set the nameservers for the machine.
|
|
# nameservers:
|
|
# - 8.8.8.8
|
|
# - 1.1.1.1
|
|
|
|
# # Used to statically set arbitrary search domains.
|
|
# searchDomains:
|
|
# - example.org
|
|
# - example.com
|
|
|
|
# # Allows for extra entries to be added to the `/etc/hosts` file
|
|
# extraHostEntries:
|
|
# - ip: 192.168.1.100 # The IP of the host.
|
|
# # The host alias.
|
|
# aliases:
|
|
# - example
|
|
# - example.domain.tld
|
|
|
|
# # Configures KubeSpan feature.
|
|
# kubespan:
|
|
# enabled: true # Enable the KubeSpan feature.
|
|
|
|
# Used to provide instructions for installations.
|
|
install:
|
|
disk: /dev/sda # The disk used for installations.
|
|
image: ghcr.io/siderolabs/installer:v1.11.2 # Allows for supplying the image used to perform the installation.
|
|
wipe: false # Indicates if the installation disk should be wiped at installation time.
|
|
|
|
# # Look up disk using disk attributes like model, size, serial and others.
|
|
# diskSelector:
|
|
# size: 4GB # Disk size.
|
|
# model: WDC* # Disk model `/sys/block/<dev>/device/model`.
|
|
# busPath: /pci0000:00/0000:00:17.0/ata1/host0/target0:0:0/0:0:0:0 # Disk bus path.
|
|
|
|
# # Allows for supplying extra kernel args via the bootloader.
|
|
# extraKernelArgs:
|
|
# - talos.platform=metal
|
|
# - reboot=k
|
|
# Used to configure the machine's time settings.
|
|
time:
|
|
# description: |
|
|
servers:
|
|
- ntp.uia.no
|
|
# Used to configure the machine's container image registry mirrors.
|
|
registries:
|
|
# Specifies mirror configuration for each registry host namespace.
|
|
mirrors:
|
|
docker.io:
|
|
# List of endpoints (URLs) for registry mirrors to use.
|
|
endpoints:
|
|
- https://urr.uia.no/v2/proxy-docker.io
|
|
overridePath: true # Use the exact path specified for the endpoint (don't append /v2/).
|
|
gcr.io:
|
|
# List of endpoints (URLs) for registry mirrors to use.
|
|
endpoints:
|
|
- https://urr.uia.no/v2/proxy-gcr.io
|
|
overridePath: true # Use the exact path specified for the endpoint (don't append /v2/).
|
|
ghcr.io:
|
|
# List of endpoints (URLs) for registry mirrors to use.
|
|
endpoints:
|
|
- https://urr.uia.no/v2/proxy-ghcr.io
|
|
overridePath: true # Use the exact path specified for the endpoint (don't append /v2/).
|
|
registry.k8s.io:
|
|
# List of endpoints (URLs) for registry mirrors to use.
|
|
endpoints:
|
|
- https://urr.uia.no/v2/proxy-k8s.io
|
|
overridePath: true # Use the exact path specified for the endpoint (don't append /v2/).
|
|
|
|
# # Specifies TLS & auth configuration for HTTPS image registries.
|
|
# config:
|
|
# registry.insecure:
|
|
# # The TLS configuration for the registry.
|
|
# tls:
|
|
# insecureSkipVerify: true # Skip TLS server certificate verification (not recommended).
|
|
#
|
|
# # # Enable mutual TLS authentication with the registry.
|
|
# # clientIdentity:
|
|
# # crt: LS0tIEVYQU1QTEUgQ0VSVElGSUNBVEUgLS0t
|
|
# # key: LS0tIEVYQU1QTEUgS0VZIC0tLQ==
|
|
#
|
|
# # # The auth configuration for this registry.
|
|
# # auth:
|
|
# # username: username # Optional registry authentication.
|
|
# # password: password # Optional registry authentication.
|
|
# Features describe individual Talos features that can be switched on or off.
|
|
features:
|
|
rbac: true # Enable role-based access control (RBAC).
|
|
stableHostname: true # Enable stable default hostname.
|
|
apidCheckExtKeyUsage: true # Enable checks for extended key usage of client certificates in apid.
|
|
diskQuotaSupport: true # Enable XFS project quota support for EPHEMERAL partition and user disks.
|
|
# KubePrism - local proxy/load balancer on defined port that will distribute
|
|
kubePrism:
|
|
enabled: true # Enable KubePrism support - will start local load balancing proxy.
|
|
port: 7445 # KubePrism port.
|
|
# Configures host DNS caching resolver.
|
|
hostDNS:
|
|
enabled: true # Enable host DNS caching resolver.
|
|
forwardKubeDNSToHost: true # Use the host DNS resolver as upstream for Kubernetes CoreDNS pods.
|
|
|
|
# # Configure Talos API access from Kubernetes pods.
|
|
# kubernetesTalosAPIAccess:
|
|
# enabled: true # Enable Talos API access from Kubernetes pods.
|
|
# # The list of Talos API roles which can be granted for access from Kubernetes pods.
|
|
# allowedRoles:
|
|
# - os:reader
|
|
# # The list of Kubernetes namespaces Talos API access is available from.
|
|
# allowedKubernetesNamespaces:
|
|
# - kube-system
|
|
# Configures the node labels for the machine.
|
|
nodeLabels:
|
|
node.kubernetes.io/exclude-from-external-load-balancers: ""
|
|
|
|
# # Provides machine specific control plane configuration options.
|
|
|
|
# # ControlPlane definition example.
|
|
# controlPlane:
|
|
# # Controller manager machine specific configuration options.
|
|
# controllerManager:
|
|
# disabled: false # Disable kube-controller-manager on the node.
|
|
# # Scheduler machine specific configuration options.
|
|
# scheduler:
|
|
# disabled: true # Disable kube-scheduler on the node.
|
|
|
|
# # Used to provide static pod definitions to be run by the kubelet directly bypassing the kube-apiserver.
|
|
|
|
# # nginx static pod.
|
|
# pods:
|
|
# - apiVersion: v1
|
|
# kind: pod
|
|
# metadata:
|
|
# name: nginx
|
|
# spec:
|
|
# containers:
|
|
# - image: nginx
|
|
# name: nginx
|
|
|
|
# # Allows the addition of user specified files.
|
|
|
|
# # MachineFiles usage example.
|
|
# files:
|
|
# - content: '...' # The contents of the file.
|
|
# permissions: 0o666 # The file's permissions in octal.
|
|
# path: /tmp/file.txt # The path of the file.
|
|
# op: append # The operation to use
|
|
|
|
# # The `env` field allows for the addition of environment variables.
|
|
|
|
# # Environment variables definition examples.
|
|
# env:
|
|
# GRPC_GO_LOG_SEVERITY_LEVEL: info
|
|
# GRPC_GO_LOG_VERBOSITY_LEVEL: "99"
|
|
# https_proxy: http://SERVER:PORT/
|
|
# env:
|
|
# GRPC_GO_LOG_SEVERITY_LEVEL: error
|
|
# https_proxy: https://USERNAME:PASSWORD@SERVER:PORT/
|
|
# env:
|
|
# https_proxy: http://DOMAIN\USERNAME:PASSWORD@SERVER:PORT/
|
|
|
|
# # Used to configure the machine's sysctls.
|
|
|
|
# # MachineSysctls usage example.
|
|
# sysctls:
|
|
# kernel.domainname: talos.dev
|
|
# net.ipv4.ip_forward: "0"
|
|
# net/ipv6/conf/eth0.100/disable_ipv6: "1"
|
|
|
|
# # Used to configure the machine's sysfs.
|
|
|
|
# # MachineSysfs usage example.
|
|
# sysfs:
|
|
# devices.system.cpu.cpu0.cpufreq.scaling_governor: performance
|
|
|
|
# # Configures the udev system.
|
|
# udev:
|
|
# # List of udev rules to apply to the udev system
|
|
# rules:
|
|
# - SUBSYSTEM=="drm", KERNEL=="renderD*", GROUP="44", MODE="0660"
|
|
|
|
# # Configures the logging system.
|
|
# logging:
|
|
# # Logging destination.
|
|
# destinations:
|
|
# - endpoint: tcp://1.2.3.4:12345 # Where to send logs. Supported protocols are "tcp" and "udp".
|
|
# format: json_lines # Logs format.
|
|
|
|
# # Configures the kernel.
|
|
# kernel:
|
|
# # Kernel modules to load.
|
|
# modules:
|
|
# - name: brtfs # Module name.
|
|
|
|
# # Configures the seccomp profiles for the machine.
|
|
# seccompProfiles:
|
|
# - name: audit.json # The `name` field is used to provide the file name of the seccomp profile.
|
|
# # The `value` field is used to provide the seccomp profile.
|
|
# value:
|
|
# defaultAction: SCMP_ACT_LOG
|
|
|
|
# # Override (patch) settings in the default OCI runtime spec for CRI containers.
|
|
|
|
# # override default open file limit
|
|
# baseRuntimeSpecOverrides:
|
|
# process:
|
|
# rlimits:
|
|
# - hard: 1024
|
|
# soft: 1024
|
|
# type: RLIMIT_NOFILE
|
|
|
|
# # Configures the node annotations for the machine.
|
|
|
|
# # node annotations example.
|
|
# nodeAnnotations:
|
|
# customer.io/rack: r13a25
|
|
|
|
# # Configures the node taints for the machine. Effect is optional.
|
|
|
|
# # node taints example.
|
|
# nodeTaints:
|
|
# exampleTaint: exampleTaintValue:NoSchedule
|
|
# Provides cluster specific configuration options.
|
|
cluster:
|
|
id: 1REXWCPDXzJ70vf9Wfw_mw21XTmWu5YFm69Wgog-NyM= # Globally unique identifier for this cluster (base64 encoded random 32 bytes).
|
|
secret: EU6NYx1NECGtvQV6t7ghehjfCyu36B93arhr3mbJPBk= # Shared secret of cluster (base64 encoded random 32 bytes).
|
|
# Provides control plane specific configuration options.
|
|
controlPlane:
|
|
endpoint: https://10.0.0.10:6443 # Endpoint is the canonical controlplane endpoint, which can be an IP address or a DNS hostname.
|
|
clusterName: ikt210-g04 # Configures the cluster's name.
|
|
# Provides cluster specific network configuration options.
|
|
network:
|
|
# The CNI used.
|
|
cni:
|
|
name: none # Name of CNI to use.
|
|
dnsDomain: cluster.local # The domain used by Kubernetes DNS.
|
|
# The pod subnet CIDR.
|
|
podSubnets:
|
|
- 10.244.0.0/16
|
|
# The service subnet CIDR.
|
|
serviceSubnets:
|
|
- 10.96.0.0/12
|
|
token: 1pd7bg.cah3hm97e0xken77 # The [bootstrap token](https://kubernetes.io/docs/reference/access-authn-authz/bootstrap-tokens/) used to join the cluster.
|
|
secretboxEncryptionSecret: 8y4IPRhpflsHSidKg9k7u0J5cIjr5zqcNHU0kKwWN0M= # A key used for the [encryption of secret data at rest](https://kubernetes.io/docs/tasks/administer-cluster/encrypt-data/).
|
|
# The base64 encoded root certificate authority used by Kubernetes.
|
|
ca:
|
|
crt: LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSUJpakNDQVMrZ0F3SUJBZ0lRTnF0dWdYcndNZ3ZvcEhzdTNXQ2JDekFLQmdncWhrak9QUVFEQWpBVk1STXcKRVFZRFZRUUtFd3ByZFdKbGNtNWxkR1Z6TUI0WERUSTFNVEV5TURFeU16SXpNbG9YRFRNMU1URXhPREV5TXpJegpNbG93RlRFVE1CRUdBMVVFQ2hNS2EzVmlaWEp1WlhSbGN6QlpNQk1HQnlxR1NNNDlBZ0VHQ0NxR1NNNDlBd0VICkEwSUFCSmtxeHNCbnhmQ2VsRDdaMjB2SC9pNm0yN09GUzc3NTE4d3JwdDVibXQwUEdCVWFVYnNvREpDSGVadjMKYm9GNmoxWVV1MVB1emluUDNHelQwM2ZJRmNXallUQmZNQTRHQTFVZER3RUIvd1FFQXdJQ2hEQWRCZ05WSFNVRQpGakFVQmdnckJnRUZCUWNEQVFZSUt3WUJCUVVIQXdJd0R3WURWUjBUQVFIL0JBVXdBd0VCL3pBZEJnTlZIUTRFCkZnUVVUQ1ROckxpS29JYndYeEJ5S2xaZWJkY3o4WmN3Q2dZSUtvWkl6ajBFQXdJRFNRQXdSZ0loQUlMVkxxL00KYmUrYnRQcWVEUEl3VDJtZHNqY1VGazFRYzJiM2Z0dzUwWE9VQWlFQXFVaW9Zd2JiUjhRMldMT1pKdk4vTUExdApIWjNkQlYxSi9hY0Y1WnpxQklZPQotLS0tLUVORCBDRVJUSUZJQ0FURS0tLS0tCg==
|
|
key: LS0tLS1CRUdJTiBFQyBQUklWQVRFIEtFWS0tLS0tCk1IY0NBUUVFSU9vYU1SQ09oYWxkZEcrbDBQSGNuQmp5YnFXbFJkMUYvLzdiK1BWcm4yRTlvQW9HQ0NxR1NNNDkKQXdFSG9VUURRZ0FFbVNyR3dHZkY4SjZVUHRuYlM4ZitMcWJiczRWTHZ2blh6Q3VtM2x1YTNROFlGUnBSdXlnTQprSWQ1bS9kdWdYcVBWaFM3VSs3T0tjL2NiTlBUZDhnVnhRPT0KLS0tLS1FTkQgRUMgUFJJVkFURSBLRVktLS0tLQo=
|
|
# The base64 encoded aggregator certificate authority used by Kubernetes for front-proxy certificate generation.
|
|
aggregatorCA:
|
|
crt: LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSUJZRENDQVFXZ0F3SUJBZ0lRWFFjeStCTEhHUXoxTmMwdUd3UlNGVEFLQmdncWhrak9QUVFEQWpBQU1CNFgKRFRJMU1URXlNREV5TXpJek1sb1hEVE0xTVRFeE9ERXlNekl6TWxvd0FEQlpNQk1HQnlxR1NNNDlBZ0VHQ0NxRwpTTTQ5QXdFSEEwSUFCSlAyYTlOSVJGS0N5UV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nlLMTVuazN6NEFEY0pxeXZTZXprRy9LbnNzRApsY2hwWmxvSzN0Z2xFRU95Mnh6R015Y1NSazZ0Z2dSVGtnZENOTmlaK1A1WFRDNFptaXEzdFJzNjRabGMrTGQwClkrQkRjMW1WZ21MOFlkNUMzQU5COHgvWmVTNCtwUXg1N1FrT3h2d2I4TFcvbzQvZXJSK0w1dysydjZyTEpMb2EKb3FSSWFyQWxvTUdEUWxtNjgwVXhCdGdmdE5VY1Bnd2pkRUxWTVpTd0RlblpjZTluV3o4dVFERlk0ZkFuZlIwUQpHa2k3RG84SGNKRjBmcDlsNnRRelFZNGI0cURETml6ME1OeERZaFNXME1uREN1OGdSZC9OK3BCMnNzNFJVSVVSCmFKK296ZFl1TzRHWFZjOTFkWHczVkZLYnZWc3hjNndkQW9JQkFRQ2lTelVkdzM3cENkY05wbk5kT21zU1lqTkwKcGRGaVlTb255OURrSEF5b1c2Q2FLSWUxaUlEN1Z2bHhNNC9zL2xJakRhWjlPMnhIQjBUbWFiMVE5aTF0RGtJeQpMYkRFVTM3dWliL3gwTWV1a0IwQUYxd0hSZzdNR2hwak94Y2VtMWRjeFhwZytSYzJ6akwzMTI1N1FsN1ROSTZuCjNPMlpQRGY3bGFmOWFwME51VHF0V1pKVXJtaXpPdWE4Z0tQT01qQ21QT0JsZzd5aHo2OG41NzdjRVlJeG9LTGEKUWlGdy9GT3NGNGlFc3NnZmE3Wjk1bVFPVTNFeHBaVDZBL0UwUE1BSkNlU2ZqZlVTdGVWOEt3K2NXUXNvcmNrYwpCb2UyT3ZmY1M0RTc2UWpWV09RTHVjSGx5TWV0MGtjUWhMOUVldElFeGlWeGtRZFJma21malJGdk9QaGEKLS0tLS1FTkQgUlNBIFBSSVZBVEUgS0VZLS0tLS0K
|
|
# API server specific configuration options.
|
|
apiServer:
|
|
image: registry.k8s.io/kube-apiserver:v1.34.1 # The container image used in the API server manifest.
|
|
# Extra certificate subject alternative names for the API server's certificate.
|
|
certSANs:
|
|
- 10.0.0.10
|
|
disablePodSecurityPolicy: true # Disable PodSecurityPolicy in the API server and default manifests.
|
|
# Configure the API server admission plugins.
|
|
admissionControl:
|
|
- name: PodSecurity # Name is the name of the admission controller.
|
|
# Configuration is an embedded configuration object to be used as the plugin's
|
|
configuration:
|
|
apiVersion: pod-security.admission.config.k8s.io/v1alpha1
|
|
defaults:
|
|
audit: restricted
|
|
audit-version: latest
|
|
enforce: baseline
|
|
enforce-version: latest
|
|
warn: restricted
|
|
warn-version: latest
|
|
exemptions:
|
|
namespaces:
|
|
- kube-system
|
|
runtimeClasses: []
|
|
usernames: []
|
|
kind: PodSecurityConfiguration
|
|
# Configure the API server audit policy.
|
|
auditPolicy:
|
|
apiVersion: audit.k8s.io/v1
|
|
kind: Policy
|
|
rules:
|
|
- level: Metadata
|
|
|
|
# # Configure the API server authorization config. Node and RBAC authorizers are always added irrespective of the configuration.
|
|
# authorizationConfig:
|
|
# - type: Webhook # Type is the name of the authorizer. Allowed values are `Node`, `RBAC`, and `Webhook`.
|
|
# name: webhook # Name is used to describe the authorizer.
|
|
# # webhook is the configuration for the webhook authorizer.
|
|
# webhook:
|
|
# connectionInfo:
|
|
# type: InClusterConfig
|
|
# failurePolicy: Deny
|
|
# matchConditionSubjectAccessReviewVersion: v1
|
|
# matchConditions:
|
|
# - expression: has(request.resourceAttributes)
|
|
# - expression: '!(\''system:serviceaccounts:kube-system\'' in request.groups)'
|
|
# subjectAccessReviewVersion: v1
|
|
# timeout: 3s
|
|
# - type: Webhook # Type is the name of the authorizer. Allowed values are `Node`, `RBAC`, and `Webhook`.
|
|
# name: in-cluster-authorizer # Name is used to describe the authorizer.
|
|
# # webhook is the configuration for the webhook authorizer.
|
|
# webhook:
|
|
# connectionInfo:
|
|
# type: InClusterConfig
|
|
# failurePolicy: NoOpinion
|
|
# matchConditionSubjectAccessReviewVersion: v1
|
|
# subjectAccessReviewVersion: v1
|
|
# timeout: 3s
|
|
# Controller manager server specific configuration options.
|
|
controllerManager:
|
|
image: registry.k8s.io/kube-controller-manager:v1.34.1 # The container image used in the controller manager manifest.
|
|
# Kube-proxy server-specific configuration options
|
|
proxy:
|
|
disabled: true # Disable kube-proxy deployment on cluster bootstrap.
|
|
image: registry.k8s.io/kube-proxy:v1.34.1 # The container image used in the kube-proxy manifest.
|
|
# Scheduler server specific configuration options.
|
|
scheduler:
|
|
image: registry.k8s.io/kube-scheduler:v1.34.1 # The container image used in the scheduler manifest.
|
|
# Configures cluster member discovery.
|
|
discovery:
|
|
enabled: true # Enable the cluster membership discovery feature.
|
|
# Configure registries used for cluster member discovery.
|
|
registries:
|
|
# Kubernetes registry uses Kubernetes API server to discover cluster members and stores additional information
|
|
kubernetes:
|
|
disabled: true # Disable Kubernetes discovery registry.
|
|
# Service registry is using an external service to push and pull information about cluster members.
|
|
service: {}
|
|
# # External service endpoint.
|
|
# endpoint: https://discovery.talos.dev/
|
|
# Etcd specific configuration options.
|
|
etcd:
|
|
# The `ca` is the root certificate authority of the PKI.
|
|
ca:
|
|
crt: LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSUJmVENDQVNTZ0F3SUJBZ0lSQUt1dE9lT3IyeVZoWXJ2cHAzK1RYSVV3Q2dZSUtvWkl6ajBFQXdJd0R6RU4KTUFzR0ExVUVDaE1FWlhSalpEQWVGdzB5TlRFeE1qQXhNak15TXpKYUZ3MHpOVEV4TVRneE1qTXlNekphTUE4eApEVEFMQmdOVkJBb1RCR1YwWTJRd1dUQVRCZ2NxaGtqT1BRSUJCZ2dxaGtqT1BRTUJCd05DQUFROW1tZWpDc1ZUCkF3QS9ZSmFzN1NKUXN6Q0dHZ3M1dGYwa3c4SExDRW05ZFpBNDEybmwxQ1g1L2xYMW9YSFdKVzFwaWk0QWdoaHMKNjd6cndobWZoaEpKbzJFd1h6QU9CZ05WSFE4QkFmOEVCQU1DQW9Rd0hRWURWUjBsQkJZd0ZBWUlLd1lCQlFVSApBd0VHQ0NzR0FRVUZCd01DTUE4R0ExVWRFd0VCL3dRRk1BTUJBZjh3SFFZRFZSME9CQllFRkR4S0g5TWVURGhkCmplbEdqTkJhZkdZQVFmNStNQW9HQ0NxR1NNNDlCQU1DQTBjQU1FUUNIM3U4WEg1OXFNSkU4bC83dGZ0L1hiS2IKaE5GbnBuNU5UM1prNnI0SWhka0NJUUNwWlp5SE5KamUyMFRKb0pWRGFndWNVZDMrQjh4UlZ6cERqaGdjNG5PZwpQQT09Ci0tLS0tRU5EIENFUlRJRklDQVRFLS0tLS0K
|
|
key: LS0tLS1CRUdJTiBFQyBQUklWQVRFIEtFWS0tLS0tCk1IY0NBUUVFSU15RzNhVEtIdlJqTjR3MlQvY0dzT3AxcnVLakNvMkQ2REtxc1Fta3pJL0hvQW9HQ0NxR1NNNDkKQXdFSG9VUURRZ0FFUFpwbm93ckZVd01BUDJDV3JPMGlVTE13aGhvTE9iWDlKTVBCeXdoSnZYV1FPTmRwNWRRbAorZjVWOWFGeDFpVnRhWW91QUlJWWJPdTg2OElabjRZU1NRPT0KLS0tLS1FTkQgRUMgUFJJVkFURSBLRVktLS0tLQo=
|
|
# Extra arguments to supply to etcd.
|
|
extraArgs:
|
|
election-timeout: "50000"
|
|
experimental-warning-apply-duration: 1000ms
|
|
heartbeat-interval: "5000"
|
|
|
|
# # The container image used to create the etcd service.
|
|
# image: gcr.io/etcd-development/etcd:v3.6.4
|
|
|
|
# # The `advertisedSubnets` field configures the networks to pick etcd advertised IP from.
|
|
# advertisedSubnets:
|
|
# - 10.0.0.0/8
|
|
# A list of urls that point to additional manifests.
|
|
extraManifests: []
|
|
# - https://www.example.com/manifest1.yaml
|
|
# - https://www.example.com/manifest2.yaml
|
|
|
|
# A list of inline Kubernetes manifests.
|
|
inlineManifests: []
|
|
# - name: namespace-ci # Name of the manifest.
|
|
# contents: |- # Manifest contents as a string.
|
|
# apiVersion: v1
|
|
# kind: Namespace
|
|
# metadata:
|
|
# name: ci
|
|
|
|
|
|
# # A key used for the [encryption of secret data at rest](https://kubernetes.io/docs/tasks/administer-cluster/encrypt-data/).
|
|
|
|
# # Decryption secret example (do not use in production!).
|
|
# aescbcEncryptionSecret: z01mye6j16bspJYtTB/5SFX8j7Ph4JXxM2Xuu4vsBPM=
|
|
|
|
# # Core DNS specific configuration options.
|
|
# coreDNS:
|
|
# image: registry.k8s.io/coredns/coredns:v1.12.3 # The `image` field is an override to the default coredns image.
|
|
|
|
# # External cloud provider configuration.
|
|
# externalCloudProvider:
|
|
# enabled: true # Enable external cloud provider.
|
|
# # A list of urls that point to additional manifests for an external cloud provider.
|
|
# manifests:
|
|
# - https://raw.githubusercontent.com/kubernetes/cloud-provider-aws/v1.20.0-alpha.0/manifests/rbac.yaml
|
|
# - https://raw.githubusercontent.com/kubernetes/cloud-provider-aws/v1.20.0-alpha.0/manifests/aws-cloud-controller-manager-daemonset.yaml
|
|
|
|
# # A map of key value pairs that will be added while fetching the extraManifests.
|
|
# extraManifestHeaders:
|
|
# Token: "1234567"
|
|
# X-ExtraInfo: info
|
|
|
|
# # Settings for admin kubeconfig generation.
|
|
# adminKubeconfig:
|
|
# certLifetime: 1h0m0s # Admin kubeconfig certificate lifetime (default is 1 year).
|
|
|
|
# # Allows running workload on control-plane nodes.
|
|
# allowSchedulingOnControlPlanes: true
|