-
Notifications
You must be signed in to change notification settings - Fork 347
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Consolidates Quickstart Manifests #511
Conversation
Signed-off-by: danehans <daneyonhansen@gmail.com>
Note: The quickstart guide must be updated to use the |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good
kubectl apply -f examples/kubernetes/quickstart.yaml | ||
@echo "\nPort forward to the Envoy service using the command below" | ||
@echo "kubectl -n envoy-gateway-system port-forward service/envoy-default-eg 8888:8080 &" | ||
@echo "\nCurl the app through Envoy proxy using the command below" | ||
@echo "curl --verbose --header \"Host: www.example.com\" http://localhost:8888/get\n" | ||
|
||
.PHONY: kube-demo-undeploy | ||
kube-demo-undeploy: ## Uninstall the Kubernetes resources installed from the `make kube-demo` command. | ||
kubectl delete -f examples/kubernetes/httproute.yaml | ||
kubectl delete -f examples/kubernetes/gateway.yaml | ||
kubectl delete -f examples/kubernetes/gatewayclass.yaml | ||
kubectl delete -f examples/kubernetes/httpbin.yaml | ||
kubectl delete -f examples/kubernetes/quickstart.yaml | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just to call it out: The order of these is changing. (The new order is gatewayclass.yaml
, gateway.yaml
, httpbin.yaml
, httproute.yaml
)
I don't think that matters, but I figured it should be said explicitly.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@LukeShu thanks for making this point. Although the order changes, I have verified that all the created resources are removed without error.
Signed-off-by: danehans <daneyonhansen@gmail.com> Signed-off-by: danehans <daneyonhansen@gmail.com>
release-manifests
target to post the quickstart manifests as a release artifact. This allows for released versions of quickstart manifests from the quickstart guide.quickstart.yaml
.kube-demo
andkube-demo-undeploy
targets to usequickstart.yaml
.Fixes: #484
Signed-off-by: danehans daneyonhansen@gmail.com