helm-kibana

[root@master01 heml]# helm search repo kibana --version=7.6.2
NAME              CHART VERSION    APP VERSION    DESCRIPTION                           
elastic/kibana    7.6.2            7.6.2          Official Elastic helm chart for Kibana

[root@master01 heml]# helm pull kibana --version=7.6.2
[root@master01 heml]# tar xf kibana-7.6.2.tgz
[root@master01 heml]# cd kibana
[root@master01 kibana]# vim values.yaml
查看修改slasticsearch配置
elasticsearchHosts: "http://elasticsearch-master:9200"
[root@master01 heml]# helm install kibana ./kibana -n cyl-middleware
[root@master01 kibana]# cat values.yaml |grep -v '#'
---
elasticsearchHosts: "http://elasticsearch-master:9200"
replicas: 1
extraEnvs:
  - name: "NODE_OPTIONS"
    value: "--max-old-space-size=1800"
secretMounts: []
image: "docker.elastic.co/kibana/kibana"
imageTag: "7.6.2"
imagePullPolicy: "IfNotPresent"
labels: {}
podAnnotations: {}
resources:
  requests:
    cpu: "1000m"
    memory: "2Gi"
  limits:
    cpu: "1000m"
    memory: "2Gi"
protocol: http
serverHost: "0.0.0.0"
healthCheckPath: "/app/kibana"
kibanaConfig: {}
podSecurityContext:
  fsGroup: 1000
securityContext:
  capabilities:
    drop:
    - ALL
  runAsNonRoot: true
  runAsUser: 1000
serviceAccount: ""
priorityClassName: ""
httpPort: 5601
extraContainers: ""
extraInitContainers: ""
updateStrategy:
  type: "Recreate"
service:
  type: NodePort
  port: 5601
  nodePort: 30601
  labels: {}
  annotations: {}
  loadBalancerSourceRanges: []
ingress:
  enabled: false
  annotations: {}
  path: /
  hosts:
    - chart-example.local
  tls: []
readinessProbe:
  failureThreshold: 3
  initialDelaySeconds: 10
  periodSeconds: 10
  successThreshold: 3
  timeoutSeconds: 5
imagePullSecrets: []
nodeSelector: {}
tolerations: []
affinity: {}
nameOverride: ""
fullnameOverride: ""
lifecycle: {}

 

posted @ 2021-04-29 16:01  韩式运维  阅读(185)  评论(0)    收藏  举报