官网
https://docs.aws.amazon.com/zh_cn/eks/latest/userguide/delete-cluster.html
eksctl 官网
https://eksctl.io/usage/vpc-networking/
指定vpc网段
#####
## eksctl create cluster -f cluster.yml
### cluster.yml
apiVersion: eksctl.io/v1alpha5
kind: ClusterConfigmetadata:name: my-clusterregion: us-west-2vpc:cidr: 192.168.0.0/16managedNodeGroups:
- name: ng-1instanceType: t3.mediumdesiredCapacity: 3minSize: 1maxSize: 4
删除集群
kubectl delete svc service-name##
eksctl delete cluster --name prod