helm install --dry-run --debug

Jmnote bot (토론 | 기여)님의 2023년 5월 23일 (화) 23:50 판 (봇: 자동으로 텍스트 교체 (-</source> +</syntaxhighlight>, -<source +<syntaxhighlight ))
(차이) ← 이전 판 | 최신판 (차이) | 다음 판 → (차이)

1 개요[ | ]

helm install --dry-run --debug
user01@localhost:~$ helm install --name my-release stable/elasticsearch-exporter --dry-run --debug
[debug] Created tunnel using local port: '42381'

[debug] SERVER: "127.0.0.1:42381"

[debug] Original chart version: ""
[debug] Fetched stable/elasticsearch-exporter to /home/user01/.helm/cache/archive/elasticsearch-exporter-2.1.1.tgz

[debug] CHART PATH: /home/user01/.helm/cache/archive/elasticsearch-exporter-2.1.1.tgz

NAME:   my-release
REVISION: 1
RELEASED: Thu Jan  2 17:57:13 2020
CHART: elasticsearch-exporter-2.1.1
USER-SUPPLIED VALUES:
{}

COMPUTED VALUES:
affinity: {}
es:
  all: true
  cluster_settings: false
  indices: true
  indices_settings: true
  shards: true
  snapshots: true
  ssl:
    ca: null
    client: null
    enabled: false
    useExistingSecrets: false
  sslSkipVerify: false
  timeout: 30s
  uri: http://localhost:9200
image:
  pullPolicy: IfNotPresent
  pullSecret: ""
  repository: justwatch/elasticsearch_exporter
  tag: 1.1.0
nodeSelector: {}
podAnnotations: {}
podSecurityPolicies:
  enabled: false
priorityClassName: ""
prometheusRule:
  enabled: false
  labels: {}
  rules: []
replicaCount: 1
resources: {}
restartPolicy: Always
secretMounts: []
securityContext:
  enabled: true
  runAsUser: 1000
service:
  annotations: {}
  httpPort: 9108
  labels: {}
  metricsPort:
    name: http
  type: ClusterIP
serviceAccount:
  create: false
  name: default
serviceMonitor:
  enabled: false
  interval: 10s
  labels: {}
  scheme: http
  scrapeTimeout: 10s
tolerations: {}
web:
  path: /metrics

HOOKS:
MANIFEST:

---
# Source: elasticsearch-exporter/templates/service.yaml
kind: Service
apiVersion: v1
metadata:
  name: my-release-elasticsearch-exporter
  labels:
    chart: elasticsearch-exporter-2.1.1
    app: elasticsearch-exporter
    release: "my-release"
    heritage: "Tiller"
spec:
  type: ClusterIP
  ports:
    - name: http
      port: 9108
      protocol: TCP
  selector:
    app: elasticsearch-exporter
    release: "my-release"
---
# Source: elasticsearch-exporter/templates/deployment.yaml
apiVersion: apps/v1
kind: Deployment
metadata:
  name: my-release-elasticsearch-exporter
  labels:
    chart: elasticsearch-exporter-2.1.1
    app: elasticsearch-exporter
    release: "my-release"
    heritage: "Tiller"
spec:
  replicas: 1
  selector:
    matchLabels:
      app: elasticsearch-exporter
      release: "my-release"
  strategy:
    rollingUpdate:
      maxSurge: 1
      maxUnavailable: 0
    type: RollingUpdate
  template:
    metadata:
      labels:
        app: elasticsearch-exporter
        release: "my-release"
    spec:
      serviceAccountName: default
      restartPolicy: Always
      securityContext:
        runAsNonRoot: true
        runAsUser: 1000
      containers:
        - name: elasticsearch-exporter
          image: "justwatch/elasticsearch_exporter:1.1.0"
          imagePullPolicy: IfNotPresent
          command: ["elasticsearch_exporter",
                    "--es.uri=http://localhost:9200",
                    "--es.all",
                    "--es.indices",
                    "--es.indices_settings",
                    "--es.shards",
                    "--es.snapshots",
                    "--es.timeout=30s",
                    "--web.listen-address=:9108",
                    "--web.telemetry-path=/metrics"]
          securityContext:
            capabilities:
              drop:
                - SETPCAP
                - MKNOD
                - AUDIT_WRITE
                - CHOWN
                - NET_RAW
                - DAC_OVERRIDE
                - FOWNER
                - FSETID
                - KILL
                - SETGID
                - SETUID
                - NET_BIND_SERVICE
                - SYS_CHROOT
                - SETFCAP
            readOnlyRootFilesystem: true
          resources:
            {}

          ports:
            - containerPort: 9108
              name: http
          livenessProbe:
            httpGet:
              path: /healthz
              port: http
            initialDelaySeconds: 5
            timeoutSeconds: 5
            periodSeconds: 5
          readinessProbe:
            httpGet:
              path: /healthz
              port: http
            initialDelaySeconds: 1
            timeoutSeconds: 5
            periodSeconds: 5
          lifecycle:
            preStop:
              exec:
                command: ["/bin/bash", "-c", "sleep 20"]
          volumeMounts:
      volumes:

2 같이 보기[ | ]

3 참고[ | ]

문서 댓글 ({{ doc_comments.length }})
{{ comment.name }} {{ comment.created | snstime }}