You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/guides/kubernetes/migrating-from-aws-eks-to-linode-kubernetes-engine-lke/index.md
+43-45Lines changed: 43 additions & 45 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -41,18 +41,18 @@ This guide is written for a non-root user. Commands that require elevated privil
41
41
42
42

43
43
44
-
In the screenshot above, the cluster name is `wonderful-hideout-1734286097`. You also need to know the AWS region where your cluster resides. For this example, the region is `us-west-1` (not shown).
44
+
In the screenshot above, the cluster name is `wonderful-hideout-1734286097`. You also need to know the AWS region where your cluster resides (e.g. `us-west-1`).
45
45
46
-
1. Use the AWS CLI to update your local `kubeconfig` filewith your EKS cluster information:
46
+
1. Use the AWS CLI to update your local `kubeconfig` file, replacing {{< placeholder "AWS_REGION" >}} and {{< placeholder "EKS_CLUSTER_NAME" >}} with your actual EKS cluster information:
47
47
48
48
```command
49
49
aws eks update-kubeconfig \
50
-
--region us-west-1 \
51
-
--name wonderful-hideout-1734286097
50
+
--region {{< placeholder "AWS_REGION">}} \
51
+
--name {{< placeholder "EKS_CLUSTER_NAME">}}
52
52
```
53
53
54
54
```output
55
-
Added new context arn:aws:eks:us-west-1:153917289119:cluster/wonderful-hideout-1734286097 to /home/user/.kube/config
55
+
Added new context arn:aws:eks:{{< placeholder "AWS_REGION">}}:{{< placeholder "AWS_ACCOUNT_ID">}}:cluster/{{< placeholder "EKS_CLUSTER_NAME">}} to /home/user/.kube/config
56
56
```
57
57
58
58
1. If your `kubeconfig` file includes multiple clusters, use the following command to list the available contexts:
@@ -64,8 +64,7 @@ This guide is written for a non-root user. Commands that require elevated privil
64
64
1. Identify the context name for your EKS cluster, thenset it to the active context, for example:
@@ -77,8 +76,8 @@ This guide is written for a non-root user. Commands that require elevated privil
77
76
```
78
77
79
78
```output
80
-
Kubernetes control plane is running at https://35057E565F73FD2804B94EF5C9D24A34.yl4.us-west-1.eks.amazonaws.com
81
-
CoreDNS is running at https://35057E565F73FD2804B94EF5C9D24A34.yl4.us-west-1.eks.amazonaws.com/api/v1/namespaces/kube-system/services/kube-dns:dns/proxy
79
+
Kubernetes control plane is running at {{< placeholder "EKS_CONTROL_PLANE_URL">}}
80
+
CoreDNS is running at {{< placeholder "EKS_DNS_URL">}}
82
81
83
82
To further debug and diagnose cluster problems, use 'kubectl cluster-info dump'.
84
83
```
@@ -102,9 +101,9 @@ While Kubernetes does not have a native concept of a node group, all the nodes w
1. Test the service by adding a quote, replacing {{< placeholder "GO_QUOTE_SERVICE_EXTERNAL_HOSTNAME">}} with the actual `EXTERNAL-IP` of your `LoadBalancer`:
One node is ready, and it uses Kubernetes version 1.32.
@@ -448,8 +447,8 @@ To access your cluster, fetch the cluster credentials as a `kubeconfig` file.
448
447
```
449
448
450
449
```output
451
-
Kubernetes control plane is running at https://fa127859-38c1-4e40-971d-b5c7d5bd5e97.us-lax-2.linodelke.net:443
452
-
KubeDNS is running at https://fa127859-38c1-4e40-971d-b5c7d5bd5e97.us-lax-2.linodelke.net:443/api/v1/namespaces/kube-system/services/kube-dns:dns/proxy
450
+
Kubernetes control plane is running at {{< placeholder "LKE_CONTROL_PLANE_URL" >}}
451
+
KubeDNS is running at {{< placeholder "LKE_DNS_URL" >}}
453
452
454
453
To further debug and diagnose cluster problems, use 'kubectl cluster-info dump'.
455
454
```
@@ -470,24 +469,24 @@ Ensure that `kubectl` uses the original `kubeconfig` file with the EKS cluster c
1. Test the service by adding a quote, replacing {{< placeholder "GO_QUOTE_SERVICE_EXTERNAL_IP" >}} with the actual external IP address of your load balancer:
606
605
607
606
```command
608
607
curl -X POST \
609
608
--data '{"quote":"This is my first quote for LKE."}' \
@@ -639,15 +638,14 @@ When migrating from AWS EKS to LKE, there are several important factors to keep
639
638
Cost reduction is one reason an organization might migrate from AWS EKS to LKE. Typically, the compute cost of Kubernetes is the primary driver for migration. Use `kubectl` to find the instance type and capacity type for your AWS EKS instance.
640
639
641
640
```command
642
-
kubectl get node ip-192-168-31-10.us-west-1.compute.internal \
Reference the [AWS pricing page for EC2 On-Demand Instances](https://aws.amazon.com/ec2/pricing/on-demand/) to find the cost for your EKS instance. Compare this with the cost of a Linode instance with comparable resources by examining the [Linode pricing page](https://www.linode.com/pricing/).
0 commit comments