github.com/microsoft/fabrikate@v1.0.0-alpha.1.0.20210115014322-dc09194d0885/testdata/generate/infra/fabrikate-jaeger/helm_repos/jaeger/charts/elasticsearch/templates/NOTES.txt (about)

     1  This Helm chart is deprecated. Please use https://github.com/elastic/helm-charts/tree/master/elasticsearch instead.
     2  
     3  ---
     4  
     5  The elasticsearch cluster has been installed.
     6  
     7  Elasticsearch can be accessed:
     8  
     9    * Within your cluster, at the following DNS name at port 9200:
    10  
    11      {{ template "elasticsearch.client.fullname" . }}.{{ .Release.Namespace }}.svc
    12  
    13    * From outside the cluster, run these commands in the same shell:
    14      {{- if contains "NodePort" .Values.client.serviceType }}
    15  
    16      export NODE_PORT=$(kubectl get --namespace {{ .Release.Namespace }} -o jsonpath="{.spec.ports[0].nodePort}" services {{ template "elasticsearch.client.fullname" . }})
    17      export NODE_IP=$(kubectl get nodes --namespace {{ .Release.Namespace }} -o jsonpath="{.items[0].status.addresses[0].address}")
    18      echo http://$NODE_IP:$NODE_PORT
    19      {{- else if contains "LoadBalancer" .Values.client.serviceType }}
    20  
    21       WARNING: You have likely exposed your Elasticsearch cluster direct to the internet.
    22                Elasticsearch does not implement any security for public facing clusters by default.
    23                As a minimum level of security; switch to ClusterIP/NodePort and place an Nginx gateway infront of the cluster in order to lock down access to dangerous HTTP endpoints and verbs.
    24  
    25       NOTE: It may take a few minutes for the LoadBalancer IP to be available.
    26             You can watch the status of by running 'kubectl get svc -w {{ template "elasticsearch.client.fullname" . }}'
    27  
    28      export SERVICE_IP=$(kubectl get svc --namespace {{ .Release.Namespace }} {{ template "elasticsearch.client.fullname" . }} -o jsonpath='{.status.loadBalancer.ingress[0].ip}')
    29      echo http://$SERVICE_IP:9200
    30      {{- else if contains "ClusterIP"  .Values.client.serviceType }}
    31  
    32      export POD_NAME=$(kubectl get pods --namespace {{ .Release.Namespace }} -l "app={{ template "elasticsearch.name" . }},component={{ .Values.client.name }},release={{ .Release.Name }}" -o jsonpath="{.items[0].metadata.name}")
    33      echo "Visit http://127.0.0.1:9200 to use Elasticsearch"
    34      kubectl port-forward --namespace {{ .Release.Namespace }} $POD_NAME 9200:9200
    35      {{- end }}