Step 1: Download YAML¶
Download v1.2.1 (or higher) of the ECK all-in-one.yaml file from Elastic's Official Repository
This YAML file includes ECK's Custom Resource Definitions and the elastic-operator with its RBAC rules.
Step 2: Deploy Workload¶
- Login into the Rafay Console and navigate to your Project as an Org Admin or Project Admin
- Under Infrastructure (or Applications if accessed with Project Admin role), select "Namespaces" and create a new namespace called "elastic-system"
- Go to Applications > Workloads
- Select "New Workload" to create a new workload called "elastic-operator"
- Ensure that you select "NativeYaml" for Package Type and select the namespace as "elastic-system"
- Click CONTINUE to next step
- Upload the downloaded "all-in-one.yaml" file above to NativeYaml > Choose File
- Save and Go to Placement
- Select the cluster that you would like to deploy the ECK Operator
- Publish the elastic-operator workload to the selected cluster
Step 3: Verify Deployment¶
In this step, you will verify whether the required resources have been successfully created on the cluster.
- After publishing the elastic-operator workload, click on the Debug button
- Click on the Kubectl button to open a virtual terminal for kubectl proxy access right to the "elastic-operator" namespace context of the cluster
First, we will verify whether ECK's Custom Resource Definitions (CRDs) are created
kubectl get crd NAME CREATED AT apmservers.apm.k8s.elastic.co 2020-08-13T21:15:28Z beats.beat.k8s.elastic.co 2020-08-13T21:15:34Z elasticsearches.elasticsearch.k8s.elastic.co 2020-08-13T21:15:40Z enterprisesearches.enterprisesearch.k8s.elastic.co 2020-08-13T21:15:45Z kibanas.kibana.k8s.elastic.co 2020-08-13T21:15:50Z
Elastic Operator Pods¶
Next, we will verify the status of pods for the "elastic-operator"
kubectl get pod NAME READY STATUS RESTARTS AGE elastic-operator-0 1/1 Running 1 23m