Skip to content

Commit

Permalink
Move from Ambassador Edge Stack to Emissary Ingress (#5117)
Browse files Browse the repository at this point in the history
  • Loading branch information
Adrian Gonzalez-Martin authored Sep 6, 2023
1 parent 24dd8a7 commit 1748a22
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 19 deletions.
22 changes: 10 additions & 12 deletions testing/resources/ambassador_values.yaml
Original file line number Diff line number Diff line change
@@ -1,13 +1,11 @@
emissary-ingress:
service:
type: NodePort
service:
type: NodePort

# Note that target http ports need to match your ambassador configurations service_port
# https://www.getambassador.io/reference/modules/#the-ambassador-module
ports:
- name: http
port: 80
targetPort: 8080
# protocol: TCP
nodePort: 30080

# Note that target http ports need to match your ambassador configurations service_port
# https://www.getambassador.io/reference/modules/#the-ambassador-module
ports:
- name: http
port: 80
targetPort: 8080
# protocol: TCP
nodePort: 30080
16 changes: 9 additions & 7 deletions testing/scripts/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -63,11 +63,12 @@ helm_setup:

.PHONY: install_ambassador
install_ambassador:
kubectl apply -f https://app.getambassador.io/yaml/edge-stack/3.1.0/aes-crds.yaml
kubectl wait --timeout=90s --for=condition=available deployment emissary-apiext -n emissary-system
helm install -n ambassador --create-namespace edge-stack datawire/edge-stack \
-f ../resources/ambassador_values.yaml --wait
kubectl rollout status -n ambassador deployment/edge-stack -w
kubectl apply -f https://app.getambassador.io/yaml/emissary/3.8.0/emissary-crds.yaml
kubectl wait --timeout=2m --for=condition=available deployment emissary-apiext -n emissary-system
helm upgrade --install -n ambassador --create-namespace emissary datawire/emissary-ingress \
-f ../resources/ambassador_values.yaml
kubectl wait --timeout=2m --for=condition=available deploy \
-lapp.kubernetes.io/instance=emissary -n ambassador
kubectl apply -f ../resources/ambassador_nontls_setup.yaml -n ambassador

.PHONY: install_jaeger
Expand All @@ -81,7 +82,8 @@ install_jaeger:


install_cert_manager:
helm install \
helm upgrade \
--install \
cert-manager jetstack/cert-manager \
--namespace cert-manager \
--create-namespace \
Expand Down Expand Up @@ -134,7 +136,7 @@ install_metrics:
kind_setup: create_namespaces helm_setup install_cert_manager install_ambassador install_istio install_keda install_jaeger install_seldon set_namespace install_metrics

port-forward-ambassador:
kubectl port-forward $$(kubectl get pods -n ambassador -l app.kubernetes.io/instance=edge-stack -o jsonpath='{.items[0].metadata.name}') -n ambassador 8005:8080
kubectl port-forward $$(kubectl get pods -n ambassador -lapp.kubernetes.io/instance=emissary -o jsonpath='{.items[0].metadata.name}') -n ambassador 8005:8080

.PHONY: s2i_build_base_images
s2i_build_base_images:
Expand Down

0 comments on commit 1748a22

Please sign in to comment.