Elastic Cloud on Kubernetes
Configure Elastic Agent host path volume to point to correct path #5890 (issue: #4428)
Fleet-managed Elastic Agents now default to use a hostPath
volume for storing their state. This will prevent more than one Pod from the same Elastic Agent Deployment to be deployed on the same Kubernetes node. For cases where this is desired, the volume type can be changed to an emptyDir
volume. Check the docs to learn more.
OOMKilled
" docs section #5836status.ObservedGeneration
from metadata.Generation
:
IMPORTANT
Operator Lifecycle Manager (OLM) and OpenShift OperatorHub users that run with automatic upgrades enabled, are advised to set the set-default-security-context
operator flag explicitly before upgrading to ECK 2.0. If not set ECK can fail to auto-detect the correct security context configuration and Elasticsearch Pods may not be allowed to run.
This change will mitigate the Log4Shell vulnerability (CVE-2021-44228) in susceptible Elasticsearch clusters (below version 7.2
). ECK will prepend the -Dlog4j2.formatMsgNoLookups=true
JVM parameter to the environment variable ES_JAVA_OPTS
if it is not yet defined by the user. This triggers a rolling restart of all Pods of the affected Elasticsearch clusters to apply these changes.
IMPORTANT
For Operator Lifecycle Manager (OLM) and OpenShift OperatorHub users that run with automatic upgrades enabled, it is advised to set set-default-security-context
operator flag explicitly before next ECK release. Next version of ECK will introduce a change that could result in setting an invalid Pod Security Context to Elasticsearch Pods.
All init containers will inherit resource requirements from the main containers by default.
ECK operator will configure Elastic Agent in Fleet mode using environment variables instead of a configuration file. This method allows you to easily override the default settings. If the override is configured with any other method, an additional step is required before the operator upgrade.
...
spec:
deployment:
podTemplate:
spec:
containers:
- name: agent
env:
- name: KIBANA_FLEET_HOST
value: "https://kibana.example.com:443"
...
1.9.x
.fleet-setup.yml
. As ECK 1.9.x
uses environment variables to set the default config, the environment variables you've set in step 1. override the default values.The operator does not rely on the $PRE_STOP_MAX_WAIT_SECONDS
environment variable to control <<{p}-prestop,Elasticsearch Pods PreStop hook>> anymore. Use $PRE_STOP_ADDITIONAL_WAIT_SECONDS
instead (defaults to 50 seconds).