update to latest 2.26.0 kubespray version and add dns zones settings to coredns
This commit is contained in:
@@ -5,7 +5,7 @@
|
||||
state: directory
|
||||
owner: root
|
||||
group: root
|
||||
mode: 0755
|
||||
mode: "0755"
|
||||
when: inventory_hostname == groups['kube_control_plane'][0]
|
||||
tags:
|
||||
- scheduler_plugins
|
||||
@@ -14,7 +14,7 @@
|
||||
template:
|
||||
src: "{{ item.file }}.j2"
|
||||
dest: "{{ kube_config_dir }}/scheduler-plugins/{{ item.file }}"
|
||||
mode: 0644
|
||||
mode: "0644"
|
||||
with_items:
|
||||
- { name: appgroup, file: appgroup.diktyo.x-k8s.io_appgroups.yaml, type: crd }
|
||||
- { name: networktopology, file: networktopology.diktyo.x-k8s.io_networktopologies.yaml, type: crd }
|
||||
|
||||
@@ -194,4 +194,4 @@ spec:
|
||||
type: object
|
||||
type: object
|
||||
served: true
|
||||
storage: true
|
||||
storage: true
|
||||
|
||||
@@ -25,4 +25,4 @@ data:
|
||||
{% if scheduler_plugins_plugin_config is defined and scheduler_plugins_plugin_config | length != 0 %}
|
||||
pluginConfig:
|
||||
{{ scheduler_plugins_plugin_config | to_nice_yaml(indent=2, width=256) | indent(6, true) }}
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
|
||||
@@ -71,4 +71,4 @@ spec:
|
||||
volumes:
|
||||
- name: scheduler-config
|
||||
configMap:
|
||||
name: scheduler-config
|
||||
name: scheduler-config
|
||||
|
||||
@@ -4,4 +4,4 @@ kind: Namespace
|
||||
metadata:
|
||||
name: {{ scheduler_plugins_namespace }}
|
||||
labels:
|
||||
name: {{ scheduler_plugins_namespace }}
|
||||
name: {{ scheduler_plugins_namespace }}
|
||||
|
||||
@@ -145,4 +145,4 @@ spec:
|
||||
type: object
|
||||
type: object
|
||||
served: true
|
||||
storage: true
|
||||
storage: true
|
||||
|
||||
@@ -137,4 +137,4 @@ subjects:
|
||||
namespace: {{ scheduler_plugins_namespace }}
|
||||
- kind: ServiceAccount
|
||||
name: scheduler-plugins-controller
|
||||
namespace: {{ scheduler_plugins_namespace }}
|
||||
namespace: {{ scheduler_plugins_namespace }}
|
||||
|
||||
@@ -8,4 +8,4 @@ apiVersion: v1
|
||||
kind: ServiceAccount
|
||||
metadata:
|
||||
name: scheduler-plugins-controller
|
||||
namespace: {{ scheduler_plugins_namespace }}
|
||||
namespace: {{ scheduler_plugins_namespace }}
|
||||
|
||||
@@ -79,4 +79,4 @@ spec:
|
||||
served: true
|
||||
storage: true
|
||||
subresources:
|
||||
status: {}
|
||||
status: {}
|
||||
|
||||
@@ -94,4 +94,4 @@ spec:
|
||||
served: true
|
||||
storage: true
|
||||
subresources:
|
||||
status: {}
|
||||
status: {}
|
||||
|
||||
@@ -150,4 +150,4 @@ spec:
|
||||
- zones
|
||||
type: object
|
||||
served: true
|
||||
storage: true
|
||||
storage: true
|
||||
|
||||
Reference in New Issue
Block a user