k8s-sig-cluster-lifecycleawskubesprayhigh-availabilityansiblekubernetes-clustergcekubernetesbare-metal
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
34 lines
1.1 KiB
34 lines
1.1 KiB
---
|
|
- 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: "{{ item | ternary('latest','present') }}"
|
|
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: "{{ item | ternary('latest','present') }}"
|
|
with_items: "{{ kibana_service_manifest.changed }}"
|
|
run_once: true
|