Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
vutuong authored Dec 29, 2020
1 parent a25912b commit 9d993bc
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,21 @@ kubebuilder init --domain dcn.ssu.ac.kr
```
kubebuilder create api --group podmig --version v1 --kind Podmigration
```

## How to run:
* To run operator:
```
make run
```
* To run api-server :
```
go run ./api-server/cmd/main.go
```
* To test create Pod by calling Api-server:
```
curl --request POST 'localhost:5000/Podmigrations' --header 'Content-Type: application/json' --data-raw '{"name":"mig61"}'
curl --request GET 'localhost:5000/Podmigrations'
```
## Note
This operator is controller of Kuberntes Pod migration for Kubernetes. It needs several changes to work such as: kubelet, container-runtime-cri (containerd-cri). The modified vesions of Kuberntes and containerd-cri beside this operator can be found in the following repos:

Expand Down

0 comments on commit 9d993bc

Please sign in to comment.