eks
1 find / -name linux-amd64/helm
2 find / -name helm
3 cp -a /home/ec2-user/linux-amd64/helm /usr/bin/
4 helm version
5 curl -O https://s3.us-west-2.amazonaws.com/amazon-eks7.9/2024-01-04/bin/inux/amd64/kubectl
6 chmod +x kubectl && mv kubectl /usr/bin/
7 kubectl version
8 \rm /usr/bin/kubectl
9 uname -a
10 curl -O https://s3.us-west-2.amazonaws.com/amazon-eks/1.31.2/2024-11-15/bin/linux/amd64/kubectl
11 ls
12 chmod +x kubectl
13 mv kubectl /usr/bin/
14 kubectl versio
15 kubectl version
16 aws eks update-kubeconfig --region us-east-1 --name eks-cluster-test
17 aws config list
18 aws configure list
19 aws sts get-caller-identity
20 aws eks update-kubeconfig --region us-east-1 --name eks-cluster-test
21 aws configure
22 aws configure list
23 aws eks update-kubeconfig --region us-east-1 --name eks-cluster-test
24 kubectl get node
25 bash -c "$(curl -fssL https://image-auto-scaleing.s3.cn-north-1.amazonaws.com.cn/awscli-update.sh)"
26 kubectl get node
27 rm -rf .kube/*
28 aws eks update-kubeconfig --region us-east-1 --name eks-cluster-test
29 kubectl get node
30 ip a
31 telnet 192.168.5.3 443
32 yum install telnet -y
33 telnet 192.168.5.3 443
34 ping 192.168.5.3
35 ip a
36 ping 192.168.11.120
37 kubectl get node
38 kubectl get pod
39 rm -rf .kube/
40 aws eks update-kubeconfig --region us-east-1 --name eks-cluster-test
41 kubectl get node
42 aws sts get-caller-identity
43 aws sts get-caller-indentity
44 aws sts get-caller-identity
45 aws sts get-caller-indentity
46 aws sts get-caller-identity
47 kubectl get node
48 kubectl get pod -A
49 docker logs
50 kubectl describe deployment coredns -n kube-system
51 kubectl describe deployment metrics-server -n kube-system
52 yum install docker
53 kubectl get pod -A -wide
54 kubectl get pod -A --wide
55 kubectl get pod -A -o wide
56 kubectl get node -A -o wide
57 docker pull 602401143452.dkr.ecr.us-west-2.amazonaws.com/eks/metrics-server:v0.7.2-eksbuild.1
58 systemctl start docker
59 docker pull 602401143452.dkr.ecr.us-west-2.amazonaws.com/eks/metrics-server:v0.7.2-eksbuild.1
60 kubectl get pod -A -o wide
61 kubectl create deploy nginx
62 -image=nginx:1.20
63 kubectl create deploy nginx -image=nginx:1.20 --replicas=3
64 kubectl create deploy nginx --image=nginx:1.20 --replicas=3
65 kubectl get pod -A -o wide