Skip to content

Instantly share code, notes, and snippets.

@afreeland
Last active June 30, 2022 14:55
Show Gist options
  • Select an option

  • Save afreeland/b7f8f792cdec3fec0d30c9f5bcf2624d to your computer and use it in GitHub Desktop.

Select an option

Save afreeland/b7f8f792cdec3fec0d30c9f5bcf2624d to your computer and use it in GitHub Desktop.

Revisions

  1. afreeland revised this gist Jun 30, 2022. 1 changed file with 5 additions and 1 deletion.
    6 changes: 5 additions & 1 deletion Update kubeconfig new cluster
    Original file line number Diff line number Diff line change
    @@ -1,5 +1,9 @@
    # List clusters
    aws eks list-clusters

    # You may need to target different profiles
    AWS_PROFILE={account-profile-name-here} aws eks list-clusters

    # Update kubeconfig with cluster info
    aws eks update-kubeconfig --name {cluster-name-here}
    aws eks update-kubeconfig --name {cluster-name-here}

  2. afreeland created this gist Jun 30, 2022.
    5 changes: 5 additions & 0 deletions Update kubeconfig new cluster
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,5 @@
    # List clusters
    aws eks list-clusters

    # Update kubeconfig with cluster info
    aws eks update-kubeconfig --name {cluster-name-here}