-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
29 lines (22 loc) · 940 Bytes
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
TAG=tarantool/getting-started-app:0.1
build:
cartridge build
cartridge pack docker --tag $(TAG)
up:
minikube start
helm repo add tarantool https://tarantool.github.io/helm-charts/
helm upgrade --install tarantool-operator-ce tarantool/tarantool-operator -n tarantool-operator --create-namespace
kubectl wait --for=condition=Available deployment tarantool-operator-ce -n tarantool-operator --timeout=600s
kubectl get pods -n tarantool-operator
down:
minikube delete
load:
docker image save $(TAG) -o /tmp/tmp.tar
./minikube-load.sh /tmp/tmp.tar
restart: down up load start
start:
helm upgrade --install tarantool-app tarantool/cartridge --values values.yaml -n example --create-namespace
kubectl wait cluster.tarantool.io tarantool-app-cartridge -n example --for=jsonpath='{.status.phase}'=Ready --timeout=600s
kubectl get svc -n example
tunnel:
kubectl port-forward svc/tarantool-app-cartridge-role-api 8081 -n example