{"id":2831,"date":"2025-04-18T13:02:34","date_gmt":"2025-04-18T13:02:34","guid":{"rendered":"https:\/\/adjoe.io\/company\/engineer-blog\/kubernetes-configuration-migrate-from-elasticsearch-to-kubernetes\/"},"modified":"2026-11-12T22:56:05","modified_gmt":"2026-11-12T22:56:05","slug":"kubernetes-configuration-migrate-from-elasticsearch-to-kubernetes","status":"publish","type":"engineer_blog","link":"https:\/\/adjoe.io\/ko\/company\/engineer-blog\/kubernetes-configuration-migrate-from-elasticsearch-to-kubernetes\/","title":{"rendered":"Kubernetes Configuration: Migrating Elasticsearch from EC2 Instances"},"content":{"rendered":"<p class=\"wp-block-paragraph\">In our previous article, I explored the question: <a href=\"https:\/\/adjoe.io\/company\/engineer-blog\/kubernetes-architecture-why-migrate-to-kubernetes\/\" target=\"_blank\" rel=\"noreferrer noopener\">Why migrate to Kubernetes<\/a>? I looked at the resources needed for this migration, and you <em>might<\/em> remember that I showed you the architecture of an Elasticsearch cluster running on Kubernetes.<\/p><p class=\"wp-block-paragraph\">In this article, I will describe the essential configuration the <a href=\"https:\/\/adjoe.io\/\" target=\"_blank\" rel=\"noreferrer noopener\">adjoe<\/a> Cloud Engineering team needed to carry out in order to migrate Elasticsearch from EC2 instances to Kubernetes. We\u2019re talking ECK operators, Helm charts \u2013 you name it.<\/p><p class=\"wp-block-paragraph\">Let\u2019s dive deeper into the details.<\/p><h2 class=\"wp-block-heading\">Configuring an Elasticsearch Cluster via ECK Helm Chart<\/h2><p class=\"wp-block-paragraph\"><a href=\"https:\/\/www.elastic.co\/elasticsearch\/\" target=\"_blank\" rel=\"noreferrer noopener\">Elasticsearch<\/a> offers an ECK operator that not only makes deploying Elasticsearch and Kibana simple; it also goes further by handling most of the mundane tasks that require human intervention. We\u2019re talking about tasks such as upgrading or updating the cluster, and adding and\/or removing nodes to\/from the cluster. But the ECK operator does this all for us without any downtime.<\/p><p class=\"wp-block-paragraph\">We use Terraform to manage our Kubernetes cluster, which runs on AWS EKS. The ECK operator was installed on the Kubernetes cluster using the <a href=\"https:\/\/artifacthub.io\/packages\/helm\/elastic\/eck-operator\" target=\"_blank\" rel=\"noreferrer noopener\">ECK Helm chart<\/a>.<\/p>\n\n\t<div class=\"code-block code-block--acf code-block--has-language\" data-block=\"code-block\">\n\t\t\t\t\t<div class=\"code-block__header\">\n\t\t\t\t<span class=\"code-block__language\">YAML<\/span>\n\t\t\t<\/div>\n\t\t\t\t<pre class=\"code-block__pre\"><code class=\"code-block__code language-yaml\">resource &quot;helm_release&quot; &quot;es_operator&quot; {\n name             = &quot;elasticsearch-operator&quot;\n repository       = &quot;https:\/\/helm.elastic.co&quot;\n chart            = &quot;eck-operator&quot;\n create_namespace = true\n namespace        = &quot;elastic-system&quot;\n version          = var.eck_operator_version\n}<\/code><\/pre>\n\t<\/div>\n<p class=\"wp-block-paragraph\">We then create a Helm chart to deploy the following custom resource, which instructs the operator to make an Elasticsearch cluster. This is what it looks like.<\/p>\n\n\t<div class=\"code-block code-block--acf code-block--has-language\" data-block=\"code-block\">\n\t\t\t\t\t<div class=\"code-block__header\">\n\t\t\t\t<span class=\"code-block__language\">YAML<\/span>\n\t\t\t<\/div>\n\t\t\t\t<pre class=\"code-block__pre\"><code class=\"code-block__code language-yaml\">apiVersion: elasticsearch.k8s.elastic.co\/v1\nkind: Elasticsearch\nmetadata:\n annotations:\n   eck.k8s.elastic.co\/downward-node-labels: &quot;topology.kubernetes.io\/zone&quot;\n name: {{ .Values.cluster_name }}\nspec:\n version: {{ .Values.es_version }}\n auth:\n   fileRealm:\n   - secretName: secret-basic-auth\n http:\n   service:\n     spec:\n       type: NodePort\n       ports:\n       - name: http\n         port: 9200\n         targetPort: 9200\n   tls:\n     selfSignedCertificate:\n       disabled: true\n nodeSets:\n   - name: masters\n     count: {{ .Values.master_count }}\n     config:\n       node.attr.zone: ${ZONE}\n       cluster.routing.allocation.awareness.attributes: k8s_node_name,zone\n       bootstrap.memory_lock: true\n       node.roles: [&quot;master&quot;]\n       xpack.ml.enabled: true\n     podTemplate:\n       spec:\n       # restricts Elasticsearch nodes so they are only scheduled on Kubernetes hosts tagged with label instance-type: m5.2xlarge\n         affinity:\n           nodeAffinity:\n             requiredDuringSchedulingIgnoredDuringExecution:\n               nodeSelectorTerms:\n               - matchExpressions:\n                 - key: node.kubernetes.io\/instance-type\n                   operator: In\n                   values: {{- range .Values.kube_es_master_instance_type }}\n                     - {{ . }}\n                     {{- end }}\n         containers:\n           - name: elasticsearch\n             env:\n               - name: ZONE\n                 valueFrom:\n                   fieldRef:\n                     fieldPath: metadata.annotations[&#039;topology.kubernetes.io\/zone&#039;]\n             resources:\n               requests:\n                 memory: {{ .Values.master_memory_request }}\n                 cpu: {{ .Values.master_cpu_request }}\n               limits:\n                 memory: {{ .Values.master_memory_limit }}\n                 cpu: {{ .Values.master_cpu_limit }}\n           # Pod topology spread constraints to spread the Pods across availability zones in the Kubernetes cluster.\n         topologySpreadConstraints:\n           - maxSkew: {{.Values.kube_es_master_maxSkew}}\n             topologyKey: topology.kubernetes.io\/zone\n             whenUnsatisfiable: DoNotSchedule\n             labelSelector:\n               matchLabels:\n                 elasticsearch.k8s.elastic.co\/cluster-name: {{ .Values.cluster_name }}\n     volumeClaimTemplates:\n       - metadata:\n           name: elasticsearch-data\n         spec:\n           accessModes:\n             - ReadWriteOnce\n           resources:\n             requests:\n               storage: {{ .Values.master_disk_size }}\n           storageClassName: {{ .Values.storage_class }}\n   - name: data\n     count: {{ .Values.data_count }}\n     config:\n       node.attr.zone: ${ZONE}\n       cluster.routing.allocation.awareness.attributes: k8s_node_name,zone\n       bootstrap.memory_lock: true\n       node.roles: [&quot;data&quot;]\n     podTemplate:\n       spec:\n       # restricts Elasticsearch nodes so they are only scheduled on Kubernetes hosts tagged with any of the specified instance types.\n         affinity:\n           nodeAffinity:\n             requiredDuringSchedulingIgnoredDuringExecution:\n               nodeSelectorTerms:\n               - matchExpressions:\n                 - key: node.kubernetes.io\/instance-type\n                   operator: In\n                   values: {{- range .Values.kube_es_data_instance_type }}\n                     - {{ . }}\n                     {{- end }}\n         containers:\n           - name: elasticsearch\n             env:\n               - name: ZONE\n                 valueFrom:\n                   fieldRef:\n                     fieldPath: metadata.annotations[&#039;topology.kubernetes.io\/zone&#039;]\n             resources:\n               requests:\n                 memory: {{ .Values.data_memory_request }}\n                 cpu: {{ .Values.data_cpu_request }}\n               limits:\n                 memory: {{ .Values.data_memory_limit }}\n                 cpu: {{ .Values.data_cpu_limit }}\n       # Pod topology spread constraints to spread the Pods across availability zones in the Kubernetes cluster.\n         topologySpreadConstraints:\n           - maxSkew: {{.Values.kube_es_data_maxSkew}}\n             topologyKey: topology.kubernetes.io\/zone\n             whenUnsatisfiable: DoNotSchedule\n             labelSelector:\n               matchLabels:\n                 elasticsearch.k8s.elastic.co\/cluster-name: {{ .Values.cluster_name }}\n     volumeClaimTemplates:\n       - metadata:\n           name: elasticsearch-data\n         spec:\n           accessModes:\n             - ReadWriteOnce\n           resources:\n             requests:\n               storage: {{ .Values.data_disk_size }}\n           storageClassName: {{ .Values.storage_class }}<\/code><\/pre>\n\t<\/div>\n<h2 class=\"wp-block-heading\">How Do You Configure Kibana via Helm Chart?<\/h2><p class=\"wp-block-paragraph\">There are two configurations set, one for the Elasticsearch master nodes; the other is for data nodes. Both sections consist of similar configurations.\u00a0<\/p><p class=\"wp-block-paragraph\">One of the most important parts of configuration are the topology spread constraints. These were specified in order for the pods to be spread on all the availability zones. We did this because we didn\u2019t want all or most of the pods to be scheduled in one availability zone. We also wanted the pods to be scheduled on certain instance types only, which is described in both of the sections as well.<\/p><p class=\"wp-block-paragraph\">Then we come to <a href=\"https:\/\/www.elastic.co\/kibana\/\" target=\"_blank\" rel=\"noreferrer noopener\">Kibana<\/a>. We not only needed the Kibana pod but also a proxy container to handle all the incoming traffic, authenticate the user with Google SSO, and then redirect the authenticated user to Kibana. SSO is also available as a feature in Kibana; however, we use the basic Elasticsearch license, which does not include this feature. Hence we used <a href=\"https:\/\/oauth2-proxy.github.io\/oauth2-proxy\/\" target=\"_blank\" rel=\"noreferrer noopener\">OAuth2 Proxy<\/a> for Google authentication.\u00a0<\/p><p class=\"wp-block-paragraph\">Here\u2019s the Helm chart for Kibana.<\/p>\n\n\t<div class=\"code-block code-block--acf code-block--has-language\" data-block=\"code-block\">\n\t\t\t\t\t<div class=\"code-block__header\">\n\t\t\t\t<span class=\"code-block__language\">YAML<\/span>\n\t\t\t<\/div>\n\t\t\t\t<pre class=\"code-block__pre\"><code class=\"code-block__code language-yaml\">apiVersion: kibana.k8s.elastic.co\/v1\nkind: Kibana\nmetadata:\n name: kibana\nspec:\n version: {{ .Values.es_version }}\n http:\n   service:\n     spec:\n       type: NodePort\n       ports:\n       - name: http\n         port: 80\n         targetPort: 3000\n   tls:\n     selfSignedCertificate:\n       disabled: true\n count: 1\n elasticsearchRef:\n   name: {{ .Values.cluster_name }}\n config:\n   server.publicBaseUrl: {{ .Values.kibana_url }}\n   xpack.security.authc.providers:\n     anonymous.anonymous1:\n       order: 0\n       credentials:\n         username: &quot;xxx&quot;\n         password: {{ .Values.es_readonly_password }}\n     basic.basic1:\n       order: 1\n podTemplate:\n   spec:\n     containers:\n     - name: kibana\n       resources:\n         requests:\n           memory: {{ .Values.kibana_memory_request }}\n           cpu: {{ .Values.kibana_cpu_request }}\n         limits:\n           memory: {{ .Values.kibana_memory_limit }}\n           cpu: {{ .Values.kibana_cpu_limit }}\n       volumeMounts:\n       - name: elasticsearch-templates\n         mountPath: \/etc\/elasticsearch-templates\n         readOnly: true\n     - name: kibana-proxy\n       image: &#039;quay.io\/oauth2-proxy\/oauth2-proxy:latest&#039;\n       imagePullPolicy: IfNotPresent\n       args:\n         - --cookie-secret={{ .Values.cookie_secret }}\n         - --client-id={{ .Values.client_id }}\n         - --client-secret={{ .Values.client_secret }}\n         - --upstream=http:\/\/localhost:5601\n         - --email-domain=example.com\n         - --footer=-\n         - --http-address=http:\/\/:3000\n         - --redirect-url={{ .Values.redirect_url }}\n         - --custom-sign-in-logo=https:\/\/path\/to\/logo\n       ports:\n         - containerPort: 3000\n           name: http\n           protocol: TCP\n       resources:\n         requests:\n           memory: {{ .Values.proxy_memory_request }}\n           cpu: {{ .Values.proxy_cpu_request }}\n         limits:\n           memory: {{ .Values.proxy_memory_limit }}\n           cpu: {{ .Values.proxy_cpu_limit }}\n     volumes:\n       - name: elasticsearch-templates\n         configMap:\n           name: ilm-and-index-templates<\/code><\/pre>\n\t<\/div>\n<p class=\"wp-block-paragraph\">As you might notice in the metadata, a service of type NodePort is requested. An ingress load balancer (not in this configuration) has been configured to route http and https traffic to port 3000 of the Kibana-proxy container. The <em>.Values.{variable}<\/em> fields in these configurations are the placeholders for the variables, which will be passed from the various environments.<\/p><h2 class=\"wp-block-heading\">Automating Post-Cluster Setup Configurations<\/h2><p class=\"wp-block-paragraph\">Once the charts were deployed and the cluster was up and running, we also needed to carry out some manual configurations. This included index templates, index lifecycle management, policies, roles, data view index pattern creation, etc.\u00a0<\/p><p class=\"wp-block-paragraph\">To automate these tasks, we used Kubernetes resources \u2013 that is, ConfigMaps and <a href=\"https:\/\/kubernetes.io\/docs\/concepts\/workloads\/controllers\/cron-jobs\/\" target=\"_blank\" rel=\"noreferrer noopener\">CronJobs<\/a>. We created all the necessary API requests as JSON files and, using ConfigMaps, mounted them on the attached volumes. A shell script that makes the API requests using the JSON files is also mounted. This script is executed on a daily basis with CronJob as well as after spawning the Kibana pod.\u00a0<\/p><p class=\"wp-block-paragraph\">Here\u2019s the CronJob.<\/p>\n\n\t<div class=\"code-block code-block--acf code-block--has-language\" data-block=\"code-block\">\n\t\t\t\t\t<div class=\"code-block__header\">\n\t\t\t\t<span class=\"code-block__language\">YAML<\/span>\n\t\t\t<\/div>\n\t\t\t\t<pre class=\"code-block__pre\"><code class=\"code-block__code language-yaml\">apiVersion: batch\/v1\nkind: CronJob\nmetadata:\n name: script-execution\nspec:\n schedule: &quot;0 5 * * *&quot;\n jobTemplate:\n   spec:\n     template:\n       spec:\n         containers:\n         - name: script-execution\n           image: alpine\/curl:latest\n           imagePullPolicy: IfNotPresent\n           command:\n           - \/bin\/sh\n           - -c\n           - sh \/etc\/elasticsearch-templates\/execution-script.sh\n           volumeMounts:\n           - name: elasticsearch-templates\n             mountPath: \/etc\/elasticsearch-templates\n             readOnly: true\n         restartPolicy: OnFailure\n         volumes:\n           - name: elasticsearch-templates\n             configMap:\n               name: ilm-and-index-templates<\/code><\/pre>\n\t<\/div>\n<p class=\"wp-block-paragraph\">The ConfigMap is mounted on the volumes using Terraform.<\/p>\n\n\t<div class=\"code-block code-block--acf code-block--has-language\" data-block=\"code-block\">\n\t\t\t\t\t<div class=\"code-block__header\">\n\t\t\t\t<span class=\"code-block__language\">Go<\/span>\n\t\t\t<\/div>\n\t\t\t\t<pre class=\"code-block__pre\"><code class=\"code-block__code language-go\">resource &quot;kubernetes_config_map&quot; &quot;ilm-and-index-templates&quot; {\n metadata {\n   name      = &quot;ilm-and-index-templates&quot;\n   namespace = var.namespace\n }\n data = {\n    &quot;application-indices.json&quot; = templatefile(&quot;${path.module}\/templates\/application-indices.json&quot;,\n     {\n       ENV            = var.environment\n       APP_LOG_PREFIX = var.app_log_prefix\n     }\n   )\n   &quot;execution-script.sh&quot; = templatefile(&quot;${path.module}\/templates\/execution-script.sh&quot;,\n     {\n       ENV             = var.environment\n       CLUSTER_NAME    = var.cluster_name\n       ES_USER         = var.es_user\n       ES_PASSWORD     = data.kubernetes_secret.pass.data[&quot;elastic&quot;]\n   )\n   &quot;delete-old-indices-policy.json&quot; = templatefile(&quot;${path.module}\/templates\/delete-old-indices-policy.json&quot;,\n     {\n       RETENTION_AGE = var.retention_age\n     }\n   )\n }\n}<\/code><\/pre>\n\t<\/div>\n<p class=\"wp-block-paragraph\">To give you an idea, I\u2019ll give you the shell script, too.<\/p>\n\n\t<div class=\"code-block code-block--acf code-block--has-language\" data-block=\"code-block\">\n\t\t\t\t\t<div class=\"code-block__header\">\n\t\t\t\t<span class=\"code-block__language\">Go<\/span>\n\t\t\t<\/div>\n\t\t\t\t<pre class=\"code-block__pre\"><code class=\"code-block__code language-go\"># Life Cycle Policy\ncurl -s -XPUT &quot;http:\/\/${ES_USER}:${ES_PASSWORD}@${CLUSTER_NAME}-es-http.elasticsearch.svc:9200\/_ilm\/policy\/Delete_app_indices&quot; -H &#039;Content-Type: application\/json&#039; -d @\/etc\/elasticsearch-templates\/delete-old-indices-policy.json\n\n\n# Index templates\ncurl -s -XPUT &quot;http:\/\/${ES_USER}:${ES_PASSWORD}@${CLUSTER_NAME}-es-http.elasticsearch.svc:9200\/_index_template\/application-indices&quot; -H &#039;Content-Type: application\/json&#039; -d @\/etc\/elasticsearch-templates\/application-indices.json<\/code><\/pre>\n\t<\/div>\n<h2 class=\"wp-block-heading\">Following on from Our Kubernetes Configuration<\/h2><p class=\"wp-block-paragraph\">In the next article, I discuss the <a href=\"https:\/\/adjoe.io\/company\/engineer-blog\/lessons-learned-while-migrating-elasticsearch-to-kubernetes\/\" target=\"_blank\" rel=\"noreferrer noopener\">lessons we have learned as a team<\/a> while migrating Elasticsearch from EC2 instances to Kubernetes.<\/p><ul class=\"wp-block-list\"><li>What could we have done initially in order to optimize the time it took to find a working solution?<\/li><li>Was this migration worthwhile? Or was it just some fancy way to run Elasticsearch without any added benefit to the simple installation on EC2 (or a physical node)?<\/li><\/ul><p class=\"wp-block-paragraph\">Stay tuned for my final article!<\/p><section class=\"l-section l-section--jobs-include is-light l-pt-lg l-pb-lg\" data-block=\"jobs-include\">\n\t<div class=\"l-wrapper\">\n\t\t<div class=\"jobs-include\">\n\t\t\t\n\t\t\t<div class=\"jobs-include__table-wrap\" tabindex=\"0\">\n\t\t\t\t<table id=\"jobs-include-table-1\" class=\"jobs-include__table\">\n\t\t\t\t\t<thead>\n\t\t\t\t\t\t<tr>\n\t\t\t\t\t\t\t<th scope=\"col\">Role<\/th>\n\t\t\t\t\t\t\t<th scope=\"col\">Team<\/th>\n\t\t\t\t\t\t\t<th scope=\"col\">Location<\/th>\n\t\t\t\t\t\t<\/tr>\n\t\t\t\t\t<\/thead>\n\t\t\t\t\t<tbody>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<tr>\n\t\t\t\t\t\t\t\t<th scope=\"row\" data-label=\"Role\">\n\t\t\t\t\t\t\t\t\t<a class=\"jobs-include__role\" href=\"https:\/\/adjoe.io\/ko\/careers\/open-positions\/b3da0e2e-c23f-4897-8ee6-22d15d7aaa19\/\">\n\t\t\t\t\t\t\t\t\t\t(Senior) DevOps Engineer  (f\/m\/d)\t\t\t\t\t\t\t\t\t<\/a>\n\t\t\t\t\t\t\t\t<\/th>\n\t\t\t\t\t\t\t\t<td data-label=\"Team\">\n\t\t\t\t\t\t\t\t\tCloud Engineering\t\t\t\t\t\t\t\t<\/td>\n\t\t\t\t\t\t\t\t<td data-label=\"Location\">\n\t\t\t\t\t\t\t\t\tHamburg\t\t\t\t\t\t\t\t<\/td>\n\t\t\t\t\t\t\t<\/tr>\n\t\t\t\t\t\t\t\t\t\t\t<\/tbody>\n\t\t\t\t<\/table>\n\t\t\t<\/div>\n\t\t<\/div>\n\t<\/div>\n<\/section>\n","protected":false},"excerpt":{"rendered":"<p>In our previous article, I explored the question: Why migrate to Kubernetes? I looked at the resources needed for this&#8230;<\/p>\n","protected":false},"author":3,"featured_media":2891,"template":"","engineer_blog_category":[75],"class_list":["post-2831","engineer_blog","type-engineer_blog","status-publish","has-post-thumbnail","hentry","engineer_blog_category-infrastructure"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v28.9 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Kubernetes Configuration: Migrating Elasticsearch from EC2 Instances - adjoe | Making every interaction the start of lasting value<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/adjoe.io\/ko\/company\/engineer-blog\/kubernetes-configuration-migrate-from-elasticsearch-to-kubernetes\/\" \/>\n<meta property=\"og:locale\" content=\"ko_KR\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Kubernetes Configuration: Migrating Elasticsearch from EC2 Instances - adjoe | Making every interaction the start of lasting value\" \/>\n<meta property=\"og:description\" content=\"In our previous article, I explored the question: Why migrate to Kubernetes? I looked at the resources needed for this...\" \/>\n<meta property=\"og:url\" content=\"https:\/\/adjoe.io\/ko\/company\/engineer-blog\/kubernetes-configuration-migrate-from-elasticsearch-to-kubernetes\/\" \/>\n<meta property=\"og:site_name\" content=\"adjoe | Making every interaction the start of lasting value\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/people\/Adjoe\/100076450974671\/\" \/>\n<meta property=\"article:modified_time\" content=\"2026-11-12T22:56:05+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/adjoe.io\/wp-content\/uploads\/2022\/12\/kubernetes-configuration.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"1920\" \/>\n\t<meta property=\"og:image:height\" content=\"1080\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/adjoe.io\\\/ko\\\/company\\\/engineer-blog\\\/kubernetes-configuration-migrate-from-elasticsearch-to-kubernetes\\\/\",\"url\":\"https:\\\/\\\/adjoe.io\\\/ko\\\/company\\\/engineer-blog\\\/kubernetes-configuration-migrate-from-elasticsearch-to-kubernetes\\\/\",\"name\":\"Kubernetes Configuration: Migrating Elasticsearch from EC2 Instances - adjoe | Making every interaction the start of lasting value\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/adjoe.io\\\/ko\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/adjoe.io\\\/ko\\\/company\\\/engineer-blog\\\/kubernetes-configuration-migrate-from-elasticsearch-to-kubernetes\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/adjoe.io\\\/ko\\\/company\\\/engineer-blog\\\/kubernetes-configuration-migrate-from-elasticsearch-to-kubernetes\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/adjoe.io\\\/wp-content\\\/uploads\\\/2022\\\/12\\\/kubernetes-configuration.jpg\",\"datePublished\":\"2025-04-18T13:02:34+00:00\",\"dateModified\":\"2026-11-12T22:56:05+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/adjoe.io\\\/ko\\\/company\\\/engineer-blog\\\/kubernetes-configuration-migrate-from-elasticsearch-to-kubernetes\\\/#breadcrumb\"},\"inLanguage\":\"ko-KR\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/adjoe.io\\\/ko\\\/company\\\/engineer-blog\\\/kubernetes-configuration-migrate-from-elasticsearch-to-kubernetes\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"ko-KR\",\"@id\":\"https:\\\/\\\/adjoe.io\\\/ko\\\/company\\\/engineer-blog\\\/kubernetes-configuration-migrate-from-elasticsearch-to-kubernetes\\\/#primaryimage\",\"url\":\"https:\\\/\\\/adjoe.io\\\/wp-content\\\/uploads\\\/2022\\\/12\\\/kubernetes-configuration.jpg\",\"contentUrl\":\"https:\\\/\\\/adjoe.io\\\/wp-content\\\/uploads\\\/2022\\\/12\\\/kubernetes-configuration.jpg\",\"width\":1920,\"height\":1080,\"caption\":\"decorative image of purple kubernetes logo with cloud element\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/adjoe.io\\\/ko\\\/company\\\/engineer-blog\\\/kubernetes-configuration-migrate-from-elasticsearch-to-kubernetes\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/adjoe.io\\\/ko\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Kubernetes Configuration: Migrating Elasticsearch from EC2 Instances\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/adjoe.io\\\/ko\\\/#website\",\"url\":\"https:\\\/\\\/adjoe.io\\\/ko\\\/\",\"name\":\"adjoe | Making every interaction the start of lasting value\",\"description\":\"adjoe is a global tech company powering user acquisition, monetization and audience engagement across the app economy \u2013 making every interaction the start of lasting value.\",\"publisher\":{\"@id\":\"https:\\\/\\\/adjoe.io\\\/ko\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/adjoe.io\\\/ko\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"ko-KR\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/adjoe.io\\\/ko\\\/#organization\",\"name\":\"adjoe | Making every interaction the start of lasting value\",\"url\":\"https:\\\/\\\/adjoe.io\\\/ko\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"ko-KR\",\"@id\":\"https:\\\/\\\/adjoe.io\\\/ko\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/adjoe.io\\\/wp-content\\\/uploads\\\/2026\\\/11\\\/OG-img-1200x630-1.jpg\",\"contentUrl\":\"https:\\\/\\\/adjoe.io\\\/wp-content\\\/uploads\\\/2026\\\/11\\\/OG-img-1200x630-1.jpg\",\"width\":1200,\"height\":630,\"caption\":\"adjoe | Making every interaction the start of lasting value\"},\"image\":{\"@id\":\"https:\\\/\\\/adjoe.io\\\/ko\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/www.facebook.com\\\/people\\\/Adjoe\\\/100076450974671\\\/\",\"https:\\\/\\\/www.instagram.com\\\/adjoe.io\\\/\",\"https:\\\/\\\/www.linkedin.com\\\/company\\\/adjoe\"]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Kubernetes Configuration: Migrating Elasticsearch from EC2 Instances - adjoe | Making every interaction the start of lasting value","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/adjoe.io\/ko\/company\/engineer-blog\/kubernetes-configuration-migrate-from-elasticsearch-to-kubernetes\/","og_locale":"ko_KR","og_type":"article","og_title":"Kubernetes Configuration: Migrating Elasticsearch from EC2 Instances - adjoe | Making every interaction the start of lasting value","og_description":"In our previous article, I explored the question: Why migrate to Kubernetes? I looked at the resources needed for this...","og_url":"https:\/\/adjoe.io\/ko\/company\/engineer-blog\/kubernetes-configuration-migrate-from-elasticsearch-to-kubernetes\/","og_site_name":"adjoe | Making every interaction the start of lasting value","article_publisher":"https:\/\/www.facebook.com\/people\/Adjoe\/100076450974671\/","article_modified_time":"2026-11-12T22:56:05+00:00","og_image":[{"width":1920,"height":1080,"url":"https:\/\/adjoe.io\/wp-content\/uploads\/2022\/12\/kubernetes-configuration.jpg","type":"image\/jpeg"}],"twitter_card":"summary_large_image","schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/adjoe.io\/ko\/company\/engineer-blog\/kubernetes-configuration-migrate-from-elasticsearch-to-kubernetes\/","url":"https:\/\/adjoe.io\/ko\/company\/engineer-blog\/kubernetes-configuration-migrate-from-elasticsearch-to-kubernetes\/","name":"Kubernetes Configuration: Migrating Elasticsearch from EC2 Instances - adjoe | Making every interaction the start of lasting value","isPartOf":{"@id":"https:\/\/adjoe.io\/ko\/#website"},"primaryImageOfPage":{"@id":"https:\/\/adjoe.io\/ko\/company\/engineer-blog\/kubernetes-configuration-migrate-from-elasticsearch-to-kubernetes\/#primaryimage"},"image":{"@id":"https:\/\/adjoe.io\/ko\/company\/engineer-blog\/kubernetes-configuration-migrate-from-elasticsearch-to-kubernetes\/#primaryimage"},"thumbnailUrl":"https:\/\/adjoe.io\/wp-content\/uploads\/2022\/12\/kubernetes-configuration.jpg","datePublished":"2025-04-18T13:02:34+00:00","dateModified":"2026-11-12T22:56:05+00:00","breadcrumb":{"@id":"https:\/\/adjoe.io\/ko\/company\/engineer-blog\/kubernetes-configuration-migrate-from-elasticsearch-to-kubernetes\/#breadcrumb"},"inLanguage":"ko-KR","potentialAction":[{"@type":"ReadAction","target":["https:\/\/adjoe.io\/ko\/company\/engineer-blog\/kubernetes-configuration-migrate-from-elasticsearch-to-kubernetes\/"]}]},{"@type":"ImageObject","inLanguage":"ko-KR","@id":"https:\/\/adjoe.io\/ko\/company\/engineer-blog\/kubernetes-configuration-migrate-from-elasticsearch-to-kubernetes\/#primaryimage","url":"https:\/\/adjoe.io\/wp-content\/uploads\/2022\/12\/kubernetes-configuration.jpg","contentUrl":"https:\/\/adjoe.io\/wp-content\/uploads\/2022\/12\/kubernetes-configuration.jpg","width":1920,"height":1080,"caption":"decorative image of purple kubernetes logo with cloud element"},{"@type":"BreadcrumbList","@id":"https:\/\/adjoe.io\/ko\/company\/engineer-blog\/kubernetes-configuration-migrate-from-elasticsearch-to-kubernetes\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/adjoe.io\/ko\/"},{"@type":"ListItem","position":2,"name":"Kubernetes Configuration: Migrating Elasticsearch from EC2 Instances"}]},{"@type":"WebSite","@id":"https:\/\/adjoe.io\/ko\/#website","url":"https:\/\/adjoe.io\/ko\/","name":"adjoe | Making every interaction the start of lasting value","description":"adjoe is a global tech company powering user acquisition, monetization and audience engagement across the app economy \u2013 making every interaction the start of lasting value.","publisher":{"@id":"https:\/\/adjoe.io\/ko\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/adjoe.io\/ko\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"ko-KR"},{"@type":"Organization","@id":"https:\/\/adjoe.io\/ko\/#organization","name":"adjoe | Making every interaction the start of lasting value","url":"https:\/\/adjoe.io\/ko\/","logo":{"@type":"ImageObject","inLanguage":"ko-KR","@id":"https:\/\/adjoe.io\/ko\/#\/schema\/logo\/image\/","url":"https:\/\/adjoe.io\/wp-content\/uploads\/2026\/11\/OG-img-1200x630-1.jpg","contentUrl":"https:\/\/adjoe.io\/wp-content\/uploads\/2026\/11\/OG-img-1200x630-1.jpg","width":1200,"height":630,"caption":"adjoe | Making every interaction the start of lasting value"},"image":{"@id":"https:\/\/adjoe.io\/ko\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/people\/Adjoe\/100076450974671\/","https:\/\/www.instagram.com\/adjoe.io\/","https:\/\/www.linkedin.com\/company\/adjoe"]}]}},"_links":{"self":[{"href":"https:\/\/adjoe.io\/ko\/wp-json\/wp\/v2\/engineer_blog\/2831","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/adjoe.io\/ko\/wp-json\/wp\/v2\/engineer_blog"}],"about":[{"href":"https:\/\/adjoe.io\/ko\/wp-json\/wp\/v2\/types\/engineer_blog"}],"author":[{"embeddable":true,"href":"https:\/\/adjoe.io\/ko\/wp-json\/wp\/v2\/users\/3"}],"version-history":[{"count":2,"href":"https:\/\/adjoe.io\/ko\/wp-json\/wp\/v2\/engineer_blog\/2831\/revisions"}],"predecessor-version":[{"id":3102,"href":"https:\/\/adjoe.io\/ko\/wp-json\/wp\/v2\/engineer_blog\/2831\/revisions\/3102"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/adjoe.io\/ko\/wp-json\/wp\/v2\/media\/2891"}],"wp:attachment":[{"href":"https:\/\/adjoe.io\/ko\/wp-json\/wp\/v2\/media?parent=2831"}],"wp:term":[{"taxonomy":"engineer_blog_category","embeddable":true,"href":"https:\/\/adjoe.io\/ko\/wp-json\/wp\/v2\/engineer_blog_category?post=2831"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}