-
Notifications
You must be signed in to change notification settings - Fork 6.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(cni): add preflight role support for custom_cni
- Loading branch information
Showing
18 changed files
with
67 additions
and
58 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,54 @@ | ||
--- | ||
# Limits for coredns | ||
|
||
# uncomment the line below to customize the DNS cpu limit value | ||
# dns_cpu_limit: 300m | ||
dns_memory_limit: 300Mi | ||
dns_cpu_requests: 100m | ||
dns_memory_requests: 70Mi | ||
dns_min_replicas: "{{ [2, groups['k8s_cluster'] | length] | min }}" | ||
dns_nodes_per_replica: 16 | ||
dns_cores_per_replica: 256 | ||
dns_prevent_single_point_failure: "{{ 'true' if dns_min_replicas | int > 1 else 'false' }}" | ||
enable_coredns_reverse_dns_lookups: true | ||
coredns_ordinal_suffix: "" | ||
# dns_extra_tolerations: [{effect: NoSchedule, operator: "Exists"}] | ||
coredns_deployment_nodeselector: "kubernetes.io/os: linux" | ||
coredns_default_zone_cache_block: | | ||
cache 30 | ||
coredns_pod_disruption_budget: false | ||
# value for coredns pdb | ||
coredns_pod_disruption_budget_max_unavailable: "30%" | ||
|
||
# coredns_additional_configs adds any extra configuration to coredns | ||
# coredns_additional_configs: | | ||
# whoami | ||
# local | ||
|
||
# coredns_rewrite_block: | | ||
# rewrite stop { | ||
# name regex (.*)\.my\.domain {1}.svc.cluster.local | ||
# answer name (.*)\.svc\.cluster\.local {1}.my.domain | ||
# } | ||
|
||
# coredns_additional_error_config: | | ||
# consolidate 5m ".* i/o timeout$" warning | ||
|
||
# Configure coredns and nodelocaldns to correctly answer DNS queries when you changed | ||
# your 'dns_domain' and some workloads used it directly. | ||
old_dns_domains: [] | ||
|
||
# dns_upstream_forward_extra_opts apply to coredns forward section as well as nodelocaldns upstream target forward section | ||
# dns_upstream_forward_extra_opts: | ||
# policy: sequential | ||
|
||
# Apply extra options to coredns kubernetes plugin | ||
# coredns_kubernetes_extra_opts: | ||
# - 'fallthrough example.local' | ||
|
||
# Limits for dns-autoscaler | ||
dns_autoscaler_cpu_requests: 20m | ||
dns_autoscaler_memory_requests: 10Mi | ||
dns_autoscaler_deployment_nodeselector: "kubernetes.io/os: linux" | ||
# dns_autoscaler_extra_tolerations: [{effect: NoSchedule, operator: "Exists"}] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,6 @@ | ||
--- | ||
|
||
custom_cni_preflight_roles: [] | ||
custom_cni_preflight_templates: [] | ||
|
||
custom_cni_manifests: [] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters