-
Notifications
You must be signed in to change notification settings - Fork 90
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Run Nameko Examples on Kubernetes (#1)
* k8s Deployment files created * Ingress added. Fixes to products config file. * Definitions converted to charts * Tutorial added * Readme updates * Update to Readme * Nameko loves Kubernetes * Update to Readme * Update to readme. * Update to Readme * Readme updates * Bump nameko version
- Loading branch information
Showing
26 changed files
with
599 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
CONTEXT ?= minikube | ||
NAMESPACE ?= examples | ||
TAG ?= latest | ||
|
||
deploy-namespace: | ||
kubectl --context=$(CONTEXT) apply -f namespace.yaml | ||
|
||
# helm | ||
|
||
test-chart: | ||
helm upgrade $(SERVICE_NAME) charts/$(SERVICE_NAME) --install \ | ||
--namespace=$(NAMESPACE) --kube-context $(CONTEXT) \ | ||
--dry-run --debug --set image.tag=$(TAG) | ||
|
||
install-chart: | ||
helm upgrade $(SERVICE_NAME) charts/$(SERVICE_NAME) --install \ | ||
--namespace=$(NAMESPACE) --kube-context=$(CONTEXT) \ | ||
--set image.tag=$(TAG) | ||
|
||
lint-chart: | ||
helm lint charts/$(SERVICE_NAME) --strict | ||
|
||
test-gateway: SERVICE_NAME=gateway | ||
test-gateway: test-chart | ||
|
||
test-orders: SERVICE_NAME=orders | ||
test-orders: test-chart | ||
|
||
test-products: SERVICE_NAME=products | ||
test-products: test-chart | ||
|
||
install-gateway: SERVICE_NAME=gateway | ||
install-gateway: install-chart | ||
|
||
install-orders: SERVICE_NAME=orders | ||
install-orders: install-chart | ||
|
||
install-products: SERVICE_NAME=products | ||
install-products: install-chart | ||
|
||
lint-gateway: SERVICE_NAME=gateway | ||
lint-gateway: lint-chart | ||
|
||
lint-orders: SERVICE_NAME=orders | ||
lint-orders: lint-chart | ||
|
||
lint-products: SERVICE_NAME=products | ||
lint-products: lint-chart |
Oops, something went wrong.