Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/frankyang0529/curl-list-pods
Assignment for 香菜饅頭營
https://github.com/frankyang0529/curl-list-pods
Last synced: about 1 month ago
JSON representation
Assignment for 香菜饅頭營
- Host: GitHub
- URL: https://github.com/frankyang0529/curl-list-pods
- Owner: FrankYang0529
- License: apache-2.0
- Created: 2023-07-24T02:47:21.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-07-24T02:52:33.000Z (over 1 year ago)
- Last Synced: 2024-10-03T20:19:16.124Z (about 1 month ago)
- Homepage: https://www.facebook.com/permalink.php?story_fbid=pfbid0GS4LsppbsuYKeUuvKw2bozaRZ23Eohve53K8fecwS2BCDWd7u8kzW3kwSY7UG3ETl&id=100090487996922
- Size: 5.86 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# curl-list-pods
## Run
1. Create a Kubernetes cluster. (Using kind for example)
```sh
kind create cluster --name yk8s --image kindest/node:v1.26.6
```2. Get kubconfig.
```sh
rm ~/.kube/config
kind get kubeconfig --name yk8s > ~/.kube/config
```3. Apply the YAML.
```sh
kubectl apply -f list-pods.yaml
```4. Get result.
```sh
kubectl logs list-pods
```