mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-02-17 03:49:18 +00:00
Update cheatsheets
This commit is contained in:
41
eksctl
Normal file
41
eksctl
Normal file
@@ -0,0 +1,41 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, common]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# eksctl
|
||||
|
||||
> The official CLI for Amazon EKS.
|
||||
> More information: <https://eksctl.io>.
|
||||
|
||||
- Create a basic cluster:
|
||||
|
||||
`eksctl create cluster`
|
||||
|
||||
- List the details about a cluster or all of the clusters:
|
||||
|
||||
`eksctl get cluster --name={{name}} --region={{region}}`
|
||||
|
||||
- Create a cluster passing all configuration information in a file:
|
||||
|
||||
`eksctl create cluster --config-file={{path/to/file}}`
|
||||
|
||||
- Create a cluster using a configuration file and skip creating nodegroups until later:
|
||||
|
||||
`eksctl create cluster --config-file=<path> --without-nodegroup`
|
||||
|
||||
- Delete a cluster:
|
||||
|
||||
`eksctl delete cluster --name={{name}} --region={{region}}`
|
||||
|
||||
- Create cluster and write cluster credentials to a file other than the default:
|
||||
|
||||
`eksctl create cluster --name={{name}} --nodes={{4}} --kubeconfig={{path/to/config.yaml}}`
|
||||
|
||||
- Create a cluster and prevent storing cluster credentials locally:
|
||||
|
||||
`eksctl create cluster --name={{name}} --nodes={{4}} --write-kubeconfig=false`
|
||||
|
||||
- Create a cluster and let `eksctl` manage cluster credentials under the `~/.kube/eksctl/clusters` directory:
|
||||
|
||||
`eksctl create cluster --name={{name}} --nodes={{4}} --auto-kubeconfig`
|
||||
Reference in New Issue
Block a user