Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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 香菜饅頭營

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
```