Skip to content
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

Merged
merged 1 commit into from
Oct 11, 2022
Merged

Conversation

danehans
Copy link
Contributor

@danehans danehans commented Oct 5, 2022

  • Updates release-manifests target to post the quickstart manifests as a release artifact. This allows for released versions of quickstart manifests from the quickstart guide.
  • Consolidates the example manifests into a single manifest, quickstart.yaml.
  • Updates the kube-demo and kube-demo-undeploy targets to use quickstart.yaml.

Fixes: #484

Signed-off-by: danehans daneyonhansen@gmail.com

Signed-off-by: danehans <daneyonhansen@gmail.com>
@danehans danehans requested a review from a team as a code owner October 5, 2022 22:03
@danehans
Copy link
Contributor Author

danehans commented Oct 5, 2022

Note: The quickstart guide must be updated to use the quickstart.yaml from the release artifacts when cutting v0.2.0.

@danehans danehans added documentation Improvements or additions to documentation area/ci CI and build related issues labels Oct 5, 2022
@danehans danehans added this to the 0.2.0 milestone Oct 5, 2022
Copy link
Member

@Xunzhuo Xunzhuo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good

Comment on lines +64 to 73
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

Copy link
Contributor

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.

Copy link
Contributor Author

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.

@danehans danehans merged commit 03be9f4 into envoyproxy:main Oct 11, 2022
@danehans danehans mentioned this pull request Oct 11, 2022
danehans added a commit to danehans/gateway that referenced this pull request Nov 3, 2022
Signed-off-by: danehans <daneyonhansen@gmail.com>

Signed-off-by: danehans <daneyonhansen@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/ci CI and build related issues documentation Improvements or additions to documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Collapse Quickstart Example Manifests
4 participants