Read the upgrade notes first if you are attempting to upgrade an existing ECK deployment.
If you are using GKE, make sure your user has
cluster-adminpermissions. For more information, see Prerequisites for using Kubernetes RBAC on GKE.
- If you are using Amazon EKS, make sure the Kubernetes control plane is allowed to communicate with the Kubernetes nodes on port 443. This is required for communication with the Validating Webhook. For more information, see Recommended inbound traffic.
- Refer to Install ECK for more information on installation options.
Install custom resource definitions and the operator with its RBAC rules:
kubectl create -f https://download.elastic.co/downloads/eck/1.9.1/crds.yaml kubectl apply -f https://download.elastic.co/downloads/eck/1.9.1/operator.yaml
If you are running a version of Kubernetes before 1.16 you have to use the legacy version of the manifests:
kubectl create -f https://download.elastic.co/downloads/eck/1.9.1/crds-legacy.yaml kubectl apply -f https://download.elastic.co/downloads/eck/1.9.1/operator-legacy.yaml
Monitor the operator logs:
kubectl -n elastic-system logs -f statefulset.apps/elastic-operator