Skip to content
This repository has been archived by the owner on Feb 18, 2024. It is now read-only.

Commit

Permalink
Merge pull request #264 from sofastack/feat.quick_start_fix
Browse files Browse the repository at this point in the history
quickstart make dev 删除load镜像操作
  • Loading branch information
gold300jin authored Nov 9, 2023
2 parents 350366c + 2cc021d commit dda671e
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions module-controller/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,6 @@ CONTAINER_TOOL ?= docker
SHELL = /usr/bin/env bash -o pipefail
.SHELLFLAGS = -ec

MODULE_DEPLOYMENT_YAML_FILE := config/samples/module-deployment-controller.yaml
MODULE_DEPLOYMENT_IMAGE := $(shell awk '/image:/{print $$2}' $(MODULE_DEPLOYMENT_YAML_FILE))
DYNAMIC_STOCK_YAML_FILE := config/samples/dynamic-stock-deployment.yaml
DYNAMIC_STOCK_IMAGE := $(shell awk '/image:/{print $$2}' $(DYNAMIC_STOCK_YAML_FILE))

.PHONY: all
all: build

Expand Down Expand Up @@ -132,8 +127,6 @@ undeploy: ## Undeploy controller from the K8s cluster specified in ~/.kube/confi

.PHONY: dev
dev: ## create all resource
minikube image load $(MODULE_DEPLOYMENT_IMAGE)
minikube image load $(DYNAMIC_STOCK_IMAGE)
@cat config/dev/dev.txt | xargs -I {} $(KUBECTL) apply -f {}
sleep 5
minikube service dynamic-stock-service
Expand Down

0 comments on commit dda671e

Please sign in to comment.