d279d145d5
* Use kubectl apply instead of create/replace Disable checks for existing resources to speed up execution. * Fix non-rbac deployment of resources as a list * Fix autoscaler tolerations field * set all kube resources to state=latest * Update netchecker and weave
34 lines
1,014 B
YAML
34 lines
1,014 B
YAML
---
|
|
- name: "Kibana | Write Kibana deployment"
|
|
template:
|
|
src: kibana-deployment.yml.j2
|
|
dest: "{{ kube_config_dir }}/kibana-deployment.yaml"
|
|
register: kibana_deployment_manifest
|
|
|
|
- name: "Kibana | Create Kibana deployment"
|
|
kube:
|
|
filename: "{{kube_config_dir}}/kibana-deployment.yaml"
|
|
kubectl: "{{bin_dir}}/kubectl"
|
|
name: "kibana-logging"
|
|
namespace: "{{system_namespace}}"
|
|
resource: "deployment"
|
|
state: "latest"
|
|
with_items: "{{ kibana_deployment_manifest.changed }}"
|
|
run_once: true
|
|
|
|
- name: "Kibana | Write Kibana service "
|
|
template:
|
|
src: kibana-service.yml.j2
|
|
dest: "{{ kube_config_dir }}/kibana-service.yaml"
|
|
register: kibana_service_manifest
|
|
|
|
- name: "Kibana | Create Kibana service"
|
|
kube:
|
|
filename: "{{kube_config_dir}}/kibana-service.yaml"
|
|
kubectl: "{{bin_dir}}/kubectl"
|
|
name: "kibana-logging"
|
|
namespace: "{{system_namespace}}"
|
|
resource: "svc"
|
|
state: "latest"
|
|
with_items: "{{ kibana_service_manifest.changed }}"
|
|
run_once: true
|