blob: edab9d033f1b0d5003cf7294396763eac7a7997e [file] [log] [blame]
# Licensed to Apache Software Foundation (ASF) under one or more contributor
# license agreements. See the NOTICE file distributed with
# this work for additional information regarding copyright
# ownership. Apache Software Foundation (ASF) licenses this file to you under
# the Apache License, Version 2.0 (the "License"); you may
# not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing,
# software distributed under the License is distributed on an
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
# KIND, either express or implied. See the License for the
# specific language governing permissions and limitations
# under the License.
apiVersion: operator.skywalking.apache.org/v1alpha1
kind: EventExporter
metadata:
name: eventexporter-sample
spec:
replicas: 1
config: |
filters:
- reason: ""
message: ""
minCount: 1
type: ""
action: ""
kind: "Pod|Service"
namespace: "^default$"
name: ""
service: "[^\\s]{1,}"
exporters:
- skywalking
exporters:
skywalking:
template:
source:
service: "{{ .Service.Name }}"
serviceInstance: "{{ .Pod.Name }}"
endpoint: ""
message: "{{ .Event.Message }}"
address: "default-oap:11800"
---
apiVersion: operator.skywalking.apache.org/v1alpha1
kind: OAPServer
metadata:
name: default
spec:
version: 9.5.0
instances: 1
image: apache/skywalking-oap-server:9.5.0
service:
template:
type: ClusterIP