-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
29 lines (23 loc) · 957 Bytes
/
Makefile
File metadata and controls
29 lines (23 loc) · 957 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
28
29
build:
docker build -t quay.io/cloudytimemachine/worker-screenshot .
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/worker-screenshot.configmap.yml
kubectl create -f kube/worker-screenshot.deployment.yml
minikube-delete: minikube-context
kubectl delete -f ../infrastructure/secrets/gcloud-bucket.secret.yml
kubectl delete -f kube/worker-screenshot.configmap.yml
kubectl delete -f kube/worker-screenshot.deployment.yml
minikube-apply: minikube-context
kubectl apply -f kube/worker-screenshot.configmap.yml
kubectl apply -f kube/worker-screenshot.deployment.yml
kubectl delete pod -l app=worker-screenshot
minikube-update: build minikube-apply