Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
vutuong authored Feb 4, 2021
1 parent 1207e04 commit 620dbb6
Showing 1 changed file with 11 additions and 5 deletions.
16 changes: 11 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# podmigration-operator

## The documents to init K8s cluster,which enable Podmigration, can be found at:
- https://github.com/SSU-DCN/podmigration-operator/blob/main/init-cluster-containerd-CRIU.md
## Kubebuilder init command
```
kubebuilder init --domain dcn.ssu.ac.kr
Expand All @@ -9,13 +10,18 @@ kubebuilder create api --group podmig --version v1 --kind Podmigration
```

## How to run:
* To run operator:
* To run Podmigration operator, which include CRD and custom controller:
```
$ make run
```
* To run api-server, which enable ```kubectl migrate``` command and GUI:
```
make run
$ go run ./api-server/cmd/main.go
```
* To run api-server :
* To run GUI:
```
go run ./api-server/cmd/main.go
$ cd podmigration-operator/gui
$ npm run serve
```
## Test live-migrate pod:
* Run/check video-stream application:
Expand Down

0 comments on commit 620dbb6

Please sign in to comment.