deploy/platform/kubernetes/templates/feature-agent/resources.yaml [142:168]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
          {{- end }}
          imagePullPolicy: IfNotPresent
          ports:
            - containerPort: 80
          # @feature: agent; set env to configure java agent, If we use injector, we don't need to set env, only need to configure java agent through annotation
          env:
            - name: SW_AGENT_NAME
              value: agent::songs
            - name: SW_AGENT_COLLECTOR_BACKEND_SERVICES
              value: {{ template "skywalking.collector.address" . }}
            - name: ACTIVE_MQ_URL
              value: tcp://activemq:61616
            - name: ACTIVE_MQ_QUEUE
              value: queue-songs-ping
            {{- if  .Values.features.postgresqlMonitor.enabled }}
            - name: DATA_SOURCE_URL
              value: jdbc:postgresql://psql.{{ .Release.Namespace }}.svc.cluster.local:5432/postgres
            - name: DATA_SOURCE_USER
              value: postgres
            - name: DATA_SOURCE_PASSWORD
              value: password
            {{- end }}
---
apiVersion: v1
kind: Service
metadata:
  name: rcmd
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



deploy/platform/kubernetes/templates/feature-ciilum/resources.yaml [138:164]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
          {{- end }}
          imagePullPolicy: IfNotPresent
          ports:
            - containerPort: 80
          # @feature: agent; set env to configure java agent, If we use injector, we don't need to set env, only need to configure java agent through annotation
          env:
            - name: SW_AGENT_NAME
              value: agent::songs
            - name: SW_AGENT_COLLECTOR_BACKEND_SERVICES
              value: {{ template "skywalking.collector.address" . }}
            - name: ACTIVE_MQ_URL
              value: tcp://activemq:61616
            - name: ACTIVE_MQ_QUEUE
              value: queue-songs-ping
            {{- if  .Values.features.postgresqlMonitor.enabled }}
            - name: DATA_SOURCE_URL
              value: jdbc:postgresql://psql.{{ .Release.Namespace }}.svc.cluster.local:5432/postgres
            - name: DATA_SOURCE_USER
              value: postgres
            - name: DATA_SOURCE_PASSWORD
              value: password
            {{- end }}
---
apiVersion: v1
kind: Service
metadata:
  name: rcmd
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



