File tree Expand file tree Collapse file tree 6 files changed +44
-230
lines changed
ci/deploy-logging-dependencies
tests/kuttl/suites/logging/tests Expand file tree Collapse file tree 6 files changed +44
-230
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1- apiVersion : logging .openshift.io/v1
1+ apiVersion : observability .openshift.io/v1
22kind : ClusterLogForwarder
33metadata :
4- name : instance
4+ name : collector
55 namespace : openshift-logging
66spec :
7+ serviceAccount :
8+ name : collector
79 inputs :
8- - name : syslog
9- receiver :
10- type : syslog
11- syslog :
10+ - name : syslog-receiver
11+ type : receiver
12+ receiver :
13+ type : syslog
1214 port : 10514
15+ outputs :
16+ - name : default-lokistack
17+ type : lokiStack
18+ lokiStack :
19+ authentication :
20+ token :
21+ from : serviceAccount
22+ target :
23+ name : logging-loki
24+ namespace : openshift-logging
25+ tls :
26+ ca :
27+ key : service-ca.crt
28+ configMapName : openshift-service-ca.crt
1329 pipelines :
14- - name : to-default
15- inputRefs :
16- - syslog
17- - application
18- outputRefs :
19- - default
30+ - name : my-syslog
31+ inputRefs :
32+ - syslog-receiver
33+ outputRefs :
34+ - default-lokistack
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -31,11 +31,23 @@ spec:
3131---
3232apiVersion : operators.coreos.com/v1alpha1
3333kind : Subscription
34+ metadata :
35+ name : cluster-observability-operator
36+ namespace : openshift-operators
37+ spec :
38+ channel : development
39+ installPlanApproval : Automatic
40+ name : cluster-observability-operator
41+ source : redhat-operators
42+ sourceNamespace : openshift-marketplace
43+ ---
44+ apiVersion : operators.coreos.com/v1alpha1
45+ kind : Subscription
3446metadata :
3547 name : loki-operator
3648 namespace : openshift-operators-redhat
3749spec :
38- channel : stable-5.9
50+ channel : stable-6.1
3951 installPlanApproval : Automatic
4052 name : loki-operator
4153 source : redhat-operators
@@ -47,7 +59,7 @@ metadata:
4759 name : cluster-logging
4860 namespace : openshift-logging
4961spec :
50- channel : stable-5.9
62+ channel : stable-6.1
5163 installPlanApproval : Automatic
5264 name : cluster-logging
5365 source : redhat-operators
Original file line number Diff line number Diff line change 1- - name : Create cluster logging
2- ansible.builtin.shell :
3- cmd : |
4- oc apply -f {{ role_path }}/files/cluster_logging.yaml -n openshift-logging
5-
6- - name : Wait for cluster logging to be created
7- ansible.builtin.command :
8- cmd :
9- oc get clusterlogging --namespace=openshift-logging instance
10- delay : 10
11- retries : 20
12- register : output
13- until : output.stdout_lines | length != 0
14-
15- - name : Wait for the cluster logging to be ready
16- ansible.builtin.command :
17- cmd : |
18- oc wait --timeout=300s --for condition=Ready=True --namespace=openshift-logging clusterlogging instance
19-
201- name : Create cluster log forwarder
212 ansible.builtin.shell :
223 cmd : |
Original file line number Diff line number Diff line change 1212 protocol : TCP
1313 targetPort : 10514
1414 selector :
15- app.kubernetes.io/instance : collector
16- component : collector
17- provider : openshift
15+ app.kubernetes.io/component : collector
16+ app.kubernetes.io/name : vector
17+ app.kubernetes.io/part-of : cluster-logging
1818 type : LoadBalancer
1919
2020---
You can’t perform that action at this time.
0 commit comments