https://docs.aws.amazon.com/zh_cn/eks/latest/userguide/delete-cluster.html
https://eksctl.io/usage/vpc-networking/
- #####
- ## eksctl create cluster -f cluster.yml
- ### cluster.yml
- apiVersion: eksctl.io/v1alpha5
- kind: ClusterConfig
-
- metadata:
- name: my-cluster
- region: us-west-2
-
- vpc:
- cidr: 192.168.0.0/16
-
- managedNodeGroups:
- - name: ng-1
- instanceType: t3.medium
- desiredCapacity: 3
- minSize: 1
- maxSize: 4
- kubectl delete svc service-name
-
- ##
- eksctl delete cluster --name prod