blob: 8d43edeb6af6b74161b4e92ec586d5e97b78fbb1 [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: OAPServer
metadata:
name: skywalking-system
namespace: skywalking-system
spec:
version: 8.8.1
instances: 1
image: ghcr.io/apache/skywalking/oap:46ae1cfe1ea137577a6d191f4bda39ea82feb2ac
service:
template:
type: ClusterIP
---
apiVersion: operator.skywalking.apache.org/v1alpha1
kind: UI
metadata:
name: skywalking-system
namespace: skywalking-system
spec:
version: 8.8.1
instances: 1
image: ghcr.io/apache/skywalking/ui:46ae1cfe1ea137577a6d191f4bda39ea82feb2ac
OAPServerAddress: http://skywalking-system-oap.skywalking-system:12800
service:
template:
type: ClusterIP
ingress:
host: demo.ui.skywalking
---
apiVersion: v1
data:
agent.config: |-
# The service name in UI
agent.service_name=${SW_AGENT_NAME:Your_ApplicationName}
# Backend service addresses.
collector.backend_service=${SW_AGENT_COLLECTOR_BACKEND_SERVICES:oap:11800}
logging.level=debug
logging.output=CONSOLE
# Please refer to https://skywalking.apache.org/docs/skywalking-java/latest/en/setup/service-agent/java-agent/configurations/#table-of-agent-configuration-properties to get more details.
kind: ConfigMap
metadata:
name: java-agent-config
namespace: skywalking-system
---
apiVersion: operator.skywalking.apache.org/v1alpha1
kind: SwAgent
metadata:
name: swagent-001
namespace: skywalking-system
spec:
containerMatcher: ''
selector:
javaSidecar:
name: swagent-001
image: ghcr.io/apache/skywalking-java/skywalking-java:438d2954232ee7b996ca0a7d961eddcd2da0c5e6-java8
env:
- name: "SW_LOGGING_LEVEL"
value: "DEBUG"
- name: "SW_AGENT_COLLECTOR_BACKEND_SERVICES"
value: "skywalking-system-oap.skywalking-system.svc:11800"
sharedVolumeName: "sky-agent-test-001"
swConfigMapVolume:
name: "java-agent-configmap-test-001-volume"
configMapName: "java-agent-config"
configMapMountFile: "agent.config"
optionalPlugins:
- "webflux"
- "cloud-gateway-2.1.x"