-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
27 lines (21 loc) · 765 Bytes
/
Makefile
File metadata and controls
27 lines (21 loc) · 765 Bytes
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
build:
docker build -t quay.io/cloudytimemachine/frontend .
minikube:
@minikube version
@minikube status
@minikube start
@echo 'Copy/Paste the following command into your shell:'
@echo 'eval $$(minikube docker-env) && export DOCKER_API_VERSION=1.23'
@export DOCKER_API_VERSION=1.23
minikube-context:
@kubectl config use-context minikube
minikube-create: minikube-context build
kubectl create -f kube/frontend.service.yml
kubectl create -f kube/frontend.deployment.yml
minikube-delete: minikube-context
kubectl delete -f kube/frontend.service.yml
kubectl delete -f kube/frontend.deployment.yml
minikube-apply: minikube-context
kubectl apply -f kube/frontend.deployment.yml
kubectl delete pod -l app=frontend
minikube-update: build minikube-apply