github.com/alibaba/sealer@v0.8.6-0.20220430115802-37a2bdaa8173/applications/skywalking/skywalking.yaml (about)

     1  ---
     2  # Source: skywalking/charts/elasticsearch/templates/poddisruptionbudget.yaml
     3  apiVersion: policy/v1beta1
     4  kind: PodDisruptionBudget
     5  metadata:
     6    name: "elasticsearch-master-pdb"
     7  spec:
     8    maxUnavailable: 1
     9    selector:
    10      matchLabels:
    11        app: "elasticsearch-master"
    12  ---
    13  # Source: skywalking/templates/oap-serviceaccount.yaml
    14  # Licensed to the Apache Software Foundation (ASF) under one or more
    15  # contributor license agreements.  See the NOTICE file distributed with
    16  # this work for additional information regarding copyright ownership.
    17  # The ASF licenses this file to You under the Apache License, Version 2.0
    18  # (the "License"); you may not use this file except in compliance with
    19  # the License.  You may obtain a copy of the License at
    20  #
    21  #     http://www.apache.org/licenses/LICENSE-2.0
    22  #
    23  # Unless required by applicable law or agreed to in writing, software
    24  # distributed under the License is distributed on an "AS IS" BASIS,
    25  # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    26  # See the License for the specific language governing permissions and
    27  # limitations under the License.
    28  
    29  apiVersion: v1
    30  kind: ServiceAccount
    31  metadata:
    32    labels:
    33      app: skywalking
    34      chart: skywalking-4.1.0
    35      component: "oap"
    36      heritage: Helm
    37      release: skywalking
    38    name: skywalking-oap
    39  ---
    40  # Source: skywalking/templates/oap-cm-override.yaml
    41  # Licensed to the Apache Software Foundation (ASF) under one or more
    42  # contributor license agreements.  See the NOTICE file distributed with
    43  # this work for additional information regarding copyright ownership.
    44  # The ASF licenses this file to You under the Apache License, Version 2.0
    45  # (the "License"); you may not use this file except in compliance with
    46  # the License.  You may obtain a copy of the License at
    47  #
    48  #     http://www.apache.org/licenses/LICENSE-2.0
    49  #
    50  # Unless required by applicable law or agreed to in writing, software
    51  # distributed under the License is distributed on an "AS IS" BASIS,
    52  # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    53  # See the License for the specific language governing permissions and
    54  # limitations under the License.
    55  apiVersion: v1
    56  kind: ConfigMap
    57  metadata:
    58    name: skywalking-oap-cm-override
    59    labels:
    60      app: skywalking
    61      release: skywalking
    62      component: oap
    63  binaryData:
    64      bWV0YWRhdGEtc2VydmljZS1tYXBwaW5nLnlhbWw-: |
    65        IyBMaWNlbnNlZCB0byB0aGUgQXBhY2hlIFNvZnR3YXJlIEZvdW5kYXRpb24gKEFTRikgdW5kZXIgb25lIG9yIG1vcmUKIyBjb250cmlidXRvciBsaWNlbnNlIGFncmVlbWVudHMuICBTZWUgdGhlIE5PVElDRSBmaWxlIGRpc3RyaWJ1dGVkIHdpdGgKIyB0aGlzIHdvcmsgZm9yIGFkZGl0aW9uYWwgaW5mb3JtYXRpb24gcmVnYXJkaW5nIGNvcHlyaWdodCBvd25lcnNoaXAuCiMgVGhlIEFTRiBsaWNlbnNlcyB0aGlzIGZpbGUgdG8gWW91IHVuZGVyIHRoZSBBcGFjaGUgTGljZW5zZSwgVmVyc2lvbiAyLjAKIyAodGhlICJMaWNlbnNlIik7IHlvdSBtYXkgbm90IHVzZSB0aGlzIGZpbGUgZXhjZXB0IGluIGNvbXBsaWFuY2Ugd2l0aAojIHRoZSBMaWNlbnNlLiAgWW91IG1heSBvYnRhaW4gYSBjb3B5IG9mIHRoZSBMaWNlbnNlIGF0CiMKIyAgICAgaHR0cDovL3d3dy5hcGFjaGUub3JnL2xpY2Vuc2VzL0xJQ0VOU0UtMi4wCiMKIyBVbmxlc3MgcmVxdWlyZWQgYnkgYXBwbGljYWJsZSBsYXcgb3IgYWdyZWVkIHRvIGluIHdyaXRpbmcsIHNvZnR3YXJlCiMgZGlzdHJpYnV0ZWQgdW5kZXIgdGhlIExpY2Vuc2UgaXMgZGlzdHJpYnV0ZWQgb24gYW4gIkFTIElTIiBCQVNJUywKIyBXSVRIT1VUIFdBUlJBTlRJRVMgT1IgQ09ORElUSU9OUyBPRiBBTlkgS0lORCwgZWl0aGVyIGV4cHJlc3Mgb3IgaW1wbGllZC4KIyBTZWUgdGhlIExpY2Vuc2UgZm9yIHRoZSBzcGVjaWZpYyBsYW5ndWFnZSBnb3Zlcm5pbmcgcGVybWlzc2lvbnMgYW5kCiMgbGltaXRhdGlvbnMgdW5kZXIgdGhlIExpY2Vuc2UuCgpzZXJ2aWNlTmFtZTogJHtMQUJFTFMuYXBwfQpzZXJ2aWNlSW5zdGFuY2VOYW1lOiAke05BTUV9Cg==
    66  ---
    67  # Source: skywalking/templates/oap-role.yaml
    68  # Licensed to the Apache Software Foundation (ASF) under one or more
    69  # contributor license agreements.  See the NOTICE file distributed with
    70  # this work for additional information regarding copyright ownership.
    71  # The ASF licenses this file to You under the Apache License, Version 2.0
    72  # (the "License"); you may not use this file except in compliance with
    73  # the License.  You may obtain a copy of the License at
    74  #
    75  #     http://www.apache.org/licenses/LICENSE-2.0
    76  #
    77  # Unless required by applicable law or agreed to in writing, software
    78  # distributed under the License is distributed on an "AS IS" BASIS,
    79  # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    80  # See the License for the specific language governing permissions and
    81  # limitations under the License.
    82  kind: Role
    83  apiVersion: rbac.authorization.k8s.io/v1
    84  metadata:
    85    name: skywalking
    86    labels:
    87      app: skywalking
    88      chart: "skywalking-4.1.0"
    89      release: "skywalking"
    90      heritage: "Helm"
    91  rules:
    92    - apiGroups: [""]
    93      resources: ["pods","configmaps"]
    94      verbs: ["get", "watch", "list"]
    95  ---
    96  # Source: skywalking/templates/oap-rolebinding.yaml
    97  # Licensed to the Apache Software Foundation (ASF) under one or more
    98  # contributor license agreements.  See the NOTICE file distributed with
    99  # this work for additional information regarding copyright ownership.
   100  # The ASF licenses this file to You under the Apache License, Version 2.0
   101  # (the "License"); you may not use this file except in compliance with
   102  # the License.  You may obtain a copy of the License at
   103  #
   104  #     http://www.apache.org/licenses/LICENSE-2.0
   105  #
   106  # Unless required by applicable law or agreed to in writing, software
   107  # distributed under the License is distributed on an "AS IS" BASIS,
   108  # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
   109  # See the License for the specific language governing permissions and
   110  # limitations under the License.
   111  apiVersion: rbac.authorization.k8s.io/v1
   112  kind: RoleBinding
   113  metadata:
   114    name: skywalking
   115    labels:
   116      app: skywalking
   117      chart: "skywalking-4.1.0"
   118      release: "skywalking"
   119      heritage: "Helm"
   120  roleRef:
   121    apiGroup: rbac.authorization.k8s.io
   122    kind: Role
   123    name: skywalking
   124  subjects:
   125    - kind: ServiceAccount
   126      name: skywalking-oap
   127      namespace: skywalking
   128  ---
   129  # Source: skywalking/charts/elasticsearch/templates/service.yaml
   130  kind: Service
   131  apiVersion: v1
   132  metadata:
   133    name: elasticsearch-master
   134    labels:
   135      heritage: "Helm"
   136      release: "skywalking"
   137      chart: "elasticsearch"
   138      app: "elasticsearch-master"
   139    annotations:
   140      {}
   141  spec:
   142    type: ClusterIP
   143    selector:
   144      heritage: "Helm"
   145      release: "skywalking"
   146      chart: "elasticsearch"
   147      app: "elasticsearch-master"
   148    ports:
   149    - name: http
   150      protocol: TCP
   151      port: 9200
   152    - name: transport
   153      protocol: TCP
   154      port: 9300
   155  ---
   156  # Source: skywalking/charts/elasticsearch/templates/service.yaml
   157  kind: Service
   158  apiVersion: v1
   159  metadata:
   160    name: elasticsearch-master-headless
   161    labels:
   162      heritage: "Helm"
   163      release: "skywalking"
   164      chart: "elasticsearch"
   165      app: "elasticsearch-master"
   166    annotations:
   167      service.alpha.kubernetes.io/tolerate-unready-endpoints: "true"
   168  spec:
   169    clusterIP: None # This is needed for statefulset hostnames like elasticsearch-0 to resolve
   170    # Create endpoints also if the related pod isn't ready
   171    publishNotReadyAddresses: true
   172    selector:
   173      app: "elasticsearch-master"
   174    ports:
   175    - name: http
   176      port: 9200
   177    - name: transport
   178      port: 9300
   179  ---
   180  # Source: skywalking/templates/oap-svc.yaml
   181  # Licensed to the Apache Software Foundation (ASF) under one or more
   182  # contributor license agreements.  See the NOTICE file distributed with
   183  # this work for additional information regarding copyright ownership.
   184  # The ASF licenses this file to You under the Apache License, Version 2.0
   185  # (the "License"); you may not use this file except in compliance with
   186  # the License.  You may obtain a copy of the License at
   187  #
   188  #     http://www.apache.org/licenses/LICENSE-2.0
   189  #
   190  # Unless required by applicable law or agreed to in writing, software
   191  # distributed under the License is distributed on an "AS IS" BASIS,
   192  # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
   193  # See the License for the specific language governing permissions and
   194  # limitations under the License.
   195  
   196  apiVersion: v1
   197  kind: Service
   198  metadata:
   199    name: skywalking-oap
   200    labels:
   201      app: skywalking
   202      chart: skywalking-4.1.0
   203      component: "oap"
   204      heritage: Helm
   205      release: skywalking
   206  spec:
   207    type: ClusterIP
   208    ports:
   209    - port: 11800
   210      name: grpc
   211    - port: 12800
   212      name: rest
   213    selector:
   214      app: skywalking
   215      component: "oap"
   216      release: skywalking
   217  ---
   218  # Source: skywalking/templates/ui-svc.yaml
   219  # Licensed to the Apache Software Foundation (ASF) under one or more
   220  # contributor license agreements.  See the NOTICE file distributed with
   221  # this work for additional information regarding copyright ownership.
   222  # The ASF licenses this file to You under the Apache License, Version 2.0
   223  # (the "License"); you may not use this file except in compliance with
   224  # the License.  You may obtain a copy of the License at
   225  #
   226  #     http://www.apache.org/licenses/LICENSE-2.0
   227  #
   228  # Unless required by applicable law or agreed to in writing, software
   229  # distributed under the License is distributed on an "AS IS" BASIS,
   230  # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
   231  # See the License for the specific language governing permissions and
   232  # limitations under the License.
   233  
   234  apiVersion: v1
   235  kind: Service
   236  metadata:
   237    labels:
   238      app: skywalking
   239      chart: skywalking-4.1.0
   240      component: "ui"
   241      heritage: Helm
   242      release: skywalking
   243    name: skywalking-ui
   244  spec:
   245    type: ClusterIP
   246    ports:
   247      - port: 80
   248        targetPort: 8080
   249        protocol: TCP
   250  
   251    selector:
   252      app: skywalking
   253      component: "ui"
   254      release: skywalking
   255  ---
   256  # Source: skywalking/templates/oap-deployment.yaml
   257  # Licensed to the Apache Software Foundation (ASF) under one or more
   258  # contributor license agreements.  See the NOTICE file distributed with
   259  # this work for additional information regarding copyright ownership.
   260  # The ASF licenses this file to You under the Apache License, Version 2.0
   261  # (the "License"); you may not use this file except in compliance with
   262  # the License.  You may obtain a copy of the License at
   263  #
   264  #     http://www.apache.org/licenses/LICENSE-2.0
   265  #
   266  # Unless required by applicable law or agreed to in writing, software
   267  # distributed under the License is distributed on an "AS IS" BASIS,
   268  # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
   269  # See the License for the specific language governing permissions and
   270  # limitations under the License.
   271  
   272  apiVersion: apps/v1
   273  kind: Deployment
   274  metadata:
   275    labels:
   276      app: skywalking
   277      chart: skywalking-4.1.0
   278      component: "oap"
   279      heritage: Helm
   280      release: skywalking
   281    name: skywalking-oap
   282  spec:
   283    replicas: 2
   284    selector:
   285      matchLabels:
   286        app: skywalking
   287        component: "oap"
   288        release: skywalking
   289    template:
   290      metadata:
   291        labels:
   292          app: skywalking
   293          component: "oap"
   294          release: skywalking
   295      spec:
   296        serviceAccountName: skywalking-oap
   297        affinity:
   298          podAntiAffinity:
   299            preferredDuringSchedulingIgnoredDuringExecution:
   300            - weight: 1
   301              podAffinityTerm:
   302                topologyKey: kubernetes.io/hostname
   303                labelSelector:
   304                  matchLabels:
   305                    app: "skywalking"
   306                    release: "skywalking"
   307                    component: "oap"
   308        initContainers:
   309        - name: wait-for-elasticsearch
   310          image: busybox:1.30
   311          imagePullPolicy: IfNotPresent
   312          command: ['sh', '-c', 'for i in $(seq 1 60); do nc -z -w3 elasticsearch-master 9200 && exit 0 || sleep 5; done; exit 1']
   313        containers:
   314        - name: oap
   315          image: skywalking.docker.scarf.sh/apache/skywalking-oap-server:8.8.1
   316          imagePullPolicy: IfNotPresent
   317          livenessProbe:
   318            tcpSocket:
   319              port: 12800
   320            initialDelaySeconds: 15
   321            periodSeconds: 20
   322          readinessProbe:
   323            tcpSocket:
   324              port: 12800
   325            initialDelaySeconds: 15
   326            periodSeconds: 20
   327          ports:
   328          - containerPort: 11800
   329            name: grpc
   330          - containerPort: 12800
   331            name: rest
   332          env:
   333          - name: JAVA_OPTS
   334            value: "-Dmode=no-init -Xmx2g -Xms2g"
   335          - name: SW_CLUSTER
   336            value: kubernetes
   337          - name: SW_CLUSTER_K8S_NAMESPACE
   338            value: "skywalking"
   339          - name: SW_CLUSTER_K8S_LABEL
   340            value: "app=skywalking,release=skywalking,component=oap"
   341          - name: SKYWALKING_COLLECTOR_UID
   342            valueFrom:
   343              fieldRef:
   344                fieldPath: metadata.uid
   345          - name: SW_STORAGE
   346            value: elasticsearch
   347          - name: SW_STORAGE_ES_CLUSTER_NODES
   348            value: "elasticsearch-master:9200"
   349  
   350          volumeMounts:
   351            
   352            - name: skywalking-oap-override
   353              mountPath: /skywalking/config/metadata-service-mapping.yaml
   354              subPath: bWV0YWRhdGEtc2VydmljZS1tYXBwaW5nLnlhbWw-
   355  
   356        volumes:
   357          - name: skywalking-oap-override
   358            configMap:
   359              name: skywalking-oap-cm-override
   360  ---
   361  # Source: skywalking/templates/ui-deployment.yaml
   362  # Licensed to the Apache Software Foundation (ASF) under one or more
   363  # contributor license agreements.  See the NOTICE file distributed with
   364  # this work for additional information regarding copyright ownership.
   365  # The ASF licenses this file to You under the Apache License, Version 2.0
   366  # (the "License"); you may not use this file except in compliance with
   367  # the License.  You may obtain a copy of the License at
   368  #
   369  #     http://www.apache.org/licenses/LICENSE-2.0
   370  #
   371  # Unless required by applicable law or agreed to in writing, software
   372  # distributed under the License is distributed on an "AS IS" BASIS,
   373  # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
   374  # See the License for the specific language governing permissions and
   375  # limitations under the License.
   376  
   377  apiVersion: apps/v1
   378  kind: Deployment
   379  metadata:
   380    name: skywalking-ui
   381    labels:
   382      app: skywalking
   383      chart: skywalking-4.1.0
   384      component: "ui"
   385      heritage: Helm
   386      release: skywalking
   387  spec:
   388    replicas: 1
   389    selector:
   390      matchLabels:
   391        app: skywalking
   392        component: "ui"
   393        release: skywalking
   394    template:
   395      metadata:
   396        labels:
   397          app: skywalking
   398          component: "ui"
   399          release: skywalking
   400      spec:
   401        affinity:
   402        containers:
   403        - name: ui
   404          image: skywalking.docker.scarf.sh/apache/skywalking-ui:8.8.1
   405          imagePullPolicy: IfNotPresent
   406          ports:
   407          - containerPort: 8080
   408            name: page
   409          env:
   410          - name: SW_OAP_ADDRESS
   411            value: http://skywalking-oap:12800
   412  ---
   413  # Source: skywalking/charts/elasticsearch/templates/statefulset.yaml
   414  apiVersion: apps/v1
   415  kind: StatefulSet
   416  metadata:
   417    name: elasticsearch-master
   418    labels:
   419      heritage: "Helm"
   420      release: "skywalking"
   421      chart: "elasticsearch"
   422      app: "elasticsearch-master"
   423    annotations:
   424      esMajorVersion: "6"
   425  spec:
   426    serviceName: elasticsearch-master-headless
   427    selector:
   428      matchLabels:
   429        app: "elasticsearch-master"
   430    replicas: 3
   431    podManagementPolicy: Parallel
   432    updateStrategy:
   433      type: RollingUpdate
   434    template:
   435      metadata:
   436        name: "elasticsearch-master"
   437        labels:
   438          heritage: "Helm"
   439          release: "skywalking"
   440          chart: "elasticsearch"
   441          app: "elasticsearch-master"
   442        annotations:
   443          
   444      spec:
   445        securityContext:
   446          fsGroup: 1000
   447          runAsUser: 1000
   448        affinity:
   449          podAntiAffinity:
   450            requiredDuringSchedulingIgnoredDuringExecution:
   451            - labelSelector:
   452                matchExpressions:
   453                - key: app
   454                  operator: In
   455                  values:
   456                  - "elasticsearch-master"
   457              topologyKey: kubernetes.io/hostname
   458        terminationGracePeriodSeconds: 120
   459        volumes:
   460        initContainers:
   461        - name: configure-sysctl
   462          securityContext:
   463            runAsUser: 0
   464            privileged: true
   465          image: "docker.elastic.co/elasticsearch/elasticsearch:6.8.6"
   466          imagePullPolicy: "IfNotPresent"
   467          command: ["sysctl", "-w", "vm.max_map_count=262144"]
   468          resources:
   469            {}
   470  
   471        containers:
   472        - name: "elasticsearch"
   473          securityContext:
   474            capabilities:
   475              drop:
   476              - ALL
   477            runAsNonRoot: true
   478            runAsUser: 1000
   479          image: "docker.elastic.co/elasticsearch/elasticsearch:6.8.6"
   480          imagePullPolicy: "IfNotPresent"
   481          readinessProbe:
   482            failureThreshold: 3
   483            initialDelaySeconds: 10
   484            periodSeconds: 10
   485            successThreshold: 3
   486            timeoutSeconds: 5
   487            exec:
   488              command:
   489                - sh
   490                - -c
   491                - |
   492                  #!/usr/bin/env bash -e
   493                  # If the node is starting up wait for the cluster to be ready (request params: 'wait_for_status=green&timeout=1s' )
   494                  # Once it has started only check that the node itself is responding
   495                  START_FILE=/tmp/.es_start_file
   496  
   497                  http () {
   498                      local path="${1}"
   499                      if [ -n "${ELASTIC_USERNAME}" ] && [ -n "${ELASTIC_PASSWORD}" ]; then
   500                        BASIC_AUTH="-u ${ELASTIC_USERNAME}:${ELASTIC_PASSWORD}"
   501                      else
   502                        BASIC_AUTH=''
   503                      fi
   504                      curl -XGET -s -k --fail ${BASIC_AUTH} http://127.0.0.1:9200${path}
   505                  }
   506  
   507                  if [ -f "${START_FILE}" ]; then
   508                      echo 'Elasticsearch is already running, lets check the node is healthy and there are master nodes available'
   509                      http "/_cluster/health?timeout=0s"
   510                  else
   511                      echo 'Waiting for elasticsearch cluster to become cluster to be ready (request params: "wait_for_status=green&timeout=1s" )'
   512                      if http "/_cluster/health?wait_for_status=green&timeout=1s" ; then
   513                          touch ${START_FILE}
   514                          exit 0
   515                      else
   516                          echo 'Cluster is not yet ready (request params: "wait_for_status=green&timeout=1s" )'
   517                          exit 1
   518                      fi
   519                  fi
   520          ports:
   521          - name: http
   522            containerPort: 9200
   523          - name: transport
   524            containerPort: 9300
   525          resources:
   526            limits:
   527              cpu: 1000m
   528              memory: 2Gi
   529            requests:
   530              cpu: 100m
   531              memory: 2Gi
   532          env:
   533            - name: node.name
   534              valueFrom:
   535                fieldRef:
   536                  fieldPath: metadata.name
   537            - name: discovery.zen.minimum_master_nodes
   538              value: "2"
   539            - name: discovery.zen.ping.unicast.hosts
   540              value: "elasticsearch-master-headless"
   541            - name: cluster.name
   542              value: "elasticsearch"
   543            - name: network.host
   544              value: "0.0.0.0"
   545            - name: ES_JAVA_OPTS
   546              value: "-Xmx1g -Xms1g"
   547            - name: node.data
   548              value: "true"
   549            - name: node.ingest
   550              value: "true"
   551            - name: node.master
   552              value: "true"
   553          volumeMounts:
   554  ---
   555  # Source: skywalking/templates/es-init.job.yaml
   556  # Licensed to the Apache Software Foundation (ASF) under one or more
   557  # contributor license agreements.  See the NOTICE file distributed with
   558  # this work for additional information regarding copyright ownership.
   559  # The ASF licenses this file to You under the Apache License, Version 2.0
   560  # (the "License"); you may not use this file except in compliance with
   561  # the License.  You may obtain a copy of the License at
   562  #
   563  #     http://www.apache.org/licenses/LICENSE-2.0
   564  #
   565  # Unless required by applicable law or agreed to in writing, software
   566  # distributed under the License is distributed on an "AS IS" BASIS,
   567  # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
   568  # See the License for the specific language governing permissions and
   569  # limitations under the License.
   570  
   571  # https://docs.sentry.io/server/installation/docker/#running-migrations
   572  apiVersion: batch/v1
   573  kind: Job
   574  metadata:
   575    name: "skywalking-es-init"
   576    labels:
   577      app: skywalking
   578      chart: skywalking-4.1.0
   579      component: "skywalking-job"
   580      heritage: Helm
   581      release: skywalking
   582  spec:
   583    template:
   584      metadata:
   585        name: "skywalking-es-init"
   586        labels:
   587          app: skywalking
   588          component: "skywalking-job"
   589          release: skywalking
   590      spec:
   591        serviceAccountName: skywalking-oap
   592        restartPolicy: Never
   593        initContainers:
   594        - name: wait-for-elasticsearch
   595          image: busybox:1.30
   596          imagePullPolicy: IfNotPresent
   597          command: ['sh', '-c', 'for i in $(seq 1 60); do nc -z -w3 elasticsearch-master 9200 && exit 0 || sleep 5; done; exit 1']
   598        containers:
   599        - name: oap
   600          image: skywalking.docker.scarf.sh/apache/skywalking-oap-server:8.8.1
   601          imagePullPolicy: IfNotPresent
   602          env:
   603          - name: JAVA_OPTS
   604            value: "-Xmx2g -Xms2g -Dmode=init"
   605          - name: SW_STORAGE
   606            value: elasticsearch
   607          - name: SW_STORAGE_ES_CLUSTER_NODES
   608            value: "elasticsearch-master:9200"
   609          volumeMounts:
   610              
   611              - name: skywalking-oap-override
   612                mountPath: /skywalking/config/metadata-service-mapping.yaml
   613                subPath: bWV0YWRhdGEtc2VydmljZS1tYXBwaW5nLnlhbWw-
   614        volumes:
   615          - name: skywalking-oap-override
   616            configMap:
   617              name: skywalking-oap-cm-override
   618  ---
   619  # Source: skywalking/templates/istio-adapter/adapter.yaml
   620  # Licensed to the Apache Software Foundation (ASF) under one
   621  # or more contributor license agreements.  See the NOTICE file
   622  # distributed with this work for additional information
   623  # regarding copyright ownership.  The ASF licenses this file
   624  # to you under the Apache License, Version 2.0 (the
   625  # "License"); you may not use this file except in compliance
   626  # with the License.  You may obtain a copy of the License at
   627  #
   628  #     http://www.apache.org/licenses/LICENSE-2.0
   629  #
   630  # Unless required by applicable law or agreed to in writing, software
   631  # distributed under the License is distributed on an "AS IS" BASIS,
   632  # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
   633  # See the License for the specific language governing permissions and
   634  # limitations under the License.
   635  ---
   636  # Source: skywalking/templates/istio-adapter/handler.yaml
   637  # Licensed to the Apache Software Foundation (ASF) under one
   638  # or more contributor license agreements.  See the NOTICE file
   639  # distributed with this work for additional information
   640  # regarding copyright ownership.  The ASF licenses this file
   641  # to you under the Apache License, Version 2.0 (the
   642  # "License"); you may not use this file except in compliance
   643  # with the License.  You may obtain a copy of the License at
   644  #
   645  #     http://www.apache.org/licenses/LICENSE-2.0
   646  #
   647  # Unless required by applicable law or agreed to in writing, software
   648  # distributed under the License is distributed on an "AS IS" BASIS,
   649  # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
   650  # See the License for the specific language governing permissions and
   651  # limitations under the License.
   652  ---
   653  # Source: skywalking/templates/istio-adapter/instance.yaml
   654  # Licensed to the Apache Software Foundation (ASF) under one
   655  # or more contributor license agreements.  See the NOTICE file
   656  # distributed with this work for additional information
   657  # regarding copyright ownership.  The ASF licenses this file
   658  # to you under the Apache License, Version 2.0 (the
   659  # "License"); you may not use this file except in compliance
   660  # with the License.  You may obtain a copy of the License at
   661  #
   662  #     http://www.apache.org/licenses/LICENSE-2.0
   663  #
   664  # Unless required by applicable law or agreed to in writing, software
   665  # distributed under the License is distributed on an "AS IS" BASIS,
   666  # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
   667  # See the License for the specific language governing permissions and
   668  # limitations under the License.
   669  
   670  # instance for template metric
   671  ---
   672  # Source: skywalking/templates/istio-adapter/rule.yaml
   673  # Licensed to the Apache Software Foundation (ASF) under one
   674  # or more contributor license agreements.  See the NOTICE file
   675  # distributed with this work for additional information
   676  # regarding copyright ownership.  The ASF licenses this file
   677  # to you under the Apache License, Version 2.0 (the
   678  # "License"); you may not use this file except in compliance
   679  # with the License.  You may obtain a copy of the License at
   680  #
   681  #     http://www.apache.org/licenses/LICENSE-2.0
   682  #
   683  # Unless required by applicable law or agreed to in writing, software
   684  # distributed under the License is distributed on an "AS IS" BASIS,
   685  # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
   686  # See the License for the specific language governing permissions and
   687  # limitations under the License.
   688  
   689  # rule to dispatch to handler sw
   690  ---
   691  # Source: skywalking/templates/oap-clusterrole.yaml
   692  # Licensed to the Apache Software Foundation (ASF) under one or more
   693  # contributor license agreements.  See the NOTICE file distributed with
   694  # this work for additional information regarding copyright ownership.
   695  # The ASF licenses this file to You under the Apache License, Version 2.0
   696  # (the "License"); you may not use this file except in compliance with
   697  # the License.  You may obtain a copy of the License at
   698  #
   699  #     http://www.apache.org/licenses/LICENSE-2.0
   700  #
   701  # Unless required by applicable law or agreed to in writing, software
   702  # distributed under the License is distributed on an "AS IS" BASIS,
   703  # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
   704  # See the License for the specific language governing permissions and
   705  # limitations under the License.
   706  ---
   707  # Source: skywalking/templates/oap-clusterrolebinding.yaml
   708  # Licensed to the Apache Software Foundation (ASF) under one or more
   709  # contributor license agreements.  See the NOTICE file distributed with
   710  # this work for additional information regarding copyright ownership.
   711  # The ASF licenses this file to You under the Apache License, Version 2.0
   712  # (the "License"); you may not use this file except in compliance with
   713  # the License.  You may obtain a copy of the License at
   714  #
   715  #     http://www.apache.org/licenses/LICENSE-2.0
   716  #
   717  # Unless required by applicable law or agreed to in writing, software
   718  # distributed under the License is distributed on an "AS IS" BASIS,
   719  # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
   720  # See the License for the specific language governing permissions and
   721  # limitations under the License.
   722  ---
   723  # Source: skywalking/templates/oap-configmap.yaml
   724  # Licensed to the Apache Software Foundation (ASF) under one or more
   725  # contributor license agreements.  See the NOTICE file distributed with
   726  # this work for additional information regarding copyright ownership.
   727  # The ASF licenses this file to You under the Apache License, Version 2.0
   728  # (the "License"); you may not use this file except in compliance with
   729  # the License.  You may obtain a copy of the License at
   730  #
   731  #     http://www.apache.org/licenses/LICENSE-2.0
   732  #
   733  # Unless required by applicable law or agreed to in writing, software
   734  # distributed under the License is distributed on an "AS IS" BASIS,
   735  # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
   736  # See the License for the specific language governing permissions and
   737  # limitations under the License.
   738  ---
   739  # Source: skywalking/templates/ui-ingress.yaml
   740  # Licensed to the Apache Software Foundation (ASF) under one or more
   741  # contributor license agreements.  See the NOTICE file distributed with
   742  # this work for additional information regarding copyright ownership.
   743  # The ASF licenses this file to You under the Apache License, Version 2.0
   744  # (the "License"); you may not use this file except in compliance with
   745  # the License.  You may obtain a copy of the License at
   746  #
   747  #     http://www.apache.org/licenses/LICENSE-2.0
   748  #
   749  # Unless required by applicable law or agreed to in writing, software
   750  # distributed under the License is distributed on an "AS IS" BASIS,
   751  # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
   752  # See the License for the specific language governing permissions and
   753  # limitations under the License.
   754