Skip to content

Commit

Permalink
Merge pull request #53 from singchia/feat/controller
Browse files Browse the repository at this point in the history
operator: 1 frontier 1 frontlas deployment finished
  • Loading branch information
singchia committed May 15, 2024
2 parents ad812a0 + 65642e0 commit 476d09a
Show file tree
Hide file tree
Showing 47 changed files with 988 additions and 156 deletions.
12 changes: 6 additions & 6 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
include ./Makefile.defs

REGISTRY?=registry.hub.docker.com/singchia
REGISTRY?=singchia
CC?=cc

all: frontier frontlas
Expand Down Expand Up @@ -47,8 +47,8 @@ install-frontier:
install-frontlas:
install -m 0755 -d $(DESTDIR)$(BINDIR)
install -m 0755 -d $(DESTDIR)$(CONFDIR)
install -m 0755 ./bin/frontier $(DESTDIR)$(BINDIR)
install -m 0755 ./etc/frontier.yaml $(DESTDIR)$(CONFDIR)
install -m 0755 ./bin/frontlas $(DESTDIR)$(BINDIR)
install -m 0755 ./etc/frontlas.yaml $(DESTDIR)$(CONFDIR)

# image
.PHONY: image-frontier
Expand Down Expand Up @@ -91,16 +91,16 @@ container-frontier:
.PHONY: container-frontlas
container-frontlas:
docker rm -f frontlas
docker run -d --name frontlas -p 30021:30021 -p 30022:30022 frontlas:${VERSION} --config /usr/conf/frontlas.yaml -v 1
docker run -d --name frontlas -p 40011:40011 -p 40012:40012 ${REGISTRY}/frontlas:${VERSION} --config /usr/conf/frontlas.yaml -v 1

# api
.PHONY: api-frontier
api-frontier:
docker run --rm -v ${PWD}/api/controlplane/frontier/v1:/api/controlplane/frontier/v1 image-gen-api:${VERSION}
docker run --rm -v ${PWD}/api/controlplane/frontier/v1:/api/controlplane/v1 image-gen-api:${VERSION}

.PHONY: api-frontlas
api-frontlas:
docker run --rm -v ${PWD}/api/controlplane/frontlas/v1:/api/controlplane/frontlas/v1 image-gen-api:${VERSION}
docker run --rm -v ${PWD}/api/controlplane/frontlas/v1:/api/controlplane/v1 image-gen-api:${VERSION}

# bench
.PHONY: bench
Expand Down
11 changes: 6 additions & 5 deletions api/controlplane/frontier/v1/controlplane.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion api/controlplane/frontier/v1/controlplane_http.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions api/controlplane/frontlas/v1/cluster.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion api/controlplane/frontlas/v1/cluster_grpc.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

20 changes: 10 additions & 10 deletions api/controlplane/frontlas/v1/cluster_http.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 476d09a

Please sign in to comment.