No able to Setup ELK on kubernetes

Hi
I followed the Quick start guide for setting ELK on Kubernetes.
My Elasticsearch pod remains in Applying Changes

kubectl get Elasticsearch

NAME HEALTH NODES VERSION PHASE AGE
staging unknown 8.2.2 ApplyingChanges 2m7s

kubectl describe Elasticsearch

Name:         staging
Namespace:    jenkins
Labels:       <none>
Annotations:  eck.k8s.elastic.co/orchestration-hints: {"no_transient_settings":false}
              elasticsearch.k8s.elastic.co/initial-master-nodes: staging-es-default-0
API Version:  elasticsearch.k8s.elastic.co/v1
Kind:         Elasticsearch
Metadata:
  Creation Timestamp:  2022-06-03T18:57:37Z
  Generation:          2
  Managed Fields:
    API Version:  elasticsearch.k8s.elastic.co/v1
    Fields Type:  FieldsV1
    fieldsV1:
      f:metadata:
        f:annotations:
          .:
          f:kubectl.kubernetes.io/last-applied-configuration:
      f:spec:
        .:
        f:version:
    Manager:      kubectl-client-side-apply
    Operation:    Update
    Time:         2022-06-03T18:57:37Z
    API Version:  elasticsearch.k8s.elastic.co/v1
    Fields Type:  FieldsV1
    fieldsV1:
      f:metadata:
        f:annotations:
          f:eck.k8s.elastic.co/orchestration-hints:
          f:elasticsearch.k8s.elastic.co/initial-master-nodes:
      f:spec:
        f:auth:
        f:http:
          .:
          f:service:
            .:
            f:metadata:
            f:spec:
          f:tls:
            .:
            f:certificate:
        f:monitoring:
          .:
          f:logs:
          f:metrics:
        f:nodeSets:
        f:transport:
          .:
          f:service:
            .:
            f:metadata:
            f:spec:
          f:tls:
            .:
            f:certificate:
        f:updateStrategy:
          .:
          f:changeBudget:
    Manager:      elastic-operator
    Operation:    Update
    Time:         2022-06-03T18:57:38Z
    API Version:  elasticsearch.k8s.elastic.co/v1
    Fields Type:  FieldsV1
    fieldsV1:
      f:status:
        .:
        f:conditions:
        f:health:
        f:inProgressOperations:
          .:
          f:downscale:
            .:
            f:lastUpdatedTime:
          f:upgrade:
            .:
            f:lastUpdatedTime:
          f:upscale:
            .:
            f:lastUpdatedTime:
        f:observedGeneration:
        f:phase:
        f:version:
    Manager:         elastic-operator
    Operation:       Update
    Subresource:     status
    Time:            2022-06-03T18:57:39Z
  Resource Version:  12503294
  UID:               4b813ad5-a713-408f-92af-169b67bc249a
Spec:
  Auth:
  Http:
    Service:
      Metadata:
      Spec:
    Tls:
      Certificate:
  Monitoring:
    Logs:
    Metrics:
  Node Sets:
    Count:  1
    Name:   default
    Pod Template:
      Metadata:
        Creation Timestamp:  <nil>
      Spec:
        Containers:
          Name:  elasticsearch
          Resources:
            Limits:
              Memory:  4Gi
            Requests:
              Cpu:     8
              Memory:  4Gi
  Transport:
    Service:
      Metadata:
      Spec:
    Tls:
      Certificate:
  Update Strategy:
    Change Budget:
  Version:  8.2.2
Status:
  Conditions:
    Last Transition Time:  2022-06-03T18:57:39Z
    Message:               Elasticsearch cluster UUID is not reconciled
    Status:                False
    Type:                  ReconciliationComplete
    Last Transition Time:  2022-06-03T18:57:39Z
    Message:               All nodes are running version 8.2.2
    Status:                True
    Type:                  RunningDesiredVersion
    Last Transition Time:  2022-06-03T18:57:39Z
    Message:               Service jenkins/staging-es-internal-http has no endpoint
    Status:                False
    Type:                  ElasticsearchIsReachable
  Health:                  unknown
  In Progress Operations:
    Downscale:
      Last Updated Time:  2022-06-03T18:57:39Z
    Upgrade:
      Last Updated Time:  2022-06-03T18:57:39Z
    Upscale:
      Last Updated Time:  2022-06-03T18:57:39Z
  Observed Generation:    2
  Phase:                  ApplyingChanges
  Version:                8.2.2
Events:                   <none>
{"log.level":"info","@timestamp":"2022-06-03T19:11:34.125Z","log.logger":"elasticsearch-controller","message":"Starting reconciliation run","service.version":"2.2.0+02f250eb","service.type":"eck","ecs.version":"1.4.0","iteration":87,"namespace":"jenkins","es_name":"staging"}
{"log.level":"info","@timestamp":"2022-06-03T19:11:34.125Z","log.logger":"generic-reconciler","message":"Updating resource","service.version":"2.2.0+02f250eb","service.type":"eck","ecs.version":"1.4.0","kind":"Service","namespace":"jenkins","name":"staging-es-transport"}
{"log.level":"info","@timestamp":"2022-06-03T19:11:34.150Z","log.logger":"generic-reconciler","message":"Updating resource","service.version":"2.2.0+02f250eb","service.type":"eck","ecs.version":"1.4.0","kind":"Service","namespace":"jenkins","name":"staging-es-http"}
{"log.level":"info","@timestamp":"2022-06-03T19:11:34.161Z","log.logger":"generic-reconciler","message":"Updating resource","service.version":"2.2.0+02f250eb","service.type":"eck","ecs.version":"1.4.0","kind":"Service","namespace":"jenkins","name":"staging-es-internal-http"}
{"log.level":"info","@timestamp":"2022-06-03T19:11:34.417Z","log.logger":"transport","message":"Skipping pod because it has no IP yet","service.version":"2.2.0+02f250eb","service.type":"eck","ecs.version":"1.4.0","namespace":"jenkins","pod_name":"staging-es-default-0"}
{"log.level":"info","@timestamp":"2022-06-03T19:11:34.419Z","log.logger":"generic-reconciler","message":"Updating resource","service.version":"2.2.0+02f250eb","service.type":"eck","ecs.version":"1.4.0","kind":"Service","namespace":"jenkins","name":"staging-es-default"}
{"log.level":"info","@timestamp":"2022-06-03T19:11:34.432Z","log.logger":"driver","message":"Elasticsearch cannot be reached yet, re-queuing","service.version":"2.2.0+02f250eb","service.type":"eck","ecs.version":"1.4.0","namespace":"jenkins","es_name":"staging"}
{"log.level":"info","@timestamp":"2022-06-03T19:11:34.432Z","log.logger":"elasticsearch-controller","message":"Ending reconciliation run","service.version":"2.2.0+02f250eb","service.type":"eck","ecs.version":"1.4.0","iteration":87,"namespace":"jenkins","es_name":"staging","took":0.307655271}

Can you provide an ECK diagnostic or at least the Elasticsearch pod logs and the k8s events, so we have more information to help you debug the problem?

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.