AmjadHussainSyed opened a new issue #6919:
URL: https://github.com/apache/skywalking/issues/6919


   Please answer these questions before submitting your issue.
   Allow index name (SW_NAMESPACE) for elasticsearch index name when deploying 
from helm charts in kubernetes
   - Why do you submit this issue?
   - [ ] Question or discussion
   - [ ] Bug
   - [ ] Requirement
   - [x] Feature or performance improvement
   
   ___
   ### Question
   - What do you want to know?
   I was trying to add index_name which are created in elasticsearch, I 
couldn't find so i edited the `chart/skywalking/templates/es-init.job.yaml` and 
added the following environment variable.
   ```
   - name: SW_NAMESPACE
             value: "{{ .Release.Namespace }}"
   ```
   Please correct me if there's any other way to pass the same configuration. 
   ___
   ### Bug
   - Which version of SkyWalking, OS, and JRE?
   8.5.0
   - Which company or project?
   
   - What happened?
   If possible, provide a way to reproduce the error. e.g. demo application, 
component version.
   followed this link to deploy https://github.com/apache/skywalking-kubernetes
   release namespace is not used as a default name for elasticsearch index 
creation
   ___
   ### Requirement or improvement
   - Please describe your requirements or improvement suggestions.
   I edited the `chart/skywalking/templates/es-init.job.yaml` and added the 
following environment variable.
   ```
   - name: SW_NAMESPACE
             value: "{{ .Release.Namespace }}"
   ``` 
   now I can see the indexes in elasticsearch are created with the release 
namespace


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to