Description: Daemonset in repeating crash loop due to error. Using Helm to deploy -- significant parts of chart included below.
The docker image builds fine. The image posts to AWS repository without issue. The Helm chart deploys to AES EKS without error.
The pods deploy but will not go ready - logs show error below - and enter CrashLoopBackOff
Please advise is some required parameter is missing: I would expect an error akin to "FLUENT_ELASTICSEARCH_HOST required"
Branch: Master
Commit: 449777964f839bddcee2743fe463fce22103735d
Image build source: docker-image/v1.15/debian-elasticsearch7
Please Note: Same results using image fluent/fluentd-kubernetes-daemonset:elasticsearch
Kubernetes Status:
root@xxxxxxxx:~# k get daemonsets
NAME DESIRED CURRENT READY UP-TO-DATE AVAILABLE NODE SELECTOR AGE
fluentd-fluentd-daemonset 3 3 0 3 0 <none> 38s
root@xxxxxxxx:~# k get pods
NAME READY STATUS RESTARTS AGE
fluentd-fluentd-daemonset-5qxqz 0/1 Running 1 (19s ago) 50s
fluentd-fluentd-daemonset-gb92m 0/1 Running 1 (19s ago) 50s
fluentd-fluentd-daemonset-kz4zk 0/1 Running 1 (19s ago) 50s
....
root@xxxxxxxx:~# k get pods
NAME READY STATUS RESTARTS AGE
fluentd-fluentd-daemonset-5qxqz 0/1 CrashLoopBackOff 5 (45s ago) 4m36s
fluentd-fluentd-daemonset-gb92m 0/1 CrashLoopBackOff 5 (55s ago) 4m36s
fluentd-fluentd-daemonset-kz4zk 0/1 CrashLoopBackOff 5 (55s ago) 4m36s
**# This is a YAML-formatted file.
# Declare variables to be passed into your templates.
image:
repository: fluentd-kubernetes-elasticsearch7
# Overrides the image tag whose default is the chart appVersion.
# tag: "v1.15.3-debian-elasticsearch7-1.0"
pullPolicy: IfNotPresent
volumeMounts:
- name: varlog
mountPath: /var/log
- name: dockerlogs
mountPath: /var/lib/docker/containers
readOnly: true
volumes:
- name: varlog
hostPath:
path: /var/log
- name: dockerlogs
hostPath:
path: /var/lib/docker/containers
labels:
k8s-app: fluentd-logger
elasticsearch:
host: ""
port: "9200"
imagePullSecrets: []
nameOverride: ""
fullnameOverride: ""
#
serviceAccount:
# # Specifies whether a service account should be created
create: false
# # Annotations to add to the service account
annotations: {}
# # The name of the service account to use.
# # If not set and create is true, a name is generated using the fullname template
name: ""
#
podAnnotations: {}
#
podSecurityContext: {}
# fsGroup: 2000
#
securityContext: {}
# # capabilities:
# # drop:
# # - ALL
# # readOnlyRootFilesystem: true
# # runAsNonRoot: true
# # runAsUser: 1000
#
service:
type: ClusterIP
port: "80"
#
ingress:
enabled: false
# className: ""
# annotations: {}
# # kubernetes.io/ingress.class: nginx
# # kubernetes.io/tls-acme: "true"
# hosts:
# - host: chart-example.local
# paths:
# - path: /
# pathType: ImplementationSpecific
# tls: []
# # - secretName: chart-example-tls
# # hosts:
# # - chart-example.local
#
#resources: {}
# # We usually recommend not to specify default resources and to leave this as a conscious
# # choice for the user. This also increases chances charts run on environments with little
# # resources, such as Minikube. If you do want to specify resources, uncomment the following
# # lines, adjust them as necessary, and remove the curly braces after 'resources:'.
# # limits:
# # cpu: 100m
# # memory: 128Mi
# # requests:
# # cpu: 100m
# # memory: 128Mi
#
autoscaling:
enabled: false
# minReplicas: 1
# maxReplicas: 100
# targetCPUUtilizationPercentage: 80
# # targetMemoryUtilizationPercentage: 80
#
namespace: default
nodeSelector: {}
#
tolerations: []
#
affinity: {}
#
Description: Daemonset in repeating crash loop due to error. Using Helm to deploy -- significant parts of chart included below.
The docker image builds fine. The image posts to AWS repository without issue. The Helm chart deploys to AES EKS without error.
The pods deploy but will not go ready - logs show error below - and enter CrashLoopBackOff
Please advise is some required parameter is missing: I would expect an error akin to "FLUENT_ELASTICSEARCH_HOST required"
Branch:
Master
Commit: 449777964f839bddcee2743fe463fce22103735d Image build source:docker-image/v1.15/debian-elasticsearch7
Please Note: Same results using imagefluent/fluentd-kubernetes-daemonset:elasticsearch
Kubernetes Status:
Error:
Helm:
templates/deployment.yaml
values.yaml
Invocation to build: