https://github.com/roylee0704/hello-k8
a collections of k8 exp
https://github.com/roylee0704/hello-k8
Last synced: 2 months ago
JSON representation
a collections of k8 exp
- Host: GitHub
- URL: https://github.com/roylee0704/hello-k8
- Owner: roylee0704
- Created: 2020-11-03T08:02:30.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2020-11-08T15:39:45.000Z (over 4 years ago)
- Last Synced: 2024-12-27T23:09:26.474Z (4 months ago)
- Language: Makefile
- Size: 33.2 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# hello-k8
a collections of k8 exp## Getting Started
Make sure you are connected to any k8s cluster choices of yours. In this example, I'm connecting to k8s from aws-provider, eks.
```sh
# authenticate myself to aws provider
$ aws-vault exec roy@xyz# download k8s context from eks
$ aws eks --region ap-southeast-1 update-kubeconfig --name your-cluster-name# command k8s to connect to eks via downloaded context
$ kubectl config use-context arn:aws:eks:ap-southeast-1:xyx
```