Provides a kOps cluster data source.
data "kops_cluster" "cluster" {
cluster_name = "cluster.example.com"
}
Because kOps sometimes uses pointers to hold data and terraform doesn't offer a way to
differentiate between unset arguments and their default value in a configuration, it can
be necessary wrap those arguments in a nested resource to account for the null
value.
An example of this is the anonymous_auth
argument in the kube_api_server_config
or kubelet_config_spec
resources. The null
value cannot be considered equivalent to false
on the kOps side, but terraform won't
let us know when it is set or not in the configuration and therefore will provide false
in case it is unset
in the configuration.
To workaround this limitation, the nullable type is a resource with a single value
argument. It wraps the
actual value of the argument and makes it possible to account for null
. When using a nullable argument,
you should assign it this way in the configuration:
resource "kops_cluster" "cluster" {
// ...
kubelet {
anonymous_auth {
value = false
}
}
kube_api_server {
anonymous_auth {
value = false
}
}
// ...
}
The following arguments are supported:
channel
- (Computed) - String - The Channel we are following.addons
- (Computed) - List(addon_spec) - Additional addons that should be installed on the cluster.config_base
- (Computed) - String - ConfigBase is the path where we store configuration for the cluster
This might be different than the location where the cluster spec itself is stored,
both because this must be accessible to the cluster,
and because it might be on a different cloud or storage system (etcd vs S3).cloud_provider
- (Computed) - cloud_provider_spec - CloudProvider configures the cloud provider to use.container_runtime
- (Computed) - String - Container runtime to use for Kubernetes.kubernetes_version
- (Computed) - String - The version of kubernetes to install (optional, and can be a "spec" like stable).secret_store
- (Computed) - String - SecretStore is the VFS path to where secrets are stored.key_store
- (Computed) - String - KeyStore is the VFS path to where SSL keys and certificates are stored.config_store
- (Computed) - String - ConfigStore is the VFS path to where the configuration (Cluster, InstanceGroups etc) is stored.dns_zone
- (Computed) - String - DNSZone is the DNS zone we should use when configuring DNS
This is because some clouds let us define a managed zone foo.bar, and then have
kubernetes.dev.foo.bar, without needing to define dev.foo.bar as a hosted zone.
DNSZone will probably be a suffix of the MasterPublicName.
Note that DNSZone can either by the host name of the zone (containing dots),
or can be an identifier for the zone.cluster_dns_domain
- (Computed) - String - ClusterDNSDomain is the suffix we use for internal DNS names (normally cluster.local).ssh_access
- (Computed) - List(String) - SSHAccess is a list of the CIDRs that can access SSH.node_port_access
- (Computed) - List(String) - NodePortAccess is a list of the CIDRs that can access the node ports range (30000-32767).ssh_key_name
- (Computed) - String - SSHKeyName specifies a preexisting SSH key to use.update_policy
- (Computed) - String - UpdatePolicy determines the policy for applying upgrades automatically.
Valid values:
'automatic' (default): apply updates automatically (apply OS security upgrades, avoiding rebooting when possible)
'external': do not apply updates automatically; they are applied manually or by an external system.external_policies
- (Computed) - Map(List(String)) - ExternalPolicies allows the insertion of pre-existing managed policies on IG Roles.additional_policies
- (Computed) - Map(String) - Additional policies to add for roles.file_assets
- (Computed) - List(file_asset_spec) - A collection of files assets for deployed cluster wide.etcd_cluster
- (Computed) - List(etcd_cluster_spec) - EtcdClusters stores the configuration for each cluster.containerd
- (Computed) - containerd_config - Component configurations.docker
- (Computed) - docker_configkube_dns
- (Computed) - kube_dns_configkube_api_server
- (Computed) - kube_api_server_configkube_controller_manager
- (Computed) - kube_controller_manager_configexternal_cloud_controller_manager
- (Computed) - cloud_controller_manager_configkube_scheduler
- (Computed) - kube_scheduler_configkube_proxy
- (Computed) - kube_proxy_configkubelet
- (Computed) - kubelet_config_spec - Kubelet is the kubelet configuration for nodes not belonging to the control plane.
It can be overridden by the kubelet configuration specified in the instance group.control_plane_kubelet
- (Computed) - kubelet_config_spec - ControlPlaneKubelet is the kubelet configuration for nodes belonging to the control plane
It can be overridden by the kubelet configuration specified in the instance group.cloud_config
- (Computed) - cloud_configurationexternal_dns
- (Computed) - external_dns_configntp
- (Computed) - ntp_confignode_problem_detector
- (Computed) - node_problem_detector_config - NodeProblemDetector determines the node problem detector configuration.metrics_server
- (Computed) - metrics_server_config - MetricsServer determines the metrics server configuration.cert_manager
- (Computed) - cert_manager_config - CertManager determines the metrics server configuration.networking
- (Computed) - networking_spec - Networking configures networking.api
- (Computed) - api_spec - API controls how the Kubernetes API is exposed.authentication
- (Computed) - authentication_spec - Authentication field controls how the cluster is configured for authentication.authorization
- (Computed) - authorization_spec - Authorization field controls how the cluster is configured for authorization.node_authorization
- (Computed) - node_authorization_spec - NodeAuthorization defined the custom node authorization configuration.cloud_labels
- (Computed) - Map(String) - CloudLabels defines additional tags or labels on cloud provider resources.hooks
- (Computed) - List(hook_spec) - Hooks for custom actions e.g. on first installation.assets
- (Computed) - assets - Assets is alternative locations for files and containers; the API under construction, will remove this comment once this API is fully functional.iam
- (Computed) - iam_spec - IAM field adds control over the IAM security policies applied to resources.encryption_config
- (Computed) - Bool - EncryptionConfig controls if encryption is enabled.use_host_certificates
- (Computed) - Bool - UseHostCertificates will mount /etc/ssl/certs to inside needed containers.
This is needed if some APIs do have self-signed certs.sysctl_parameters
- (Computed) - List(String) - SysctlParameters will configure kernel parameters using sysctl(8). When
specified, each parameter must follow the form variable=value, the way
it would appear in sysctl.conf.rolling_update
- (Computed) - rolling_update - RollingUpdate defines the default rolling-update settings for instance groups.cluster_autoscaler
- (Computed) - cluster_autoscaler_config - ClusterAutoscaler defines the cluster autoscaler configuration.service_account_issuer_discovery
- (Computed) - service_account_issuer_discovery_config - ServiceAccountIssuerDiscovery configures the OIDC Issuer for ServiceAccounts.snapshot_controller
- (Computed) - snapshot_controller_config - SnapshotController defines the CSI Snapshot Controller configuration.karpenter
- (Computed) - karpenter_config - Karpenter defines the Karpenter configuration.labels
- (Computed) - Map(String) - Map of string keys and values that can be used to organize and categorize
(scope and select) objects. May match selectors of replication controllers
and services.annotations
- (Computed) - Map(String) - Annotations is an unstructured key value map stored with a resource that may be
set by external tools to store and retrieve arbitrary metadata. They are not
queryable and should be preserved when modifying objects.name
- (Required) - String - Name defines the cluster name.admin_ssh_key
- (Computed) - String - AdminSshKey defines the cluster admin ssh key.secrets
- (Computed) - cluster_secrets - Secrets defines the cluster secret.
AddonSpec defines an addon that we want to install in the cluster.
The following arguments are supported:
manifest
- (Computed) - String - Manifest is a path to the manifest that defines the addon.
CloudProviderSpec configures the cloud provider to use.
The following arguments are supported:
aws
- (Computed) - aws_spec - AWS configures the AWS cloud provider.azure
- (Computed) - azure_spec - Azure configures the Azure cloud provider.do
- (Computed) - do_spec - DO configures the Digital Ocean cloud provider.gce
- (Computed) - gce_spec - GCE configures the GCE cloud provider.hetzner
- (Computed) - hetzner_spec - Hetzner configures the Hetzner cloud provider.openstack
- (Computed) - openstack_spec - Openstack configures the Openstack cloud provider.scaleway
- (Computed) - scaleway_spec - Scaleway configures the Scaleway cloud provider.
AWSSpec configures the AWS cloud provider.
The following arguments are supported:
ebs_csi_driver
- (Computed) - ebs_csi_driver_spec - EBSCSIDriverSpec is the config for the EBS CSI driver.node_termination_handler
- (Computed) - node_termination_handler_spec - NodeTerminationHandler determines the node termination handler configuration.load_balancer_controller
- (Computed) - load_balancer_controller_spec - LoadbalancerController determines the Load Balancer Controller configuration.pod_identity_webhook
- (Computed) - pod_identity_webhook_spec - PodIdentityWebhook determines the EKS Pod Identity Webhook configuration.warm_pool
- (Computed) - warm_pool_spec - WarmPool defines the default warm pool settings for instance groups.
EBSCSIDriverSpec is the config for the AWS EBS CSI driver.
The following arguments are supported:
enabled
- (Computed) - Bool - Enabled enables the AWS EBS CSI driver
Default: false.managed
- (Computed) - Bool - Managed controls if aws-ebs-csi-driver is manged and deployed by kOps.
The deployment of aws-ebs-csi-driver is skipped if this is set to false.version
- (Computed) - String - Version is the container image tag used.
Default: The latest stable release which is compatible with your Kubernetes version.volume_attach_limit
- (Computed) - Int - VolumeAttachLimit is the maximum number of volumes attachable per node.
If specified, the limit applies to all nodes.
If not specified, the value is approximated from the instance type.
Default: -.pod_annotations
- (Computed) - Map(String) - PodAnnotations are the annotations added to AWS EBS CSI node and controller Pods.
Default: none.
NodeTerminationHandlerSpec determines the node termination handler configuration.
The following arguments are supported:
enabled
- (Computed) - Bool - Enabled enables the node termination handler.
Default: true.enable_spot_interruption_draining
- (Computed) - Bool - EnableSpotInterruptionDraining makes node termination handler drain nodes when spot interruption termination notice is received.
Cannot be disabled in queue-processor mode.
Default: true.enable_scheduled_event_draining
- (Computed) - Bool - EnableScheduledEventDraining makes node termination handler drain nodes before the maintenance window starts for an EC2 instance scheduled event.
Cannot be disabled in queue-processor mode.
Default: true.enable_rebalance_monitoring
- (Computed) - Bool - EnableRebalanceMonitoring makes node termination handler cordon nodes when the rebalance recommendation notice is received.
In queue-processor mode, cannot be enabled without rebalance draining.
Default: false.enable_rebalance_draining
- (Computed) - Bool - EnableRebalanceDraining makes node termination handler drain nodes when the rebalance recommendation notice is received.
Default: false.enable_prometheus_metrics
- (Computed) - Bool - EnablePrometheusMetrics enables the "/metrics" endpoint.
Default: false.enable_sqs_termination_draining
- (Computed) - Bool - EnableSQSTerminationDraining enables queue-processor mode which drains nodes when an SQS termination event is received.
Default: true.exclude_from_load_balancers
- (Computed) - Bool - ExcludeFromLoadBalancers makes node termination handler will mark for exclusion from load balancers before node are cordoned.
Default: true.managed_asg_tag
- (Computed) - String - ManagedASGTag is the tag used to determine which nodes NTH can take action on
This field has kept its name even though it now maps to the --managed-tag flag due to keeping the API stable.
Node termination handler does no longer check the ASG for this tag, but the actual EC2 instances.memory_request
- (Computed) - Quantity - MemoryRequest of NodeTerminationHandler container.
Default: 64Mi.cpu_request
- (Computed) - Quantity - CPURequest of NodeTerminationHandler container.
Default: 50m.version
- (Computed) - String - Version is the container image tag used.
LoadBalancerControllerSpec determines the AWS LB controller configuration.
The following arguments are supported:
enabled
- (Computed) - Bool - Enabled enables the loadbalancer controller.
Default: false.version
- (Computed) - String - Version is the container image tag used.enable_waf
- (Computed) - Bool - EnableWAF specifies whether the controller can use WAFs (Classic Regional).
Default: false.enable_wa_fv2
- (Computed) - Bool - EnableWAFv2 specifies whether the controller can use WAFs (V2).
Default: false.enable_shield
- (Computed) - Bool - EnableShield specifies whether the controller can enable Shield Advanced.
Default: false.
PodIdentityWebhookSpec configures an EKS Pod Identity Webhook.
The following arguments are supported:
enabled
- (Computed) - Boolreplicas
- (Computed) - Int
The following arguments are supported:
min_size
- (Computed) - Int - MinSize is the minimum size of the warm pool.max_size
- (Computed) - Int - MaxSize is the maximum size of the warm pool. The desired size of the instance group
is subtracted from this number to determine the desired size of the warm pool
(unless the resulting number is smaller than MinSize).
The default is the instance group's MaxSize.enable_lifecycle_hook
- (Computed) - Bool - EnableLifecyleHook determines if an ASG lifecycle hook will be added ensuring that nodeup runs to completion.
Note that the metadata API must be protected from arbitrary Pods when this is enabled.
AzureSpec defines Azure specific cluster configuration.
The following arguments are supported:
subscription_id
- (Computed) - String - SubscriptionID specifies the subscription used for the cluster installation.tenant_id
- (Computed) - String - TenantID is the ID of the tenant that the cluster is deployed in.resource_group_name
- (Computed) - String - ResourceGroupName specifies the name of the resource group
where the cluster is built.
If this is empty, kops will create a new resource group
whose name is same as the cluster name. If this is not
empty, kops will not create a new resource group, and
it will just reuse the existing resource group of the name.
This follows the model that kops takes for AWS VPC.route_table_name
- (Computed) - String - RouteTableName is the name of the route table attached to the subnet that the cluster is deployed in.admin_user
- (Computed) - String - AdminUser specifies the admin user of VMs.
DOSpec configures the Digital Ocean cloud provider.
This resource has no attributes.
GCESpec configures the GCE cloud provider.
The following arguments are supported:
project
- (Computed) - String - Project is the cloud project we should use.service_account
- (Computed) - String - ServiceAccount specifies the service account with which the GCE VM runs.pd_csi_driver
- (Computed) - pd_csi_driver - PDCSIDriver is the config for the PD CSI driver.
PDCSIDriver is the config for the GCP PD CSI driver.
The following arguments are supported:
enabled
- (Computed) - Bool - Enabled enables the GCP PD CSI driver.
HetznerSpec configures the Hetzner cloud provider.
This resource has no attributes.
OpenstackSpec defines cloud config elements for the openstack cloud provider.
The following arguments are supported:
loadbalancer
- (Computed) - openstack_loadbalancer_configmonitor
- (Computed) - openstack_monitorrouter
- (Computed) - openstack_routerblock_storage
- (Computed) - openstack_block_storage_configinsecure_skip_verify
- (Computed) - Boolnetwork
- (Computed) - openstack_networkmetadata
- (Computed) - openstack_metadata
OpenstackLoadbalancerConfig defines the config for a neutron loadbalancer.
The following arguments are supported:
method
- (Computed) - Stringprovider
- (Computed) - Stringuse_octavia
- (Computed) - Boolfloating_network
- (Computed) - Stringfloating_network_id
- (Computed) - Stringfloating_subnet
- (Computed) - Stringsubnet_id
- (Computed) - Stringmanage_sec_groups
- (Computed) - Boolenable_ingress_hostname
- (Computed) - Boolingress_hostname_suffix
- (Computed) - String
OpenstackMonitor defines the config for a health monitor.
The following arguments are supported:
delay
- (Computed) - Stringtimeout
- (Computed) - Stringmax_retries
- (Computed) - Int
OpenstackRouter defines the config for a router.
The following arguments are supported:
external_network
- (Computed) - Stringdns_servers
- (Computed) - Stringexternal_subnet
- (Computed) - Stringavailability_zone_hints
- (Computed) - List(String)
The following arguments are supported:
version
- (Computed) - Stringignore_az
- (Computed) - Booloverride_az
- (Computed) - Stringignore_volume_micro_version
- (Computed) - Boolcreate_storage_class
- (Computed) - Bool - CreateStorageClass provisions a default class for the Cinder plugin.csi_plugin_image
- (Computed) - Stringcsi_topology_support
- (Computed) - Boolcluster_name
- (Computed) - String - ClusterName sets the --cluster flag for the cinder-csi-plugin to the provided name.
OpenstackNetwork defines the config for a network.
The following arguments are supported:
availability_zone_hints
- (Computed) - List(String)ipv6_support_disabled
- (Computed) - Boolpublic_network_names
- (Computed) - List(String)internal_network_names
- (Computed) - List(String)
OpenstackMetadata defines config for metadata service related settings.
The following arguments are supported:
config_drive
- (Computed) - Bool - ConfigDrive specifies to use config drive for retrieving user data instead of the metadata service when launching instances.
ScalewaySpec configures the Scaleway cloud provider.
This resource has no attributes.
FileAssetSpec defines the structure for a file asset.
The following arguments are supported:
name
- (Computed) - String - Name is a shortened reference to the asset.path
- (Computed) - String - Path is the location this file should reside.roles
- (Computed) - List(String) - Roles is a list of roles the file asset should be applied, defaults to all.content
- (Computed) - String - Content is the contents of the file.is_base64
- (Computed) - Bool - IsBase64 indicates the contents is base64 encoded.mode
- (Computed) - String - Mode is this file's mode and permission bits.
EtcdClusterSpec is the etcd cluster specification.
The following arguments are supported:
name
- (Computed) - String - Name is the name of the etcd cluster (main, events etc).provider
- (Computed) - String - Provider is the provider used to run etcd: Manager, Legacy.
Defaults to Manager.member
- (Computed) - List(etcd_member_spec) - Members stores the configurations for each member of the cluster (including the data volume).version
- (Computed) - String - Version is the version of etcd to run.leader_election_timeout
- (Computed) - Duration - LeaderElectionTimeout is the time (in milliseconds) for an etcd leader election timeout.heartbeat_interval
- (Computed) - Duration - HeartbeatInterval is the time (in milliseconds) for an etcd heartbeat interval.image
- (Computed) - String - Image is the etcd docker image to use. Setting this will ignore the Version specified.backups
- (Computed) - etcd_backup_spec - Backups describes how we do backups of etcd.manager
- (Computed) - etcd_manager_spec - Manager describes the manager configuration.memory_request
- (Computed) - Quantity - MemoryRequest specifies the memory requests of each etcd container in the cluster.cpu_request
- (Computed) - Quantity - CPURequest specifies the cpu requests of each etcd container in the cluster.
EtcdMemberSpec is a specification for a etcd member.
The following arguments are supported:
name
- (Computed) - String - Name is the name of the member within the etcd cluster.instance_group
- (Computed) - String - InstanceGroup is the instanceGroup this volume is associated.volume_type
- (Computed) - String - VolumeType is the underlying cloud storage class.volume_iops
- (Computed) - Int - If volume type is io1, then we need to specify the number of IOPS.volume_throughput
- (Computed) - Int - Parameter for disks that support provisioned throughput.volume_size
- (Computed) - Int - VolumeSize is the underlying cloud volume size.kms_key_id
- (Computed) - String - KmsKeyID is a AWS KMS ID used to encrypt the volume.encrypted_volume
- (Computed) - Bool - EncryptedVolume indicates you want to encrypt the volume.
EtcdBackupSpec describes how we want to do backups of etcd.
The following arguments are supported:
backup_store
- (Computed) - String - BackupStore is the VFS path where we will read/write backup data.image
- (Computed) - String - Image is the etcd backup manager image to use. Setting this will create a sidecar container in the etcd pod with the specified image.
EtcdManagerSpec describes how we configure the etcd manager.
The following arguments are supported:
image
- (Computed) - String - Image is the etcd manager image to use.env
- (Computed) - List(env_var) - Env allows users to pass in env variables to the etcd-manager container.
Variables starting with ETCD_ will be further passed down to the etcd process.
This allows etcd setting to be overwriten. No config validation is done.
A list of etcd config ENV vars can be found at https://github.com/etcd-io/etcd/blob/master/Documentation/op-guide/configuration.md.backup_interval
- (Computed) - Duration - BackupInterval which is used for backups. The default is 15 minutes.discovery_poll_interval
- (Computed) - Duration - DiscoveryPollInterval which is used for discovering other cluster members. The default is 60 seconds.log_level
- (Computed) - Int - LogLevel allows the klog library verbose log level to be set for etcd-manager. The default is 6.
https://github.com/google/glog#verbose-logging.
EnvVar represents an environment variable present in a Container.
The following arguments are supported:
-
name
- (Computed) - String - Name of the environment variable. Must be a C_IDENTIFIER. -
value
- (Computed) - String - Variable references $(VAR_NAME) are expanded
using the previous defined environment variables in the container and
any service environment variables. If a variable cannot be resolved,
the reference in the input string will be unchanged. The $(VAR_NAME)
syntax can be escaped with a double$$, ie: $$ (VAR_NAME). Escaped
references will never be expanded, regardless of whether the variable
exists or not.
Defaults to "".
+optional.
ContainerdConfig is the configuration for containerd.
The following arguments are supported:
address
- (Computed) - String - Address of containerd's GRPC server (default "/run/containerd/containerd.sock").config_override
- (Computed) - String - ConfigOverride is the complete containerd config file provided by the user.log_level
- (Computed) - String - LogLevel controls the logging details [trace, debug, info, warn, error, fatal, panic] (default "info").packages
- (Computed) - packages_config - Packages overrides the URL and hash for the packages.registry_mirrors
- (Computed) - Map(List(String)) - RegistryMirrors is list of image registries.root
- (Computed) - String - Root directory for persistent data (default "/var/lib/containerd").skip_install
- (Computed) - Bool - SkipInstall prevents kOps from installing and modifying containerd in any way (default "false").state
- (Computed) - String - State directory for execution state files (default "/run/containerd").version
- (Computed) - String - Version used to pick the containerd package.nvidia_gpu
- (Computed) - nvidia_gpu_config - NvidiaGPU configures the Nvidia GPU runtime.runc
- (Computed) - runc - Runc configures the runc runtime.
The following arguments are supported:
hash_amd64
- (Computed) - String - HashAmd64 overrides the hash for the AMD64 package.hash_arm64
- (Computed) - String - HashArm64 overrides the hash for the ARM64 package.url_amd64
- (Computed) - String - UrlAmd64 overrides the URL for the AMD64 package.url_arm64
- (Computed) - String - UrlArm64 overrides the URL for the ARM64 package.
The following arguments are supported:
driver_package
- (Computed) - String - Package is the name of the nvidia driver package that will be installed.
Default is "nvidia-headless-510-server".enabled
- (Computed) - Bool - Enabled determines if kOps will install the Nvidia GPU runtime and drivers.
They will only be installed on intances that has an Nvidia GPU.dcgm_exporter
- (Computed) - dcgm_exporter_config - DCGMExporterConfig configures the DCGM exporter.
DCGMExporterConfig configures the DCGM exporter.
Only the DCGMExporterConfig in the cluster level takes effect. Configurations on the Instance Group are ignored.
The following arguments are supported:
enabled
- (Computed) - Bool - Enabled determines if kOps will install the DCGM exporter.
The following arguments are supported:
version
- (Computed) - String - Version used to pick the runc package.packages
- (Computed) - packages_config - Packages overrides the URL and hash for the packages.
DockerConfig is the configuration for docker.
The following arguments are supported:
authorization_plugins
- (Computed) - List(String) - AuthorizationPlugins is a list of authorization plugins.bridge
- (Computed) - String - Bridge is the network interface containers should bind onto.bridge_ip
- (Computed) - String - BridgeIP is a specific IP address and netmask for the docker0 bridge, using standard CIDR notation.data_root
- (Computed) - String - DataRoot is the root directory of persistent docker state (default "/var/lib/docker").default_ulimit
- (Computed) - List(String) - DefaultUlimit is the ulimits for containers.default_runtime
- (Computed) - String - DefaultRuntime is the default OCI runtime for containers (default "runc").dns
- (Computed) - List(String) - DNS is the IP address of the DNS server.exec_opt
- (Computed) - List(String) - ExecOpt is a series of options passed to the runtime.exec_root
- (Computed) - String - ExecRoot is the root directory for execution state files (default "/var/run/docker").experimental
- (Computed) - Bool - Experimental features permits enabling new features such as dockerd metrics.health_check
- (Computed) - Bool - HealthCheck enables the periodic health-check service.hosts
- (Computed) - List(String) - Hosts enables you to configure the endpoints the docker daemon listens on i.e. tcp://0.0.0.0.2375 or unix:///var/run/docker.sock etc.ip_masq
- (Computed) - Bool - IPMasq enables ip masquerading for containers.ip_tables
- (Computed) - Bool - IPtables enables addition of iptables rules.insecure_registry
- (Computed) - String - InsecureRegistry enable insecure registry communication @question according to dockers this a list??.insecure_registries
- (Computed) - List(String) - InsecureRegistries enables multiple insecure docker registry communications.live_restore
- (Computed) - Bool - LiveRestore enables live restore of docker when containers are still running.log_driver
- (Computed) - String - LogDriver is the default driver for container logs (default "json-file").log_level
- (Computed) - String - LogLevel is the logging level ("debug", "info", "warn", "error", "fatal") (default "info").log_opt
- (Computed) - List(String) - Logopt is a series of options given to the log driver options for containers.max_concurrent_downloads
- (Computed) - Int - MaxConcurrentDownloads sets the max concurrent downloads for each pull.max_concurrent_uploads
- (Computed) - Int - MaxConcurrentUploads sets the max concurrent uploads for each push.max_download_attempts
- (Computed) - Int - MaxDownloadAttempts sets the max download attempts for each pull.metrics_address
- (Computed) - String - Metrics address is the endpoint to serve with Prometheus format metrics.mtu
- (Computed) - Int - MTU is the containers network MTU.packages
- (Computed) - packages_config - Packages overrides the URL and hash for the packages.registry_mirrors
- (Computed) - List(String) - RegistryMirrors is a referred list of docker registry mirror.runtimes
- (Computed) - List(String) - Runtimes registers an additional OCI compatible runtime (default []).selinux_enabled
- (Computed) - Bool - SelinuxEnabled enables SELinux support.skip_install
- (Computed) - Bool - SkipInstall when set to true will prevent kops from installing and modifying Docker in any way.storage
- (Computed) - String - Storage is the docker storage driver to use.storage_opts
- (Computed) - List(String) - StorageOpts is a series of options passed to the storage driver.user_namespace_remap
- (Computed) - String - UserNamespaceRemap sets the user namespace remapping option for the docker daemon.version
- (Computed) - String - Version is consumed by the nodeup and used to pick the docker version.
KubeDNSConfig defines the kube dns configuration.
The following arguments are supported:
cache_max_size
- (Computed) - Int - CacheMaxSize is the maximum entries to keep in dnsmasq.cache_max_concurrent
- (Computed) - Int - CacheMaxConcurrent is the maximum number of concurrent queries for dnsmasq.tolerations
- (Computed) - List(toleration) - Tolerations are tolerations to apply to the kube-dns deployment.affinity
- (Computed) - affinity - Affinity is the kube-dns affinity, uses the same syntax as kubectl's affinity.core_dns_image
- (Computed) - String - CoreDNSImage is used to override the default image used for CoreDNS.cpa_image
- (Computed) - String - CPAImage is used to override the default image used for Cluster Proportional Autoscaler.domain
- (Computed) - String - Domain is the dns domain.external_core_file
- (Computed) - String - ExternalCoreFile is used to provide a complete CoreDNS CoreFile by the user - ignores other provided flags which modify the CoreFile.provider
- (Computed) - String - Provider indicates whether CoreDNS or kube-dns will be the default service discovery.server_ip
- (Computed) - String - ServerIP is the server ip.stub_domains
- (Computed) - Map(List(String)) - StubDomains redirects a domains to another DNS service.upstream_nameservers
- (Computed) - List(String) - UpstreamNameservers sets the upstream nameservers for queries not on the cluster domain.memory_request
- (Computed) - Quantity - MemoryRequest specifies the memory requests of each dns container in the cluster. Default 70m.cpu_request
- (Computed) - Quantity - CPURequest specifies the cpu requests of each dns container in the cluster. Default 100m.memory_limit
- (Computed) - Quantity - MemoryLimit specifies the memory limit of each dns container in the cluster. Default 170m.node_local_dns
- (Computed) - node_local_dns_config - NodeLocalDNS specifies the configuration for the node-local-dns addon.
The pod this Toleration is attached to tolerates any taint that matches
the triple <key,value,effect> using the matching operator .
The following arguments are supported:
key
- (Computed) - String - Key is the taint key that the toleration applies to. Empty means match all taint keys.
If the key is empty, operator must be Exists; this combination means to match all values and all keys.
+optional.operator
- (Computed) - String - Operator represents a key's relationship to the value.
Valid operators are Exists and Equal. Defaults to Equal.
Exists is equivalent to wildcard for value, so that a pod can
tolerate all taints of a particular category.
+optional.value
- (Computed) - String - Value is the taint value the toleration matches to.
If the operator is Exists, the value should be empty, otherwise just a regular string.
+optional.effect
- (Computed) - String - Effect indicates the taint effect to match. Empty means match all taint effects.
When specified, allowed values are NoSchedule, PreferNoSchedule and NoExecute.
+optional.toleration_seconds
- (Computed) - Int - TolerationSeconds represents the period of time the toleration (which must be
of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default,
it is not set, which means tolerate the taint forever (do not evict). Zero and
negative values will be treated as 0 (evict immediately) by the system.
+optional.
Affinity is a group of affinity scheduling rules.
The following arguments are supported:
node_affinity
- (Computed) - node_affinity - Describes node affinity scheduling rules for the pod.
+optional.pod_affinity
- (Computed) - pod_affinity - Describes pod affinity scheduling rules (e.g. co-locate this pod in the same node, zone, etc. as some other pod(s)).
+optional.pod_anti_affinity
- (Computed) - pod_anti_affinity - Describes pod anti-affinity scheduling rules (e.g. avoid putting this pod in the same node, zone, etc. as some other pod(s)).
+optional.
Node affinity is a group of node affinity scheduling rules.
The following arguments are supported:
required_during_scheduling_ignored_during_execution
- (Computed) - node_selector - If the affinity requirements specified by this field are not met at
scheduling time, the pod will not be scheduled onto the node.
If the affinity requirements specified by this field cease to be met
at some point during pod execution (e.g. due to an update), the system
may or may not try to eventually evict the pod from its node.
+optional.preferred_during_scheduling_ignored_during_execution
- (Computed) - List(preferred_scheduling_term) - The scheduler will prefer to schedule pods to nodes that satisfy
the affinity expressions specified by this field, but it may choose
a node that violates one or more of the expressions. The node that is
most preferred is the one with the greatest sum of weights, i.e.
for each node that meets all of the scheduling requirements (resource
request, requiredDuringScheduling affinity expressions, etc.),
compute a sum by iterating through the elements of this field and adding
"weight" to the sum if the node matches the corresponding matchExpressions; the
node(s) with the highest sum are the most preferred.
+optional.
A node selector represents the union of the results of one or more label queries
over a set of nodes; that is, it represents the OR of the selectors represented
by the node selector terms.
+structType=atomic.
The following arguments are supported:
node_selector_terms
- (Computed) - List(node_selector_term) - Required. A list of node selector terms. The terms are ORed.
A null or empty node selector term matches no objects. The requirements of
them are ANDed.
The TopologySelectorTerm type implements a subset of the NodeSelectorTerm.
+structType=atomic.
The following arguments are supported:
match_expressions
- (Computed) - List(node_selector_requirement) - A list of node selector requirements by node's labels.
+optional.match_fields
- (Computed) - List(node_selector_requirement) - A list of node selector requirements by node's fields.
+optional.
A node selector requirement is a selector that contains values, a key, and an operator
that relates the key and values.
The following arguments are supported:
key
- (Computed) - String - The label key that the selector applies to.operator
- (Computed) - String - Represents a key's relationship to a set of values.
Valid operators are In, NotIn, Exists, DoesNotExist. Gt, and Lt.values
- (Computed) - List(String) - An array of string values. If the operator is In or NotIn,
the values array must be non-empty. If the operator is Exists or DoesNotExist,
the values array must be empty. If the operator is Gt or Lt, the values
array must have a single element, which will be interpreted as an integer.
This array is replaced during a strategic merge patch.
+optional.
An empty preferred scheduling term matches all objects with implicit weight 0
(i.e. it's a no-op). A null preferred scheduling term matches no objects (i.e. is also a no-op).
The following arguments are supported:
weight
- (Computed) - Int - Weight associated with matching the corresponding nodeSelectorTerm, in the range 1-100.preference
- (Computed) - node_selector_term - A node selector term, associated with the corresponding weight.
Pod affinity is a group of inter pod affinity scheduling rules.
The following arguments are supported:
required_during_scheduling_ignored_during_execution
- (Computed) - List(pod_affinity_term) - If the affinity requirements specified by this field are not met at
scheduling time, the pod will not be scheduled onto the node.
If the affinity requirements specified by this field cease to be met
at some point during pod execution (e.g. due to a pod label update), the
system may or may not try to eventually evict the pod from its node.
When there are multiple elements, the lists of nodes corresponding to each
podAffinityTerm are intersected, i.e. all terms must be satisfied.
+optional.preferred_during_scheduling_ignored_during_execution
- (Computed) - List(weighted_pod_affinity_term) - The scheduler will prefer to schedule pods to nodes that satisfy
the affinity expressions specified by this field, but it may choose
a node that violates one or more of the expressions. The node that is
most preferred is the one with the greatest sum of weights, i.e.
for each node that meets all of the scheduling requirements (resource
request, requiredDuringScheduling affinity expressions, etc.),
compute a sum by iterating through the elements of this field and adding
"weight" to the sum if the node has pods which matches the corresponding podAffinityTerm; the
node(s) with the highest sum are the most preferred.
+optional.
Defines a set of pods (namely those matching the labelSelector
relative to the given namespace(s)) that this pod should be
co-located (affinity) or not co-located (anti-affinity) with,
where co-located is defined as running on a node whose value of
the label with key matches that of any node on which
a pod of the set of pods is running.
The following arguments are supported:
label_selector
- (Computed) - label_selector - A label query over a set of resources, in this case pods.
+optional.namespaces
- (Computed) - List(String) - namespaces specifies a static list of namespace names that the term applies to.
The term is applied to the union of the namespaces listed in this field
and the ones selected by namespaceSelector.
null or empty namespaces list and null namespaceSelector means "this pod's namespace".
+optional.topology_key
- (Computed) - String - This pod should be co-located (affinity) or not co-located (anti-affinity) with the pods matching
the labelSelector in the specified namespaces, where co-located is defined as running on a node
whose value of the label with key topologyKey matches that of any node on which any of the
selected pods is running.
Empty topologyKey is not allowed.namespace_selector
- (Computed) - label_selector - A label query over the set of namespaces that the term applies to.
The term is applied to the union of the namespaces selected by this field
and the ones listed in the namespaces field.
null selector and null or empty namespaces list means "this pod's namespace".
An empty selector ({}) matches all namespaces.
+optional.
A label selector is a label query over a set of resources. The result of matchLabels and
matchExpressions are ANDed. An empty label selector matches all objects. A null
label selector matches no objects.
+structType=atomic.
The following arguments are supported:
match_labels
- (Computed) - Map(String) - matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels
map is equivalent to an element of matchExpressions, whose key field is "key", the
operator is "In", and the values array contains only "value". The requirements are ANDed.
+optional.match_expressions
- (Computed) - List(label_selector_requirement) - matchExpressions is a list of label selector requirements. The requirements are ANDed.
+optional.
A label selector requirement is a selector that contains values, a key, and an operator that
relates the key and values.
The following arguments are supported:
key
- (Computed) - String - key is the label key that the selector applies to.
+patchMergeKey=key
+patchStrategy=merge.operator
- (Computed) - String - operator represents a key's relationship to a set of values.
Valid operators are In, NotIn, Exists and DoesNotExist.values
- (Computed) - List(String) - values is an array of string values. If the operator is In or NotIn,
the values array must be non-empty. If the operator is Exists or DoesNotExist,
the values array must be empty. This array is replaced during a strategic
merge patch.
+optional.
The weights of all of the matched WeightedPodAffinityTerm fields are added per-node to find the most preferred node(s).
The following arguments are supported:
weight
- (Computed) - Int - weight associated with matching the corresponding podAffinityTerm,
in the range 1-100.pod_affinity_term
- (Computed) - pod_affinity_term - Required. A pod affinity term, associated with the corresponding weight.
Pod anti affinity is a group of inter pod anti affinity scheduling rules.
The following arguments are supported:
required_during_scheduling_ignored_during_execution
- (Computed) - List(pod_affinity_term) - If the anti-affinity requirements specified by this field are not met at
scheduling time, the pod will not be scheduled onto the node.
If the anti-affinity requirements specified by this field cease to be met
at some point during pod execution (e.g. due to a pod label update), the
system may or may not try to eventually evict the pod from its node.
When there are multiple elements, the lists of nodes corresponding to each
podAffinityTerm are intersected, i.e. all terms must be satisfied.
+optional.preferred_during_scheduling_ignored_during_execution
- (Computed) - List(weighted_pod_affinity_term) - The scheduler will prefer to schedule pods to nodes that satisfy
the anti-affinity expressions specified by this field, but it may choose
a node that violates one or more of the expressions. The node that is
most preferred is the one with the greatest sum of weights, i.e.
for each node that meets all of the scheduling requirements (resource
request, requiredDuringScheduling anti-affinity expressions, etc.),
compute a sum by iterating through the elements of this field and adding
"weight" to the sum if the node has pods which matches the corresponding podAffinityTerm; the
node(s) with the highest sum are the most preferred.
+optional.
NodeLocalDNSConfig are options of the node-local-dns.
The following arguments are supported:
enabled
- (Computed) - Bool - Enabled activates the node-local-dns addon.external_core_file
- (Computed) - String - ExternalCoreFile is used to provide a complete NodeLocalDNS CoreFile by the user - ignores other provided flags which modify the CoreFile.image
- (Computed) - String - Image overrides the default docker image used for node-local-dns addon.local_ip
- (Computed) - String - Local listen IP address. It can be any IP in the 169.254.20.0/16 space or any other IP address that can be guaranteed to not collide with any existing IP.forward_to_kube_dns
- (Computed) - Bool - If enabled, nodelocal dns will use kubedns as a default upstream.memory_request
- (Computed) - Quantity - MemoryRequest specifies the memory requests of each node-local-dns container in the daemonset. Default 5Mi.cpu_request
- (Computed) - Quantity - CPURequest specifies the cpu requests of each node-local-dns container in the daemonset. Default 25m.pod_annotations
- (Computed) - Map(String) - PodAnnotations makes possible to add additional annotations to node-local-dns.
Default: none.
KubeAPIServerConfig defines the configuration for the kube api.
The following arguments are supported:
image
- (Computed) - String - Image is the docker container used.disable_basic_auth
- (Computed) - Bool - DisableBasicAuth removes the --basic-auth-file flag.log_format
- (Computed) - String - LogFormat is the logging format of the api.
Supported values: text, json.
Default: text.log_level
- (Computed) - Int - LogLevel is the logging level of the api.cloud_provider
- (Computed) - String - CloudProvider is the name of the cloudProvider we are using, aws, gce etcd.secure_port
- (Computed) - Int - SecurePort is the port the kube runs on.insecure_port
- (Computed) - Int - InsecurePort is the port the insecure api runs.address
- (Computed) - String - Address is the binding address for the kube api: Deprecated - use insecure-bind-address and bind-address.advertise_address
- (Computed) - String - AdvertiseAddress is the IP address on which to advertise the apiserver to members of the cluster.bind_address
- (Computed) - String - BindAddress is the binding address for the secure kubernetes API.insecure_bind_address
- (Computed) - String - InsecureBindAddress is the binding address for the InsecurePort for the insecure kubernetes API.enable_bootstrap_auth_token
- (Computed) - Bool - EnableBootstrapAuthToken enables 'bootstrap.kubernetes.io/token' in the 'kube-system' namespace to be used for TLS bootstrapping authentication.enable_aggregator_routing
- (Computed) - Bool - EnableAggregatorRouting enables aggregator routing requests to endpoints IP rather than cluster IP.admission_control
- (Computed) - List(String) - AdmissionControl is a list of admission controllers to use: Deprecated - use enable-admission-plugins instead.append_admission_plugins
- (Computed) - List(String) - AppendAdmissionPlugins appends list of enabled admission plugins.enable_admission_plugins
- (Computed) - List(String) - EnableAdmissionPlugins is a list of enabled admission plugins.disable_admission_plugins
- (Computed) - List(String) - DisableAdmissionPlugins is a list of disabled admission plugins.admission_control_config_file
- (Computed) - String - AdmissionControlConfigFile is the location of the admission-control-config-file.service_cluster_ip_range
- (Computed) - String - ServiceClusterIPRange is the service address range.service_node_port_range
- (Computed) - String - Passed as --service-node-port-range to kube-apiserver. Expects 'startPort-endPort' format e.g. 30000-33000.etcd_servers
- (Computed) - List(String) - EtcdServers is a list of the etcd service to connect.etcd_servers_overrides
- (Computed) - List(String) - EtcdServersOverrides is per-resource etcd servers overrides, comma separated. The individual override format: group/resource#servers, where servers are http://ip:port, semicolon separated.etcd_ca_file
- (Computed) - String - EtcdCAFile is the path to a ca certificate.etcd_cert_file
- (Computed) - String - EtcdCertFile is the path to a certificate.etcd_key_file
- (Computed) - String - EtcdKeyFile is the path to a private key.basic_auth_file
- (Computed) - String - TODO: Remove unused BasicAuthFile.client_ca_file
- (Computed) - String - ClientCAFile is the file used by apisever that contains the client CA.tls_cert_file
- (Computed) - String - TODO: Remove unused TLSCertFile.tls_private_key_file
- (Computed) - String - TODO: Remove unused TLSPrivateKeyFile.tls_cipher_suites
- (Computed) - List(String) - TLSCipherSuites indicates the allowed TLS cipher suite.tls_min_version
- (Computed) - String - TLSMinVersion indicates the minimum TLS version allowed.token_auth_file
- (Computed) - String - TODO: Remove unused TokenAuthFile.allow_privileged
- (Computed) - Bool - AllowPrivileged indicates if we can run privileged containers.api_server_count
- (Computed) - Int - APIServerCount is the number of api servers.runtime_config
- (Computed) - Map(String) - RuntimeConfig is a series of keys/values are parsed into the--runtime-config
parameters.kubelet_client_certificate
- (Computed) - String - KubeletClientCertificate is the path of a certificate for secure communication between api and kubelet.kubelet_certificate_authority
- (Computed) - String - KubeletCertificateAuthority is the path of a certificate authority for secure communication between api and kubelet.kubelet_client_key
- (Computed) - String - KubeletClientKey is the path of a private to secure communication between api and kubelet.anonymous_auth
- (Computed) - Bool(Nullable) - AnonymousAuth indicates if anonymous authentication is permitted.kubelet_preferred_address_types
- (Computed) - List(String) - KubeletPreferredAddressTypes is a list of the preferred NodeAddressTypes to use for kubelet connections.storage_backend
- (Computed) - String - StorageBackend is the backend storage.oidc_username_claim
- (Computed) - String - OIDCUsernameClaim is the OpenID claim to use as the user name.
Note that claims other than the default ('sub') is not guaranteed to be
unique and immutable.oidc_username_prefix
- (Computed) - String - OIDCUsernamePrefix is the prefix prepended to username claims to prevent
clashes with existing names (such as 'system:' users).oidc_groups_claim
- (Computed) - String - OIDCGroupsClaim if provided, the name of a custom OpenID Connect claim for
specifying user groups.
The claim value is expected to be a string or array of strings.oidc_groups_prefix
- (Computed) - String - OIDCGroupsPrefix is the prefix prepended to group claims to prevent
clashes with existing names (such as 'system:' groups).oidc_issuer_url
- (Computed) - String - OIDCIssuerURL is the URL of the OpenID issuer, only HTTPS scheme will
be accepted.
If set, it will be used to verify the OIDC JSON Web Token (JWT).oidc_client_id
- (Computed) - String - OIDCClientID is the client ID for the OpenID Connect client, must be set
if oidc-issuer-url is set.oidc_required_claim
- (Computed) - List(String) - A key=value pair that describes a required claim in the ID Token.
If set, the claim is verified to be present in the ID Token with a matching value.
Repeat this flag to specify multiple claims.oidc_ca_file
- (Computed) - String - OIDCCAFile if set, the OpenID server's certificate will be verified by one
of the authorities in the oidc-ca-file.proxy_client_cert_file
- (Computed) - String - The apiserver's client certificate used for outbound requests.proxy_client_key_file
- (Computed) - String - The apiserver's client key used for outbound requests.audit_log_format
- (Computed) - String - AuditLogFormat flag specifies the format type for audit log files.audit_log_path
- (Computed) - String - If set, all requests coming to the apiserver will be logged to this file.audit_log_max_age
- (Computed) - Int - The maximum number of days to retain old audit log files based on the timestamp encoded in their filename.audit_log_max_backups
- (Computed) - Int - The maximum number of old audit log files to retain.audit_log_max_size
- (Computed) - Int - The maximum size in megabytes of the audit log file before it gets rotated. Defaults to 100MB.audit_policy_file
- (Computed) - String - AuditPolicyFile is the full path to a advanced audit configuration file e.g. /srv/kubernetes/audit.conf.audit_webhook_batch_buffer_size
- (Computed) - Int - AuditWebhookBatchBufferSize is The size of the buffer to store events before batching and writing. Only used in batch mode. (default 10000).audit_webhook_batch_max_size
- (Computed) - Int - AuditWebhookBatchMaxSize is The maximum size of a batch. Only used in batch mode. (default 400).audit_webhook_batch_max_wait
- (Computed) - Duration - AuditWebhookBatchMaxWait is The amount of time to wait before force writing the batch that hadn't reached the max size. Only used in batch mode. (default 30s).audit_webhook_batch_throttle_burst
- (Computed) - Int - AuditWebhookBatchThrottleBurst is Maximum number of requests sent at the same moment if ThrottleQPS was not utilized before. Only used in batch mode. (default 15).audit_webhook_batch_throttle_enable
- (Computed) - Bool - AuditWebhookBatchThrottleEnable is Whether batching throttling is enabled. Only used in batch mode. (default true).audit_webhook_batch_throttle_qps
- (Computed) - Quantity - AuditWebhookBatchThrottleQps is Maximum average number of batches per second. Only used in batch mode. (default 10).audit_webhook_config_file
- (Computed) - String - AuditWebhookConfigFile is Path to a kubeconfig formatted file that defines the audit webhook configuration. Requires the 'AdvancedAuditing' feature gate.audit_webhook_initial_backoff
- (Computed) - Duration - AuditWebhookInitialBackoff is The amount of time to wait before retrying the first failed request. (default 10s).audit_webhook_mode
- (Computed) - String - AuditWebhookMode is Strategy for sending audit events. Blocking indicates sending events should block server responses. Batch causes the backend to buffer and write events asynchronously. Known modes are batch,blocking. (default "batch").authentication_token_webhook_config_file
- (Computed) - String - File with webhook configuration for token authentication in kubeconfig format. The API server will query the remote service to determine authentication for bearer tokens.authentication_token_webhook_cache_ttl
- (Computed) - Duration - The duration to cache responses from the webhook token authenticator. Default is 2m. (default 2m0s).authorization_mode
- (Computed) - String - AuthorizationMode is the authorization mode the kubeapi is running in.authorization_webhook_config_file
- (Computed) - String - File with webhook configuration for authorization in kubeconfig format. The API server will query the remote service to determine whether to authorize the request.authorization_webhook_cache_authorized_ttl
- (Computed) - Duration - The duration to cache authorized responses from the webhook token authorizer. Default is 5m. (default 5m0s).authorization_webhook_cache_unauthorized_ttl
- (Computed) - Duration - The duration to cache authorized responses from the webhook token authorizer. Default is 30s. (default 30s).authorization_rbac_super_user
- (Computed) - String - AuthorizationRBACSuperUser is the name of the superuser for default rbac.encryption_provider_config
- (Computed) - String - EncryptionProviderConfig enables encryption at rest for secrets.experimental_encryption_provider_config
- (Computed) - String - ExperimentalEncryptionProviderConfig enables encryption at rest for secrets.requestheader_username_headers
- (Computed) - List(String) - List of request headers to inspect for usernames. X-Remote-User is common.requestheader_group_headers
- (Computed) - List(String) - List of request headers to inspect for groups. X-Remote-Group is suggested.requestheader_extra_header_prefixes
- (Computed) - List(String) - List of request header prefixes to inspect. X-Remote-Extra- is suggested.requestheader_client_ca_file
- (Computed) - String - Root certificate bundle to use to verify client certificates on incoming requests before trusting usernames in headers specified by --requestheader-username-headers.requestheader_allowed_names
- (Computed) - List(String) - List of client certificate common names to allow to provide usernames in headers specified by --requestheader-username-headers. If empty, any client certificate validated by the authorities in --requestheader-client-ca-file is allowed.feature_gates
- (Computed) - Map(String) - FeatureGates is set of key=value pairs that describe feature gates for alpha/experimental features.max_requests_inflight
- (Computed) - Int - MaxRequestsInflight The maximum number of non-mutating requests in flight at a given time.max_mutating_requests_inflight
- (Computed) - Int - MaxMutatingRequestsInflight The maximum number of mutating requests in flight at a given time. Defaults to 200.http2_max_streams_per_connection
- (Computed) - Int - HTTP2MaxStreamsPerConnection sets the limit that the server gives to clients for the maximum number of streams in an HTTP/2 connection. Zero means to use golang's default.etcd_quorum_read
- (Computed) - Bool - EtcdQuorumRead configures the etcd-quorum-read flag, which forces consistent reads from etcd.request_timeout
- (Computed) - Duration - RequestTimeout configures the duration a handler must keep a request open before timing it out. (default 1m0s).min_request_timeout
- (Computed) - Int - MinRequestTimeout configures the minimum number of seconds a handler must keep a request open before timing it out.
Currently only honored by the watch request handler.target_ram_mb
- (Computed) - Int - Memory limit for apiserver in MB (used to configure sizes of caches, etc.).service_account_key_file
- (Computed) - List(String) - File containing PEM-encoded x509 RSA or ECDSA private or public keys, used to verify ServiceAccount tokens.
The specified file can contain multiple keys, and the flag can be specified multiple times with different files.
If unspecified, --tls-private-key-file is used.service_account_signing_key_file
- (Computed) - String - Path to the file that contains the current private key of the service account token issuer.
The issuer will sign issued ID tokens with this private key. (Requires the 'TokenRequest' feature gate.).service_account_issuer
- (Computed) - String - Identifier of the service account token issuer. The issuer will assert this identifier
in "iss" claim of issued tokens. This value is a string or URI.service_account_jwksuri
- (Computed) - String - ServiceAccountJWKSURI overrides the path for the jwks document; this is useful when we are republishing the service account discovery information elsewhere.api_audiences
- (Computed) - List(String) - Identifiers of the API. The service account token authenticator will validate that
tokens used against the API are bound to at least one of these audiences. If the
--service-account-issuer flag is configured and this flag is not, this field
defaults to a single element list containing the issuer URL.cpu_request
- (Computed) - Quantity - CPURequest, cpu request compute resource for api server. Defaults to "150m".cpu_limit
- (Computed) - Quantity - CPULimit, cpu limit compute resource for api server e.g. "500m".memory_request
- (Computed) - Quantity - MemoryRequest, memory request compute resource for api server e.g. "30Mi".memory_limit
- (Computed) - Quantity - MemoryLimit, memory limit compute resource for api server e.g. "30Mi".event_ttl
- (Computed) - Duration - Amount of time to retain Kubernetes events.audit_dynamic_configuration
- (Computed) - Bool - AuditDynamicConfiguration enables dynamic audit configuration via AuditSinks.enable_profiling
- (Computed) - Bool - EnableProfiling enables profiling via web interface host:port/debug/pprof/.cors_allowed_origins
- (Computed) - List(String) - CorsAllowedOrigins is a list of origins for CORS. An allowed origin can be a regular
expression to support subdomain matching. If this list is empty CORS will not be enabled.default_not_ready_toleration_seconds
- (Computed) - Int - DefaultNotReadyTolerationSeconds indicates the tolerationSeconds of the toleration for notReady:NoExecute that is added by default to every pod that does not already have such a toleration.default_unreachable_toleration_seconds
- (Computed) - Int - DefaultUnreachableTolerationSeconds indicates the tolerationSeconds of the toleration for unreachable:NoExecute that is added by default to every pod that does not already have such a toleration.
KubeControllerManagerConfig is the configuration for the controller.
The following arguments are supported:
master
- (Computed) - String - Master is the url for the kube api master.log_format
- (Computed) - String - LogFormat is the logging format of the controler manager.
Supported values: text, json.
Default: text.log_level
- (Computed) - Int - LogLevel is the defined logLevel.service_account_private_key_file
- (Computed) - String - ServiceAccountPrivateKeyFile is the location of the private key for service account token signing.image
- (Computed) - String - Image is the docker image to use.cloud_provider
- (Computed) - String - CloudProvider is the provider for cloud services.cluster_name
- (Computed) - String - ClusterName is the instance prefix for the cluster.cluster_cidr
- (Computed) - String - ClusterCIDR is CIDR Range for Pods in cluster.allocate_node_cidrs
- (Computed) - Bool - AllocateNodeCIDRs enables CIDRs for Pods to be allocated and, if ConfigureCloudRoutes is true, to be set on the cloud provider.node_cidr_mask_size
- (Computed) - Int - NodeCIDRMaskSize set the size for the mask of the nodes.configure_cloud_routes
- (Computed) - Bool - ConfigureCloudRoutes enables CIDRs allocated with to be configured on the cloud provider.controllers
- (Computed) - List(String) - Controllers is a list of controllers to enable on the controller-manager.cidr_allocator_type
- (Computed) - String - CIDRAllocatorType specifies the type of CIDR allocator to use.root_ca_file
- (Computed) - String - rootCAFile is the root certificate authority will be included in service account's token secret. This must be a valid PEM-encoded CA bundle.leader_election
- (Computed) - leader_election_configuration - LeaderElection defines the configuration of leader election client.attach_detach_reconcile_sync_period
- (Computed) - Duration - AttachDetachReconcileSyncPeriod is the amount of time the reconciler sync states loop
wait between successive executions. Is set to 1 min by kops by default.disable_attach_detach_reconcile_sync
- (Computed) - Bool - DisableAttachDetachReconcileSync disables the reconcile sync loop in the attach-detach controller.
This can cause volumes to become mismatched with pods.terminated_pod_gc_threshold
- (Computed) - Int - TerminatedPodGCThreshold is the number of terminated pods that can exist
before the terminated pod garbage collector starts deleting terminated pods.
If <= 0, the terminated pod garbage collector is disabled.node_monitor_period
- (Computed) - Duration - NodeMonitorPeriod is the period for syncing NodeStatus in NodeController. (default 5s).node_monitor_grace_period
- (Computed) - Duration - NodeMonitorGracePeriod is the amount of time which we allow running Node to be unresponsive before marking it unhealthy. (default 40s)
Must be N-1 times more than kubelet's nodeStatusUpdateFrequency, where N means number of retries allowed for kubelet to post node status.pod_eviction_timeout
- (Computed) - Duration - PodEvictionTimeout is the grace period for deleting pods on failed nodes. (default 5m0s).use_service_account_credentials
- (Computed) - Bool - UseServiceAccountCredentials controls whether we use individual service account credentials for each controller.horizontal_pod_autoscaler_sync_period
- (Computed) - Duration - HorizontalPodAutoscalerSyncPeriod is the amount of time between syncs
During each period, the controller manager queries the resource utilization
against the metrics specified in each HorizontalPodAutoscaler definition.horizontal_pod_autoscaler_downscale_delay
- (Computed) - Duration - HorizontalPodAutoscalerDownscaleDelay is a duration that specifies
how long the autoscaler has to wait before another downscale
operation can be performed after the current one has completed.horizontal_pod_autoscaler_downscale_stabilization
- (Computed) - Duration - HorizontalPodAutoscalerDownscaleStabilization is the period for which
autoscaler will look backwards and not scale down below any
recommendation it made during that period.horizontal_pod_autoscaler_upscale_delay
- (Computed) - Duration - HorizontalPodAutoscalerUpscaleDelay is a duration that specifies how
long the autoscaler has to wait before another upscale operation can
be performed after the current one has completed.horizontal_pod_autoscaler_initial_readiness_delay
- (Computed) - Duration - HorizontalPodAutoscalerInitialReadinessDelay is the period after pod start
during which readiness changes will be treated as initial readiness. (default 30s).horizontal_pod_autoscaler_cpu_initialization_period
- (Computed) - Duration - HorizontalPodAutoscalerCPUInitializationPeriod is the period after pod start
when CPU samples might be skipped. (default 5m).horizontal_pod_autoscaler_tolerance
- (Computed) - Quantity - HorizontalPodAutoscalerTolerance is the minimum change (from 1.0) in the
desired-to-actual metrics ratio for the horizontal pod autoscaler to
consider scaling.horizontal_pod_autoscaler_use_rest_clients
- (Computed) - Bool - HorizontalPodAutoscalerUseRestClients determines if the new-style clients
should be used if support for custom metrics is enabled.experimental_cluster_signing_duration
- (Computed) - Duration - ExperimentalClusterSigningDuration is the duration that determines
the length of duration that the signed certificates will be given. (default 8760h0m0s).feature_gates
- (Computed) - Map(String) - FeatureGates is set of key=value pairs that describe feature gates for alpha/experimental features.tls_cert_file
- (Computed) - String - TLSCertFile is the file containing the TLS server certificate.tls_cipher_suites
- (Computed) - List(String) - TLSCipherSuites indicates the allowed TLS cipher suite.tls_min_version
- (Computed) - String - TLSMinVersion indicates the minimum TLS version allowed.tls_private_key_file
- (Computed) - String - TLSPrivateKeyFile is the file containing the private key for the TLS server certificate.min_resync_period
- (Computed) - String - MinResyncPeriod indicates the resync period in reflectors.
The resync period will be random between MinResyncPeriod and 2*MinResyncPeriod. (default 12h0m0s).kube_api_qps
- (Computed) - Quantity - KubeAPIQPS QPS to use while talking with kubernetes apiserver. (default 20).kube_api_burst
- (Computed) - Int - KubeAPIBurst Burst to use while talking with kubernetes apiserver. (default 30).concurrent_deployment_syncs
- (Computed) - Int - The number of deployment objects that are allowed to sync concurrently.concurrent_endpoint_syncs
- (Computed) - Int - The number of endpoint objects that are allowed to sync concurrently.concurrent_namespace_syncs
- (Computed) - Int - The number of namespace objects that are allowed to sync concurrently.concurrent_replicaset_syncs
- (Computed) - Int - The number of replicaset objects that are allowed to sync concurrently.concurrent_service_syncs
- (Computed) - Int - The number of service objects that are allowed to sync concurrently.concurrent_resource_quota_syncs
- (Computed) - Int - The number of resourcequota objects that are allowed to sync concurrently.concurrent_serviceaccount_token_syncs
- (Computed) - Int - The number of serviceaccount objects that are allowed to sync concurrently to create tokens.concurrent_rc_syncs
- (Computed) - Int - The number of replicationcontroller objects that are allowed to sync concurrently.authentication_kubeconfig
- (Computed) - String - AuthenticationKubeconfig is the path to an Authentication Kubeconfig.authorization_kubeconfig
- (Computed) - String - AuthorizationKubeconfig is the path to an Authorization Kubeconfig.authorization_always_allow_paths
- (Computed) - List(String) - AuthorizationAlwaysAllowPaths is the list of HTTP paths to skip during authorization.external_cloud_volume_plugin
- (Computed) - String - ExternalCloudVolumePlugin is a fallback mechanism that allows a legacy, in-tree cloudprovider to be used for volume plugins
even when an external cloud controller manager is being used. This can be used instead of installing CSI. The value should
be the same as is used for the --cloud-provider flag, i.e. "aws".enable_profiling
- (Computed) - Bool - EnableProfiling enables profiling via web interface host:port/debug/pprof/.enable_leader_migration
- (Computed) - Bool - EnableLeaderMigration enables controller leader migration.
LeaderElectionConfiguration defines the configuration of leader election
clients for components that can run with leader election enabled.
The following arguments are supported:
leader_elect
- (Computed) - Bool - leaderElect enables a leader election client to gain leadership
before executing the main loop. Enable this when running replicated
components for high availability.leader_elect_lease_duration
- (Computed) - Duration - leaderElectLeaseDuration is the length in time non-leader candidates
will wait after observing a leadership renewal until attempting to acquire
leadership of a led but unrenewed leader slot. This is effectively the
maximum duration that a leader can be stopped before it is replaced by another candidate.leader_elect_renew_deadline_duration
- (Computed) - Duration - LeaderElectRenewDeadlineDuration is the interval between attempts by the acting master to
renew a leadership slot before it stops leading. This must be less than or equal to the lease duration.leader_elect_resource_lock
- (Computed) - String - LeaderElectResourceLock is the type of resource object that is used for locking during
leader election. Supported options are endpoints (default) andconfigmaps
.leader_elect_resource_name
- (Computed) - String - LeaderElectResourceName is the name of resource object that is used for locking during leader election.leader_elect_resource_namespace
- (Computed) - String - LeaderElectResourceNamespace is the namespace of resource object that is used for locking during leader election.leader_elect_retry_period
- (Computed) - Duration - LeaderElectRetryPeriod is The duration the clients should wait between attempting acquisition
and renewal of a leadership. This is only applicable if leader election is enabled.
CloudControllerManagerConfig is the configuration of the cloud controller.
The following arguments are supported:
master
- (Computed) - String - Master is the url for the kube api master.log_level
- (Computed) - Int - LogLevel is the verbosity of the logs.image
- (Computed) - String - Image is the OCI image of the cloud controller manager.cloud_provider
- (Computed) - String - CloudProvider is the provider for cloud services.cluster_name
- (Computed) - String - ClusterName is the instance prefix for the cluster.allow_untagged_cloud
- (Computed) - Bool - Allow the cluster to run without the cluster-id on cloud instances.cluster_cidr
- (Computed) - String - ClusterCIDR is CIDR Range for Pods in cluster.allocate_node_cidrs
- (Computed) - Bool - AllocateNodeCIDRs enables CIDRs for Pods to be allocated and, if
ConfigureCloudRoutes is true, to be set on the cloud provider.configure_cloud_routes
- (Computed) - Bool - ConfigureCloudRoutes enables CIDRs allocated with to be configured on the cloud provider.controllers
- (Computed) - List(String) - Controllers is a list of controllers to enable on the controller-manager.cidr_allocator_type
- (Computed) - String - CIDRAllocatorType specifies the type of CIDR allocator to use.leader_election
- (Computed) - leader_election_configuration - LeaderElection defines the configuration of leader election client.use_service_account_credentials
- (Computed) - Bool - UseServiceAccountCredentials controls whether we use individual service account credentials for each controller.enable_leader_migration
- (Computed) - Bool - EnableLeaderMigration enables controller leader migration.cpu_request
- (Computed) - Quantity - CPURequest of NodeTerminationHandler container.
Default: 200m.node_status_update_frequency
- (Computed) - Duration - NodeStatusUpdateFrequency is the duration between node status updates. (default: 5m).
KubeSchedulerConfig is the configuration for the kube-scheduler.
The following arguments are supported:
master
- (Computed) - String - Master is a url to the kube master.log_format
- (Computed) - String - LogFormat is the logging format of the scheduler.
Supported values: text, json.
Default: text.log_level
- (Computed) - Int - LogLevel is the logging level.image
- (Computed) - String - Image is the docker image to use.leader_election
- (Computed) - leader_election_configuration - LeaderElection defines the configuration of leader election client.use_policy_config_map
- (Computed) - Bool - UsePolicyConfigMap enable setting the scheduler policy from a configmap.feature_gates
- (Computed) - Map(String) - FeatureGates is set of key=value pairs that describe feature gates for alpha/experimental features.max_persistent_volumes
- (Computed) - Int - MaxPersistentVolumes changes the maximum number of persistent volumes the scheduler will scheduler onto the same
node. Only takes effect if value is positive. This corresponds to the KUBE_MAX_PD_VOLS environment variable.
The default depends on the version and the cloud provider
as outlined: https://kubernetes.io/docs/concepts/storage/storage-limits/.qps
- (Computed) - Quantity - Qps sets the maximum qps to send to apiserver after the burst quota is exhausted.burst
- (Computed) - Int - Burst sets the maximum qps to send to apiserver after the burst quota is exhausted.authentication_kubeconfig
- (Computed) - String - AuthenticationKubeconfig is the path to an Authentication Kubeconfig.authorization_kubeconfig
- (Computed) - String - AuthorizationKubeconfig is the path to an Authorization Kubeconfig.authorization_always_allow_paths
- (Computed) - List(String) - AuthorizationAlwaysAllowPaths is the list of HTTP paths to skip during authorization.enable_profiling
- (Computed) - Bool - EnableProfiling enables profiling via web interface host:port/debug/pprof/.tls_cert_file
- (Computed) - String - TLSCertFile is the file containing the TLS server certificate.tls_private_key_file
- (Computed) - String - TLSPrivateKeyFile is the file containing the private key for the TLS server certificate.
KubeProxyConfig defines the configuration for a proxy.
The following arguments are supported:
image
- (Computed) - Stringcpu_request
- (Computed) - Quantity - CPURequest, cpu request compute resource for kube proxy e.g. "20m".cpu_limit
- (Computed) - Quantity - CPULimit, cpu limit compute resource for kube proxy e.g. "30m".memory_request
- (Computed) - Quantity - MemoryRequest, memory request compute resource for kube proxy e.g. "30Mi".memory_limit
- (Computed) - Quantity - MemoryLimit, memory limit compute resource for kube proxy e.g. "30Mi".log_level
- (Computed) - Int - LogLevel is the logging level of the proxy.cluster_cidr
- (Computed) - String - ClusterCIDR is the CIDR range of the pods in the cluster.hostname_override
- (Computed) - String - HostnameOverride, if non-empty, will be used as the identity instead of the actual hostname.bind_address
- (Computed) - String - BindAddress is IP address for the proxy server to serve on.master
- (Computed) - String - Master is the address of the Kubernetes API server (overrides any value in kubeconfig).metrics_bind_address
- (Computed) - String - MetricsBindAddress is the IP address for the metrics server to serve on.enabled
- (Computed) - Bool - Enabled allows enabling or disabling kube-proxy.proxy_mode
- (Computed) - String - Which proxy mode to use: (userspace, iptables(default), ipvs).ip_vs_exclude_cidrs
- (Computed) - List(String) - IPVSExcludeCIDRs is comma-separated list of CIDR's which the ipvs proxier should not touch when cleaning up IPVS rules.ip_vs_min_sync_period
- (Computed) - Duration - IPVSMinSyncPeriod is the minimum interval of how often the ipvs rules can be refreshed as endpoints and services change (e.g. '5s', '1m', '2h22m').ip_vs_scheduler
- (Computed) - String - IPVSScheduler is the ipvs scheduler type when proxy mode is ipvs.ip_vs_sync_period
- (Computed) - Duration - IPVSSyncPeriod duration is the maximum interval of how often ipvs rules are refreshed.feature_gates
- (Computed) - Map(String) - FeatureGates is a series of key pairs used to switch on features for the proxy.conntrack_max_per_core
- (Computed) - Int - Maximum number of NAT connections to track per CPU core (default: 131072).conntrack_min
- (Computed) - Int - Minimum number of conntrack entries to allocate, regardless of conntrack-max-per-core.
KubeletConfigSpec defines the kubelet configuration.
The following arguments are supported:
api_servers
- (Computed) - String - APIServers is not used for clusters version 1.6 and later - flag removed.anonymous_auth
- (Computed) - Bool(Nullable) - AnonymousAuth permits you to control auth to the kubelet api.authorization_mode
- (Computed) - String - AuthorizationMode is the authorization mode the kubelet is running in.bootstrap_kubeconfig
- (Computed) - String - BootstrapKubeconfig is the path to a kubeconfig file that will be used to get client certificate for kubelet.client_ca_file
- (Computed) - String - ClientCAFile is the path to a CA certificate.tls_cert_file
- (Computed) - String - TODO: Remove unused TLSCertFile.tls_private_key_file
- (Computed) - String - TODO: Remove unused TLSPrivateKeyFile.tls_cipher_suites
- (Computed) - List(String) - TLSCipherSuites indicates the allowed TLS cipher suite.tls_min_version
- (Computed) - String - TLSMinVersion indicates the minimum TLS version allowed.kubeconfig_path
- (Computed) - String - KubeconfigPath is the path of kubeconfig for the kubelet.require_kubeconfig
- (Computed) - Bool - RequireKubeconfig indicates a kubeconfig is required.log_format
- (Computed) - String - LogFormat is the logging format of the kubelet.
Supported values: text, json.
Default: text.log_level
- (Computed) - Int - LogLevel is the logging level of the kubelet.pod_manifest_path
- (Computed) - String - config is the path to the config file or directory of files.hostname_override
- (Computed) - String - HostnameOverride is the hostname used to identify the kubelet instead of the actual hostname.pod_infra_container_image
- (Computed) - String - PodInfraContainerImage is the image whose network/ipc containers in each pod will use.seccomp_profile_root
- (Computed) - String - SeccompProfileRoot is the directory path for seccomp profiles.allow_privileged
- (Computed) - Bool - AllowPrivileged enables containers to request privileged mode (defaults to false).enable_debugging_handlers
- (Computed) - Bool - EnableDebuggingHandlers enables server endpoints for log collection and local running of containers and commands.register_node
- (Computed) - Bool - RegisterNode enables automatic registration with the apiserver.node_status_update_frequency
- (Computed) - Duration - NodeStatusUpdateFrequency Specifies how often kubelet posts node status to master (default 10s)
must work with nodeMonitorGracePeriod in KubeControllerManagerConfig.cluster_domain
- (Computed) - String - ClusterDomain is the DNS domain for this cluster.cluster_dns
- (Computed) - String - ClusterDNS is the IP address for a cluster DNS server.network_plugin_name
- (Computed) - String - NetworkPluginName is the name of the network plugin to be invoked for various events in kubelet/pod lifecycle.cloud_provider
- (Computed) - String - CloudProvider is the provider for cloud services.kubelet_cgroups
- (Computed) - String - KubeletCgroups is the absolute name of cgroups to isolate the kubelet in.runtime_cgroups
- (Computed) - String - Cgroups that container runtime is expected to be isolated in.read_only_port
- (Computed) - Int - ReadOnlyPort is the port used by the kubelet api for read-only access (default 10255).system_cgroups
- (Computed) - String - SystemCgroups is absolute name of cgroups in which to place
all non-kernel processes that are not already in a container. Empty
for no container. Rolling back the flag requires a reboot.cgroup_root
- (Computed) - String - cgroupRoot is the root cgroup to use for pods. This is handled by the container runtime on a best effort basis.configure_cbr0
- (Computed) - Bool - configureCBR0 enables the kubelet to configure cbr0 based on Node.Spec.PodCIDR.hairpin_mode
- (Computed) - String - How should the kubelet configure the container bridge for hairpin packets.
Setting this flag allows endpoints in a Service to loadbalance back to
themselves if they should try to access their own Service. Values:
"promiscuous-bridge": make the container bridge promiscuous.
"hairpin-veth": set the hairpin flag on container veth interfaces.
"none": do nothing.
Setting --configure-cbr0 to false implies that to achieve hairpin NAT
one must set --hairpin-mode=veth-flag, because bridge assumes the
existence of a container bridge named cbr0.babysit_daemons
- (Computed) - Bool - The node has babysitter process monitoring docker and kubelet. Removed as of 1.7.max_pods
- (Computed) - Int - MaxPods is the number of pods that can run on this Kubelet.nvidia_gp_us
- (Computed) - Int - NvidiaGPUs is the number of NVIDIA GPU devices on this node.pod_cidr
- (Computed) - String - PodCIDR is the CIDR to use for pod IP addresses, only used in standalone mode.
In cluster mode, this is obtained from the master.resolver_config
- (Computed) - String - ResolverConfig is the resolver configuration file used as the basis for the container DNS resolution configuration."), [].reconcile_cidr
- (Computed) - Bool - ReconcileCIDR is Reconcile node CIDR with the CIDR specified by the
API server. No-op if register-node or configure-cbr0 is false.register_schedulable
- (Computed) - Bool - registerSchedulable tells the kubelet to register the node as schedulable. No-op if register-node is false.serialize_image_pulls
- (Computed) - Bool - // SerializeImagePulls when enabled, tells the Kubelet to pull images one
// at a time. We recommend not changing the default value on nodes that
// run docker daemon with version < 1.9 or an Aufs storage backend.
// Issue #10959 has more details.node_labels
- (Computed) - Map(String) - NodeLabels to add when registering the node in the cluster.non_masquerade_cidr
- (Computed) - String - NonMasqueradeCIDR configures masquerading: traffic to IPs outside this range will use IP masquerade.enable_custom_metrics
- (Computed) - Bool - Enable gathering custom metrics.network_plugin_mtu
- (Computed) - Int - NetworkPluginMTU is the MTU to be passed to the network plugin,
and overrides the default MTU for cases where it cannot be automatically
computed (such as IPSEC).image_gc_high_threshold_percent
- (Computed) - Int - ImageGCHighThresholdPercent is the percent of disk usage after which
image garbage collection is always run.image_gc_low_threshold_percent
- (Computed) - Int - ImageGCLowThresholdPercent is the percent of disk usage before which
image garbage collection is never run. Lowest disk usage to garbage
collect to.image_pull_progress_deadline
- (Computed) - Duration - ImagePullProgressDeadline is the timeout for image pulls
If no pulling progress is made before this deadline, the image pulling will be cancelled. (default 1m0s).eviction_hard
- (Computed) - String - Comma-delimited list of hard eviction expressions. For example, 'memory.available<300Mi'.eviction_soft
- (Computed) - String - Comma-delimited list of soft eviction expressions. For example, 'memory.available<300Mi'.eviction_soft_grace_period
- (Computed) - String - Comma-delimited list of grace periods for each soft eviction signal. For example, 'memory.available=30s'.eviction_pressure_transition_period
- (Computed) - Duration - Duration for which the kubelet has to wait before transitioning out of an eviction pressure condition.eviction_max_pod_grace_period
- (Computed) - Int - Maximum allowed grace period (in seconds) to use when terminating pods in response to a soft eviction threshold being met.eviction_minimum_reclaim
- (Computed) - String - Comma-delimited list of minimum reclaims (e.g. imagefs.available=2Gi) that describes the minimum amount of resource the kubelet will reclaim when performing a pod eviction if that resource is under pressure.volume_plugin_directory
- (Computed) - String - The full path of the directory in which to search for additional third party volume plugins (this path must be writeable, dependent on your choice of OS).taints
- (Computed) - List(String) - Taints to add when registering a node in the cluster.feature_gates
- (Computed) - Map(String) - FeatureGates is set of key=value pairs that describe feature gates for alpha/experimental features.kernel_memcg_notification
- (Computed) - Bool - Integrate with the kernel memcg notification to determine if memory eviction thresholds are crossed rather than polling.kube_reserved
- (Computed) - Map(String) - Resource reservation for kubernetes system daemons like the kubelet, container runtime, node problem detector, etc.kube_reserved_cgroup
- (Computed) - String - Control group for kube daemons.system_reserved
- (Computed) - Map(String) - Capture resource reservation for OS system daemons like sshd, udev, etc.system_reserved_cgroup
- (Computed) - String - Parent control group for OS system daemons.enforce_node_allocatable
- (Computed) - String - Enforce Allocatable across pods whenever the overall usage across all pods exceeds Allocatable.runtime_request_timeout
- (Computed) - Duration - RuntimeRequestTimeout is timeout for runtime requests on - pull, logs, exec and attach.volume_stats_agg_period
- (Computed) - Duration - VolumeStatsAggPeriod is the interval for kubelet to calculate and cache the volume disk usage for all pods and volumes.fail_swap_on
- (Computed) - Bool - Tells the Kubelet to fail to start if swap is enabled on the node.experimental_allowed_unsafe_sysctls
- (Computed) - List(String) - ExperimentalAllowedUnsafeSysctls are passed to the kubelet config to whitelist allowable sysctls
Was promoted to beta and renamed. kubernetes/kubernetes#63717.allowed_unsafe_sysctls
- (Computed) - List(String) - AllowedUnsafeSysctls are passed to the kubelet config to whitelist allowable sysctls.streaming_connection_idle_timeout
- (Computed) - Duration - StreamingConnectionIdleTimeout is the maximum time a streaming connection can be idle before the connection is automatically closed.docker_disable_shared_pid
- (Computed) - Bool - DockerDisableSharedPID uses a shared PID namespace for containers in a pod.root_dir
- (Computed) - String - RootDir is the directory path for managing kubelet files (volume mounts,etc).authentication_token_webhook
- (Computed) - Bool - AuthenticationTokenWebhook uses the TokenReview API to determine authentication for bearer tokens.authentication_token_webhook_cache_ttl
- (Computed) - Duration - AuthenticationTokenWebhook sets the duration to cache responses from the webhook token authenticator. Default is 2m. (default 2m0s).cpu_cfs_quota
- (Computed) - Bool(Nullable) - CPUCFSQuota enables CPU CFS quota enforcement for containers that specify CPU limits.cpu_cfs_quota_period
- (Computed) - Duration - CPUCFSQuotaPeriod sets CPU CFS quota period value, cpu.cfs_period_us, defaults to Linux Kernel default.cpu_manager_policy
- (Computed) - String - CpuManagerPolicy allows for changing the default policy of None to static.registry_pull_qps
- (Computed) - Int - RegistryPullQPS if > 0, limit registry pull QPS to this value. If 0, unlimited. (default 5).registry_burst
- (Computed) - Int - RegistryBurst Maximum size of a bursty pulls, temporarily allows pulls to burst to this number, while still not exceeding registry-qps. Only used if --registry-qps > 0 (default 10).topology_manager_policy
- (Computed) - String - TopologyManagerPolicy determines the allocation policy for the topology manager.rotate_certificates
- (Computed) - Bool - rotateCertificates enables client certificate rotation.protect_kernel_defaults
- (Computed) - Bool - Default kubelet behaviour for kernel tuning. If set, kubelet errors if any of kernel tunables is different than kubelet defaults.
(DEPRECATED: This parameter should be set via the config file specified by the Kubelet's --config flag.cgroup_driver
- (Computed) - String - CgroupDriver allows the explicit setting of the kubelet cgroup driver. If omitted, defaults to cgroupfs.housekeeping_interval
- (Computed) - Duration - HousekeepingInterval allows to specify interval between container housekeepings.event_qps
- (Computed) - Int - EventQPS if > 0, limit event creations per second to this value. If 0, unlimited.event_burst
- (Computed) - Int - EventBurst temporarily allows event records to burst to this number, while still not exceeding EventQPS. Only used if EventQPS > 0.container_log_max_size
- (Computed) - String - ContainerLogMaxSize is the maximum size (e.g. 10Mi) of container log file before it is rotated.container_log_max_files
- (Computed) - Int - ContainerLogMaxFiles is the maximum number of container log files that can be present for a container. The number must be >= 2.enable_cadvisor_json_endpoints
- (Computed) - Bool - EnableCadvisorJsonEndpoints enables cAdvisor json/spec
and/stats/*
endpoints. Defaults to False.pod_pids_limit
- (Computed) - Int - PodPidsLimit is the maximum number of pids in any pod.shutdown_grace_period
- (Computed) - Duration - ShutdownGracePeriod specifies the total duration that the node should delay the shutdown by.
Default: 30s.shutdown_grace_period_critical_pods
- (Computed) - Duration - ShutdownGracePeriodCriticalPods specifies the duration used to terminate critical pods during a node shutdown.
Default: 10s.
CloudConfiguration defines the cloud provider configuration.
The following arguments are supported:
manage_storage_classes
- (Computed) - Bool(Nullable) - ManageStorageClasses specifies whether kOps should create and maintain a set of
StorageClasses, one of which it nominates as the default class for the cluster.multizone
- (Computed) - Bool - GCE cloud-config options.node_tags
- (Computed) - Stringnode_instance_prefix
- (Computed) - Stringnode_ip_families
- (Computed) - List(String) - NodeIPFamilies controls the IP families reported for each node (AWS only).disable_security_group_ingress
- (Computed) - Bool - AWS cloud-config options.elb_security_group
- (Computed) - Stringspotinst_product
- (Computed) - String - Spotinst cloud-config specs.spotinst_orientation
- (Computed) - String
ExternalDNSConfig are options of the dns-controller.
The following arguments are supported:
watch_ingress
- (Computed) - Bool - WatchIngress indicates you want the dns-controller to watch and create dns entries for ingress resources.
Default: true if provider is 'external-dns', false otherwise.watch_namespace
- (Computed) - String - WatchNamespace is namespace to watch, defaults to all (use to control whom can creates dns entries).provider
- (Computed) - String - Provider determines which implementation of ExternalDNS to use.
'dns-controller' will use kOps DNS Controller.
'external-dns' will use kubernetes-sigs/external-dns.
NTPConfig is the configuration for NTP.
The following arguments are supported:
managed
- (Computed) - Bool - Managed controls if the NTP configuration is managed by kOps.
The NTP configuration task is skipped if this is set to false.
NodeProblemDetector determines the node problem detector configuration.
The following arguments are supported:
enabled
- (Computed) - Bool - Enabled enables the NodeProblemDetector.
Default: false.image
- (Computed) - String - Image is the NodeProblemDetector docker container used.memory_request
- (Computed) - Quantity - MemoryRequest of NodeProblemDetector container.
Default: 80Mi.cpu_request
- (Computed) - Quantity - CPURequest of NodeProblemDetector container.
Default: 10m.memory_limit
- (Computed) - Quantity - MemoryLimit of NodeProblemDetector container.
Default: 80Mi.cpu_limit
- (Computed) - Quantity - CPULimit of NodeProblemDetector container.
Default: 10m.
MetricsServerConfig determines the metrics server configuration.
The following arguments are supported:
enabled
- (Computed) - Bool - Enabled enables the metrics server.
Default: false.image
- (Computed) - String - Image is the docker container used.
Default: the latest supported image for the specified kubernetes version.insecure
- (Computed) - Bool - Insecure determines if API server will validate metrics server TLS cert.
Default: true.
CertManagerConfig determines the cert manager configuration.
The following arguments are supported:
enabled
- (Computed) - Bool - Enabled enables the cert manager.
Default: false.managed
- (Computed) - Bool - Managed controls if cert-manager is manged and deployed by kOps.
The deployment of cert-manager is skipped if this is set to false.image
- (Computed) - String - Image is the docker container used.
Default: the latest supported image for the specified kubernetes version.default_issuer
- (Computed) - String - defaultIssuer sets a default clusterIssuer
Default: none.nameservers
- (Computed) - List(String) - nameservers is a list of nameserver IP addresses to use instead of the pod defaults.
Default: none.hosted_zone_ids
- (Computed) - List(String) - HostedZoneIDs is a list of route53 hostedzone IDs that cert-manager will be allowed to do dns-01 validation for.
NetworkingSpec configures networking.
The following arguments are supported:
network_id
- (Computed) - String - NetworkID is the cloud provider's identifier of the existing network (for example, AWS VPC) the cluster should use.
If not specified, kOps will create a new network.network_cidr
- (Computed) - String - NetworkCIDR is the primary IPv4 CIDR used for the cloud provider's network.
It is not required on GCE.
On DO, it maps to the VPC CIDR.additional_network_cidrs
- (Computed) - List(String) - AdditionalNetworkCIDRs is a list of additional CIDR used for the AWS VPC
or otherwise allocated to k8s. This is a real CIDR, not the internal k8s network
On AWS, it maps to any additional CIDRs added to a VPC.subnet
- (Computed) - List(cluster_subnet_spec) - Subnets are the subnets that the cluster can use.tag_subnets
- (Computed) - Bool(Nullable) - TagSubnets controls if tags are added to subnets to enable use by load balancers (AWS only). Default: true.topology
- (Computed) - topology_spec - Topology defines the type of network topology to use on the cluster - default public
This is heavily weighted towards AWS for the time being, but should also be agnostic enough
to port out to GCE later if needed.egress_proxy
- (Computed) - egress_proxy_spec - HTTPProxy defines connection information to support use of a private cluster behind an forward HTTP Proxy.non_masquerade_cidr
- (Computed) - String - NonMasqueradeCIDR is the CIDR for the internal k8s network (on which pods & services live)
It cannot overlap ServiceClusterIPRange.pod_cidr
- (Computed) - String - PodCIDR is the CIDR from which we allocate IPs for pods.service_cluster_ip_range
- (Computed) - String - ServiceClusterIPRange is the CIDR, from the internal network, where we allocate IPs for services.isolate_control_plane
- (Computed) - Bool - IsolateControlPlane determines whether we should lock down masters so that they are not on the pod network.
true is the kube-up behaviour, but it is very surprising: it means that daemonsets only work on the master
if they have hostNetwork=true.
false is now the default, and it will:
* give the master a normal PodCIDR
* run kube-proxy on the master
* enable debugging handlers on the master, so kubectl logs works.classic
- (Computed) - classic_networking_speckubenet
- (Computed) - kubenet_networking_specexternal
- (Computed) - external_networking_speccni
- (Computed) - cni_networking_speckopeio
- (Computed) - kopeio_networking_specweave
- (Computed) - weave_networking_specflannel
- (Computed) - flannel_networking_speccalico
- (Computed) - calico_networking_speccanal
- (Computed) - canal_networking_speckube_router
- (Computed) - kuberouter_networking_specromana
- (Computed) - romana_networking_specamazon_vpc
- (Computed) - amazon_vpc_networking_speccilium
- (Computed) - cilium_networking_speclyft_vpc
- (Computed) - lyft_vpc_networking_specgce
- (Computed) - gce_networking_spec
ClusterSubnetSpec defines a subnet
TODO: move to networking.go.
The following arguments are supported:
name
- (Computed) - String - Name is the name of the subnet.cidr
- (Computed) - String - CIDR is the IPv4 CIDR block assigned to the subnet.ipv6_cidr
- (Computed) - String - IPv6CIDR is the IPv6 CIDR block assigned to the subnet.zone
- (Computed) - String - Zone is the zone the subnet is in, set for subnets that are zonally scoped.region
- (Computed) - String - Region is the region the subnet is in, set for subnets that are regionally scoped.id
- (Computed) - String - ID is the cloud provider ID for the objects associated with the zone (the subnet on AWS).egress
- (Computed) - String - Egress defines the method of traffic egress for this subnet.type
- (Computed) - String - Type define which one if the internal types (public, utility, private) the network is.public_ip
- (Computed) - String - PublicIP to attach to NatGateway.additional_routes
- (Computed) - List(route_spec) - AdditionalRoutes to attach to the subnet's route table.
The following arguments are supported:
cidr
- (Computed) - String - CIDR destination of the route.target
- (Computed) - String - Target of the route.
The following arguments are supported:
control_plane
- (Computed) - String - ControlPlane specifies the environment for launching the control plane nodes. (public, private).nodes
- (Computed) - String - Nodes specifies the environment for launching the worker nodes. (public, private).bastion
- (Computed) - bastion_spec - Bastion provide an external facing point of entry into a network
containing private network instances. This host can provide a single
point of fortification or audit and can be started and stopped to enable
or disable inbound SSH communication from the Internet. Some call the bastion
the "jump server".dns
- (Computed) - String - DNS specifies the environment for hosted DNS zones. (Public, Private, None).
The following arguments are supported:
bastion_public_name
- (Computed) - String - PublicName is the domain name for the bastion load balancer.load_balancer
- (Computed) - bastion_load_balancer_spec - LoadBalancer contains settings for the load balancer fronting bastion instances.
The following arguments are supported:
type
- (Computed) - String - Type of load balancer to create, it can be Public or Internal.
The following arguments are supported:
http_proxy
- (Computed) - http_proxyproxy_excludes
- (Computed) - String
The following arguments are supported:
host
- (Computed) - Stringport
- (Computed) - Int
ClassicNetworkingSpec is the specification of classic networking mode, integrated into kubernetes.
Support been removed since Kubernetes 1.4.
This resource has no attributes.
KubenetNetworkingSpec is the specification for kubenet networking, largely integrated but intended to replace classic.
This resource has no attributes.
ExternalNetworkingSpec is the specification for networking that is implemented by a user-provided Daemonset that uses the Kubenet kubelet networking plugin.
This resource has no attributes.
CNINetworkingSpec is the specification for networking that is implemented by a user-provided Daemonset, which uses the CNI kubelet networking plugin.
The following arguments are supported:
uses_secondary_ip
- (Computed) - Bool
KopeioNetworkingSpec declares that we want Kopeio networking.
This resource has no attributes.
WeaveNetworkingSpec declares that we want Weave networking.
The following arguments are supported:
mtu
- (Computed) - Intconn_limit
- (Computed) - Intno_masq_local
- (Computed) - Intmemory_request
- (Computed) - Quantity - MemoryRequest memory request of weave container. Default 200Mi.cpu_request
- (Computed) - Quantity - CPURequest CPU request of weave container. Default 50m.memory_limit
- (Computed) - Quantity - MemoryLimit memory limit of weave container. Default 200Mi.cpu_limit
- (Computed) - Quantity - CPULimit CPU limit of weave container.net_extra_args
- (Computed) - String - NetExtraArgs are extra arguments that are passed to weave-kube.npc_memory_request
- (Computed) - Quantity - NPCMemoryRequest memory request of weave npc container. Default 200Mi.npc_cpu_request
- (Computed) - Quantity - NPCCPURequest CPU request of weave npc container. Default 50m.npc_memory_limit
- (Computed) - Quantity - NPCMemoryLimit memory limit of weave npc container. Default 200Mi.npc_cpu_limit
- (Computed) - Quantity - NPCCPULimit CPU limit of weave npc container.npc_extra_args
- (Computed) - String - NPCExtraArgs are extra arguments that are passed to weave-npc.version
- (Computed) - String - Version specifies the Weave container image tag. The default depends on the kOps version.
FlannelNetworkingSpec declares that we want Flannel networking.
The following arguments are supported:
backend
- (Computed) - String - Backend is the backend overlay type we want to use (vxlan or udp).iptables_resync_seconds
- (Computed) - Int - IptablesResyncSeconds sets resync period for iptables rules, in seconds.
CalicoNetworkingSpec declares that we want Calico networking.
The following arguments are supported:
registry
- (Computed) - String - Registry overrides the Calico container image registry.version
- (Computed) - String - Version overrides the Calico container image tag.allow_ip_forwarding
- (Computed) - Bool - AllowIPForwarding enable ip_forwarding setting within the container namespace.
(default: false).aws_src_dst_check
- (Computed) - String - AWSSrcDstCheck enables/disables ENI source/destination checks (AWS IPv4 only)
Options: Disable (default for IPv4), Enable, or DoNothing.bpf_enabled
- (Computed) - Bool - BPFEnabled enables the eBPF dataplane mode.bpf_external_service_mode
- (Computed) - String - BPFExternalServiceMode controls how traffic from outside the cluster to NodePorts and ClusterIPs is handled.
In Tunnel mode, packet is tunneled from the ingress host to the host with the backing pod and back again.
In DSR mode, traffic is tunneled to the host with the backing pod and then returned directly;
this requires a network that allows direct return.
Default: Tunnel (other options: DSR).bpf_kube_proxy_iptables_cleanup_enabled
- (Computed) - Bool - BPFKubeProxyIptablesCleanupEnabled controls whether Felix will clean up the iptables rules
created by the Kubernetes kube-proxy; should only be enabled if kube-proxy is not running.bpf_log_level
- (Computed) - String - BPFLogLevel controls the log level used by the BPF programs. The logs are emitted
to the BPF trace pipe, accessible with the command tc exec BPF debug.
Default: Off (other options: Info, Debug).chain_insert_mode
- (Computed) - String - ChainInsertMode controls whether Felix inserts rules to the top of iptables chains, or
appends to the bottom. Leaving the default option is safest to prevent accidentally
breaking connectivity. Default: 'insert' (other options: 'append').cpu_request
- (Computed) - Quantity - CPURequest CPU request of Calico container. Default: 100m.cross_subnet
- (Computed) - Bool - CrossSubnet is deprecated as of kOps 1.22 and has no effect.encapsulation_mode
- (Computed) - String - EncapsulationMode specifies the network packet encapsulation protocol for Calico to use,
employing such encapsulation at the necessary scope per the related CrossSubnet field. In
"ipip" mode, Calico will use IP-in-IP encapsulation as needed. In "vxlan" mode, Calico will
encapsulate packets as needed using the VXLAN scheme.
Options: ipip (default) or vxlan.ip_ip_mode
- (Computed) - String - IPIPMode determines when to use IP-in-IP encapsulation for the default Calico IPv4 pool.
It is conveyed to the "calico-node" daemon container via the CALICO_IPV4POOL_IPIP
environment variable. EncapsulationMode must be set to "ipip".
Options: "CrossSubnet", "Always", or "Never".
Default: "CrossSubnet" if EncapsulationMode is "ipip", "Never" otherwise.ipv4_auto_detection_method
- (Computed) - String - IPv4AutoDetectionMethod configures how Calico chooses the IP address used to route
between nodes. This should be set when the host has multiple interfaces
and it is important to select the interface used.
Options: "first-found" (default), "can-reach=DESTINATION",
"interface=INTERFACE-REGEX", or "skip-interface=INTERFACE-REGEX".ipv6_auto_detection_method
- (Computed) - String - IPv6AutoDetectionMethod configures how Calico chooses the IP address used to route
between nodes. This should be set when the host has multiple interfaces
and it is important to select the interface used.
Options: "first-found" (default), "can-reach=DESTINATION",
"interface=INTERFACE-REGEX", or "skip-interface=INTERFACE-REGEX".iptables_backend
- (Computed) - String - IptablesBackend controls which variant of iptables binary Felix uses
Default: Auto (other options: Legacy, NFT).log_severity_screen
- (Computed) - String - LogSeverityScreen lets us set the desired log level. (Default: info).mtu
- (Computed) - Int - MTU to be set in the cni-network-config for calico.prometheus_metrics_enabled
- (Computed) - Bool - PrometheusMetricsEnabled can be set to enable the experimental Prometheus
metrics server (default: false).prometheus_metrics_port
- (Computed) - Int - PrometheusMetricsPort is the TCP port that the experimental Prometheus
metrics server should bind to (default: 9091).prometheus_go_metrics_enabled
- (Computed) - Bool - PrometheusGoMetricsEnabled enables Prometheus Go runtime metrics collection.prometheus_process_metrics_enabled
- (Computed) - Bool - PrometheusProcessMetricsEnabled enables Prometheus process metrics collection.typha_prometheus_metrics_enabled
- (Computed) - Bool - TyphaPrometheusMetricsEnabled enables Prometheus metrics collection from Typha
(default: false).typha_prometheus_metrics_port
- (Computed) - Int - TyphaPrometheusMetricsPort is the TCP port the typha Prometheus metrics server
should bind to (default: 9093).typha_replicas
- (Computed) - Int - TyphaReplicas is the number of replicas of Typha to deploy.vxlan_mode
- (Computed) - String - VXLANMode determines when to use VXLAN encapsulation for the default Calico IPv4 pool.
It is conveyed to the "calico-node" daemon container via the CALICO_IPV4POOL_VXLAN
environment variable. EncapsulationMode must be set to "vxlan".
Options: "CrossSubnet", "Always", or "Never".
Default: "CrossSubnet" if EncapsulationMode is "vxlan", "Never" otherwise.wireguard_enabled
- (Computed) - Bool - WireguardEnabled enables WireGuard encryption for all on-the-wire pod-to-pod traffic
(default: false).
CanalNetworkingSpec declares that we want Canal networking.
The following arguments are supported:
chain_insert_mode
- (Computed) - String - ChainInsertMode controls whether Felix inserts rules to the top of iptables chains, or
appends to the bottom. Leaving the default option is safest to prevent accidentally
breaking connectivity. Default: 'insert' (other options: 'append').cpu_request
- (Computed) - Quantity - CPURequest CPU request of Canal container. Default: 100m.default_endpoint_to_host_action
- (Computed) - String - DefaultEndpointToHostAction allows users to configure the default behaviour
for traffic between pod to host after calico rules have been processed.
Default: ACCEPT (other options: DROP, RETURN).flanneld_iptables_forward_rules
- (Computed) - Bool - FlanneldIptablesForwardRules configures Flannel to add the
default ACCEPT traffic rules to the iptables FORWARD chain. (default: true).iptables_backend
- (Computed) - String - IptablesBackend controls which variant of iptables binary Felix uses
Default: Auto (other options: Legacy, NFT).log_severity_sys
- (Computed) - String - LogSeveritySys the severity to set for logs which are sent to syslog
Default: INFO (other options: DEBUG, WARNING, ERROR, CRITICAL, NONE).mtu
- (Computed) - Int - MTU to be set in the cni-network-config (default: 1500).prometheus_go_metrics_enabled
- (Computed) - Bool - PrometheusGoMetricsEnabled enables Prometheus Go runtime metrics collection.prometheus_metrics_enabled
- (Computed) - Bool - PrometheusMetricsEnabled can be set to enable the experimental Prometheus
metrics server (default: false).prometheus_metrics_port
- (Computed) - Int - PrometheusMetricsPort is the TCP port that the experimental Prometheus
metrics server should bind to (default: 9091).prometheus_process_metrics_enabled
- (Computed) - Bool - PrometheusProcessMetricsEnabled enables Prometheus process metrics collection.typha_prometheus_metrics_enabled
- (Computed) - Bool - TyphaPrometheusMetricsEnabled enables Prometheus metrics collection from Typha
(default: false).typha_prometheus_metrics_port
- (Computed) - Int - TyphaPrometheusMetricsPort is the TCP port the typha Prometheus metrics server
should bind to (default: 9093).typha_replicas
- (Computed) - Int - TyphaReplicas is the number of replicas of Typha to deploy.
KuberouterNetworkingSpec declares that we want Kube-router networking.
This resource has no attributes.
RomanaNetworkingSpec declares that we want Romana networking
Romana is deprecated as of kOps 1.18 and removed as of kOps 1.19.
The following arguments are supported:
daemon_service_ip
- (Computed) - String - DaemonServiceIP is the Kubernetes Service IP for the romana-daemon pod.etcd_service_ip
- (Computed) - String - EtcdServiceIP is the Kubernetes Service IP for the etcd backend used by Romana.
AmazonVPCNetworkingSpec declares that we want Amazon VPC CNI networking.
The following arguments are supported:
image
- (Computed) - String - Image is the container image name to use.init_image
- (Computed) - String - InitImage is the init container image name to use.env
- (Computed) - List(env_var) - Env is a list of environment variables to set in the container.
CiliumNetworkingSpec declares that we want Cilium networking.
The following arguments are supported:
version
- (Computed) - String - Version is the version of the Cilium agent and the Cilium Operator.memory_request
- (Computed) - Quantity - MemoryRequest memory request of Cilium agent + operator container. (default: 128Mi).cpu_request
- (Computed) - Quantity - CPURequest CPU request of Cilium agent + operator container. (default: 25m).agent_prometheus_port
- (Computed) - Int - AgentPrometheusPort is the port to listen to for Prometheus metrics.
Defaults to 9090.metrics
- (Computed) - List(String) - Metrics is a list of metrics to add or remove from the default list of metrics the agent exposes.chaining_mode
- (Computed) - String - ChainingMode allows using Cilium in combination with other CNI plugins.
With Cilium CNI chaining, the base network connectivity and IP address management is managed
by the non-Cilium CNI plugin, but Cilium attaches eBPF programs to the network devices created
by the non-Cilium plugin to provide L3/L4 network visibility, policy enforcement and other advanced features.
Default: none.debug
- (Computed) - Bool - Debug runs Cilium in debug mode.disable_endpoint_crd
- (Computed) - Bool - DisableEndpointCRD disables usage of CiliumEndpoint CRD.
Default: false.enable_policy
- (Computed) - String - EnablePolicy specifies the policy enforcement mode.
"default": Follows Kubernetes policy enforcement.
"always": Cilium restricts all traffic if no policy is in place.
"never": Cilium allows all traffic regardless of policies in place.
If unspecified, "default" policy mode will be used.enable_l7_proxy
- (Computed) - Bool - EnableL7Proxy enables L7 proxy for L7 policy enforcement.
Default: true.enable_bpf_masquerade
- (Computed) - Bool - EnableBPFMasquerade enables masquerading packets from endpoints leaving the host with BPF instead of iptables.
Default: false.enable_endpoint_health_checking
- (Computed) - Bool - EnableEndpointHealthChecking enables connectivity health checking between virtual endpoints.
Default: true.enable_prometheus_metrics
- (Computed) - Bool - EnablePrometheusMetrics enables the Cilium "/metrics" endpoint for both the agent and the operator.enable_encryption
- (Computed) - Bool - EnableEncryption enables Cilium Encryption.
Default: false.encryption_type
- (Computed) - String - EncryptionType specifies Cilium Encryption method ("ipsec", "wireguard").
Default: ipsec.identity_allocation_mode
- (Computed) - String - IdentityAllocationMode specifies in which backend identities are stored ("crd", "kvstore").
Default: crd.identity_change_grace_period
- (Computed) - String - IdentityChangeGracePeriod specifies the duration to wait before using a changed identity.
Default: 5s.masquerade
- (Computed) - Bool - Masquerade enables masquerading IPv4 traffic to external destinations behind the node IP.
Default: false if IPAM is "eni" or in IPv6 mode, otherwise true.agent_pod_annotations
- (Computed) - Map(String) - AgentPodAnnotations makes possible to add additional annotations to cilium agent.
Default: none.operator_pod_annotations
- (Computed) - Map(String) - OperatorPodAnnotations makes possible to add additional annotations to cilium operator.
Default: none.tunnel
- (Computed) - String - Tunnel specifies the Cilium tunnelling mode. Possible values are "vxlan", "geneve", or "disabled".
Default: vxlan.monitor_aggregation
- (Computed) - String - MonitorAggregation sets the level of packet monitoring. Possible values are "low", "medium", or "maximum".
Default: medium.bpfct_global_tcp_max
- (Computed) - Int - BPFCTGlobalTCPMax is the maximum number of entries in the TCP CT table.
Default: 524288.bpfct_global_any_max
- (Computed) - Int - BPFCTGlobalAnyMax is the maximum number of entries in the non-TCP CT table.
Default: 262144.bpflb_algorithm
- (Computed) - String - BPFLBAlgorithm is the load balancing algorithm ("random", "maglev").
Default: random.bpflb_maglev_table_size
- (Computed) - String - BPFLBMaglevTableSize is the per service backend table size when going with Maglev (parameter M).
Default: 16381.bpfnat_global_max
- (Computed) - Int - BPFNATGlobalMax is the the maximum number of entries in the BPF NAT table.
Default: 524288.bpf_neigh_global_max
- (Computed) - Int - BPFNeighGlobalMax is the the maximum number of entries in the BPF Neighbor table.
Default: 524288.bpf_policy_map_max
- (Computed) - Int - BPFPolicyMapMax is the maximum number of entries in endpoint policy map.
Default: 16384.bpflb_map_max
- (Computed) - Int - BPFLBMapMax is the maximum number of entries in bpf lb service, backend and affinity maps.
Default: 65536.bpflb_sock_host_ns_only
- (Computed) - Bool - BPFLBSockHostNSOnly enables skipping socket LB for services when inside a pod namespace,
in favor of service LB at the pod interface. Socket LB is still used when in the host namespace.
Required by service mesh (e.g., Istio, Linkerd).
Default: false.preallocate_bpf_maps
- (Computed) - Bool - PreallocateBPFMaps reduces the per-packet latency at the expense of up-front memory allocation.
Default: true.sidecar_istio_proxy_image
- (Computed) - String - SidecarIstioProxyImage is the regular expression matching compatible Istio sidecar istio-proxy
container image names.
Default: cilium/istio_proxy.cluster_name
- (Computed) - String - ClusterName is the name of the cluster. It is only relevant when building a mesh of clusters.to_fqdns_dns_reject_response_code
- (Computed) - String - ToFQDNsDNSRejectResponseCode sets the DNS response code for rejecting DNS requests.
Possible values are "nameError" or "refused".
Default: refused.to_fqdns_enable_poller
- (Computed) - Bool - ToFQDNsEnablePoller replaces the DNS proxy-based implementation of FQDN policies
with the less powerful legacy implementation.
Default: false.ipam
- (Computed) - String - IPAM specifies the IP address allocation mode to use.
Possible values are "crd" and "eni".
"eni" will use AWS native networking for pods. Eni requires masquerade to be set to false.
"crd" will use CRDs for controlling IP address management.
"hostscope" will use hostscope IPAM mode.
"kubernetes" will use addersing based on node pod CIDR.
Default: "kubernetes".install_iptables_rules
- (Computed) - Bool - InstallIptablesRules enables installing the base IPTables rules used for masquerading and kube-proxy.
Default: true.auto_direct_node_routes
- (Computed) - Bool - AutoDirectNodeRoutes adds automatic L2 routing between nodes.
Default: false.enable_host_reachable_services
- (Computed) - Bool - EnableHostReachableServices configures Cilium to enable services to be
reached from the host namespace in addition to pod namespaces.
https://docs.cilium.io/en/v1.9/gettingstarted/host-services/
Default: false.enable_node_port
- (Computed) - Bool - EnableNodePort replaces kube-proxy with Cilium's BPF implementation.
Requires spec.kubeProxy.enabled be set to false.
Default: false.etcd_managed
- (Computed) - Bool - EtcdManagd installs an additional etcd cluster that is used for Cilium state change.
The cluster is operated by cilium-etcd-operator.
Default: false.enable_remote_node_identity
- (Computed) - Bool - EnableRemoteNodeIdentity enables the remote-node-identity.
Default: true.hubble
- (Computed) - hubble_spec - Hubble configures the Hubble service on the Cilium agent.disable_cnp_status_updates
- (Computed) - Bool - DisableCNPStatusUpdates determines if CNP NodeStatus updates will be sent to the Kubernetes api-server.enable_service_topology
- (Computed) - Bool - EnableServiceTopology determine if cilium should use topology aware hints.
HubbleSpec configures the Hubble service on the Cilium agent.
The following arguments are supported:
enabled
- (Computed) - Bool - Enabled decides if Hubble is enabled on the agent or not.metrics
- (Computed) - List(String) - Metrics is a list of metrics to collect. If empty or null, metrics are disabled.
See https://docs.cilium.io/en/stable/configuration/metrics/#hubble-exported-metrics.
LyftVPCNetworkingSpec declares that we want to use the cni-ipvlan-vpc-k8s CNI networking.
Lyft VPC is deprecated as of kOps 1.22 and removed as of kOps 1.23.
The following arguments are supported:
subnet_tags
- (Computed) - Map(String)
GCENetworkingSpec is the specification of GCE's native networking mode, using IP aliases.
This resource has no attributes.
APISpec provides configuration details related to the Kubernetes API.
The following arguments are supported:
dns
- (Computed) - dns_access_spec - DNS will be used to provide configuration for the Kubernetes API's DNS server.load_balancer
- (Computed) - load_balancer_access_spec - LoadBalancer is the configuration for the Kubernetes API load balancer.public_name
- (Computed) - String - PublicName is the external DNS name for the Kubernetes API.additional_sans
- (Computed) - List(String) - AdditionalSANs adds additional Subject Alternate Names to the Kubernetes API certificate.access
- (Computed) - List(String) - Access is a list of the CIDRs that can access the Kubernetes API endpoint.
This resource has no attributes.
LoadBalancerAccessSpec provides configuration details related to API LoadBalancer and its access.
The following arguments are supported:
class
- (Computed) - String - LoadBalancerClass specifies the class of load balancer to create: Classic, Network.type
- (Computed) - String - Type of load balancer to create may Public or Internal.idle_timeout_seconds
- (Computed) - Int - IdleTimeoutSeconds sets the timeout of the api loadbalancer.security_group_override
- (Computed) - String - SecurityGroupOverride overrides the default Kops created SG for the load balancer.additional_security_groups
- (Computed) - List(String) - AdditionalSecurityGroups attaches additional security groups (e.g. sg-123456).use_for_internal_api
- (Computed) - Bool - UseForInternalAPI indicates whether the LB should be used by the kubelet.ssl_certificate
- (Computed) - String - SSLCertificate allows you to specify the ACM cert to be used the LB.ssl_policy
- (Computed) - String - SSLPolicy allows you to overwrite the LB listener's Security Policy.cross_zone_load_balancing
- (Computed) - Bool - CrossZoneLoadBalancing allows you to enable the cross zone load balancing.subnets
- (Computed) - List(load_balancer_subnet_spec) - Subnets allows you to specify the subnets that must be used for the load balancer.access_log
- (Computed) - access_log_spec - AccessLog is the configuration of access logs.
LoadBalancerSubnetSpec provides configuration for subnets used for a load balancer.
The following arguments are supported:
name
- (Computed) - String - Name specifies the name of the cluster subnet.private_ipv4_address
- (Computed) - String - PrivateIPv4Address specifies the private IPv4 address to use for a NLB.allocation_id
- (Computed) - String - AllocationID specifies the Elastic IP Allocation ID for use by a NLB.
The following arguments are supported:
interval
- (Computed) - Int - Interval is the publishing interval in minutes. This parameter is only used with classic load balancer.bucket
- (Computed) - String - Bucket is the S3 bucket name to store the logs in.bucket_prefix
- (Computed) - String - BucketPrefix is the S3 bucket prefix. Logs are stored in the root if not configured.
The following arguments are supported:
kopeio
- (Computed) - kopeio_authentication_specaws
- (Computed) - aws_authentication_spec
This resource has no attributes.
The following arguments are supported:
image
- (Computed) - String - Image is the AWS IAM Authenticator docker image to use.backend_mode
- (Computed) - String - BackendMode is the AWS IAM Authenticator backend to use. Default MountedFile.cluster_id
- (Computed) - String - ClusterID identifies the cluster performing authentication to prevent certain replay attacks. Default master public DNS name.memory_request
- (Computed) - Quantity - MemoryRequest memory request of AWS IAM Authenticator container. Default 20Mi.cpu_request
- (Computed) - Quantity - CPURequest CPU request of AWS IAM Authenticator container. Default 10m.memory_limit
- (Computed) - Quantity - MemoryLimit memory limit of AWS IAM Authenticator container. Default 20Mi.cpu_limit
- (Computed) - Quantity - CPULimit CPU limit of AWS IAM Authenticator container. Default 10m.identity_mappings
- (Computed) - List(aws_authentication_identity_mapping_spec) - IdentityMappings maps IAM Identities to Kubernetes users/groups.
The following arguments are supported:
arn
- (Computed) - String - Arn of the IAM User or IAM Role to be allowed to authenticate.username
- (Computed) - String - Username that Kubernetes will see the user as.groups
- (Computed) - List(String) - Groups to be attached to your users/roles.
The following arguments are supported:
always_allow
- (Computed) - always_allow_authorization_specrbac
- (Computed) - rbac_authorization_spec
This resource has no attributes.
This resource has no attributes.
NodeAuthorizationSpec is used to node authorization.
The following arguments are supported:
node_authorizer
- (Computed) - node_authorizer_spec - NodeAuthorizer defined the configuration for the node authorizer.
NodeAuthorizerSpec defines the configuration for a node authorizer.
The following arguments are supported:
authorizer
- (Computed) - String - Authorizer is the authorizer to use.features
- (Computed) - List(String) - Features is a series of authorizer features to enable or disable.image
- (Computed) - String - Image is the location of container.node_url
- (Computed) - String - NodeURL is the node authorization service url.port
- (Computed) - Int - Port is the port the service is running on the master.interval
- (Computed) - Duration - Interval the time between retires for authorization request.timeout
- (Computed) - Duration - Timeout the max time for authorization request.token_ttl
- (Computed) - Duration - TokenTTL is the max ttl for an issued token.
HookSpec is a definition hook.
The following arguments are supported:
name
- (Computed) - String - Name is an optional name for the hook, otherwise the name is kops-hook-.enabled
- (Computed) - Bool - Enabled indicates if you want the unit switched on. Default: true.roles
- (Computed) - List(String) - Roles is an optional list of roles the hook should be rolled out to, defaults to all.requires
- (Computed) - List(String) - Requires is a series of systemd units the action requires.before
- (Computed) - List(String) - Before is a series of systemd units which this hook must run before.exec_container
- (Computed) - exec_container_action - ExecContainer is the image itself.manifest
- (Computed) - String - Manifest is a raw systemd unit file.use_raw_manifest
- (Computed) - Bool - UseRawManifest indicates that the contents of Manifest should be used as the contents
of the systemd unit, unmodified. Before and Requires are ignored when used together
with this value (and validation shouldn't allow them to be set).
ExecContainerAction defines an hood action.
The following arguments are supported:
image
- (Computed) - String - Image is the docker image.command
- (Computed) - List(String) - Command is the command supplied to the above image.environment
- (Computed) - Map(String) - Environment is a map of environment variables added to the hook.
Assets defines the privately hosted assets.
The following arguments are supported:
container_registry
- (Computed) - String - ContainerRegistry is a url for to a docker registry.file_repository
- (Computed) - String - FileRepository is the url for a private file serving repository.container_proxy
- (Computed) - String - ContainerProxy is a url for a pull-through proxy of a docker registry.
IAMSpec adds control over the IAM security policies applied to resources.
The following arguments are supported:
legacy
- (Computed) - Boolallow_container_registry
- (Computed) - Boolpermissions_boundary
- (Computed) - Stringuse_service_account_external_permissions
- (Computed) - Bool - UseServiceAccountExternalPermissions determines if managed ServiceAccounts will use external permissions directly.
If this is set to false, ServiceAccounts will assume external permissions from the instances they run on.service_account_external_permissions
- (Computed) - List(service_account_external_permission) - ServiceAccountExternalPermissions defines the relationship between Kubernetes ServiceAccounts and permissions with external resources.
ServiceAccountExternalPermissions grants a ServiceAccount permissions to external resources.
The following arguments are supported:
name
- (Computed) - String - Name is the name of the Kubernetes ServiceAccount.namespace
- (Computed) - String - Namespace is the namespace of the Kubernetes ServiceAccount.aws
- (Computed) - aws_permission - AWS grants permissions to AWS resources.
AWSPermission grants permissions to AWS resources.
The following arguments are supported:
policy_ar_ns
- (Computed) - List(String) - PolicyARNs is a list of existing IAM Policies.inline_policy
- (Computed) - String - InlinePolicy is an IAM Policy that will be attached inline to the IAM Role.
The following arguments are supported:
drain_and_terminate
- (Computed) - Bool - DrainAndTerminate enables draining and terminating nodes during rolling updates.
Defaults to true.max_unavailable
- (Computed) - IntOrString - MaxUnavailable is the maximum number of nodes that can be unavailable during the update.
The value can be an absolute number (for example 5) or a percentage of desired
nodes (for example 10%).
The absolute number is calculated from a percentage by rounding down.
Defaults to 1 if MaxSurge is 0, otherwise defaults to 0.
Example: when this is set to 30%, the InstanceGroup can be scaled
down to 70% of desired nodes immediately when the rolling update
starts. Once new nodes are ready, more old nodes can be drained,
ensuring that the total number of nodes available at all times
during the update is at least 70% of desired nodes.
+optional.max_surge
- (Computed) - IntOrString - MaxSurge is the maximum number of extra nodes that can be created
during the update.
The value can be an absolute number (for example 5) or a percentage of
desired machines (for example 10%).
The absolute number is calculated from a percentage by rounding up.
Has no effect on instance groups with role "Master".
Defaults to 1 on AWS, 0 otherwise.
Example: when this is set to 30%, the InstanceGroup can be scaled
up immediately when the rolling update starts, such that the total
number of old and new nodes do not exceed 130% of desired
nodes.
+optional.
ClusterAutoscalerConfig determines the cluster autoscaler configuration.
The following arguments are supported:
enabled
- (Computed) - Bool - Enabled enables the cluster autoscaler.
Default: false.expander
- (Computed) - String - Expander determines the strategy for which instance group gets expanded.
Supported values: least-waste, most-pods, random, price, priority.
The price expander is only supported on GCE.
By default, kOps will generate the priority expander ConfigMap based on theautoscale
andautoscalePriority
fields in the InstanceGroup specs.
Default: least-waste.balance_similar_node_groups
- (Computed) - Bool - BalanceSimilarNodeGroups makes cluster autoscaler treat similar node groups as one.
Default: false.aws_use_static_instance_list
- (Computed) - Bool - AWSUseStaticInstanceList makes cluster autoscaler to use statically defined set of AWS EC2 Instance List.
Default: false.scale_down_utilization_threshold
- (Computed) - String - ScaleDownUtilizationThreshold determines the utilization threshold for node scale-down.
Default: 0.5.skip_nodes_with_system_pods
- (Computed) - Bool - SkipNodesWithSystemPods makes cluster autoscaler skip scale-down of nodes with non-DaemonSet pods in the kube-system namespace.
Default: true.skip_nodes_with_local_storage
- (Computed) - Bool - SkipNodesWithLocalStorage makes cluster autoscaler skip scale-down of nodes with local storage.
Default: true.new_pod_scale_up_delay
- (Computed) - String - NewPodScaleUpDelay causes cluster autoscaler to ignore unschedulable pods until they are a certain "age", regardless of the scan-interval
Default: 0s.scale_down_delay_after_add
- (Computed) - String - ScaleDownDelayAfterAdd determines the time after scale up that scale down evaluation resumes
Default: 10m0s.scale_down_unneeded_time
- (Computed) - String - scaleDownUnneededTime determines the time a node should be unneeded before it is eligible for scale down
Default: 10m0s.scale_down_unready_time
- (Computed) - String - ScaleDownUnreadyTime determines the time an unready node should be unneeded before it is eligible for scale down
Default: 20m0s.cordon_node_before_terminating
- (Computed) - Bool - CordonNodeBeforeTerminating should CA cordon nodes before terminating during downscale process
Default: false.image
- (Computed) - String - Image is the docker container used.
Default: the latest supported image for the specified kubernetes version.memory_request
- (Computed) - Quantity - MemoryRequest of cluster autoscaler container.
Default: 300Mi.cpu_request
- (Computed) - Quantity - CPURequest of cluster autoscaler container.
Default: 100m.max_node_provision_time
- (Computed) - String - MaxNodeProvisionTime determines how long CAS will wait for a node to join the cluster.pod_annotations
- (Computed) - Map(String) - PodAnnotations are the annotations added to cluster autoscaler pods when they are created.
Default: none.create_priority_expender_config
- (Computed) - Bool - CreatePriorityExpenderConfig makes kOps create the priority-expander ConfigMap
Default: true.custom_priority_expander_config
- (Computed) - Map(List(String)) - CustomPriorityExpanderConfig overides the priority-expander ConfigMap with the provided configuration. Any InstanceGroup configuration will be ignored if this is set.
This could be useful in order to use regex on priorities configuration.
ServiceAccountIssuerDiscoveryConfig configures an OIDC Issuer.
The following arguments are supported:
discovery_store
- (Computed) - String - DiscoveryStore is the VFS path to where OIDC Issuer Discovery metadata is stored.enable_aws_oidc_provider
- (Computed) - Bool - EnableAWSOIDCProvider will provision an AWS OIDC provider that trusts the ServiceAccount Issuer.additional_audiences
- (Computed) - List(String) - AdditionalAudiences adds user defined audiences to the provisioned AWS OIDC provider.
SnapshotControllerConfig is the config for the CSI Snapshot Controller.
The following arguments are supported:
enabled
- (Computed) - Bool - Enabled enables the CSI Snapshot Controller.install_default_class
- (Computed) - Bool - InstallDefaultClass will install the default VolumeSnapshotClass.
The following arguments are supported:
enabled
- (Computed) - Bool
ClusterSecrets defines cluster secrets.
The following arguments are supported:
docker_config
- (Sensitive) - (Computed) - String - DockerConfig holds a valid docker config.
After creating a dockerconfig secret, a /root/.docker/config.json file will be added to newly created nodes.
This file will be used by Kubernetes to authenticate to container registries and will also work when using containerd as container runtime.cluster_ca_cert
- (Sensitive) - (Computed) - Stringcluster_ca_key
- (Sensitive) - (Computed) - String