helm repo add datawire https://app.getambassador.io
helm repo update
helm install -n emissary --create-namespace \
emissary-ingress --devel \
datawire/emissary-ingress && \
kubectl rollout status -n emissary deployment/emissary-ingress -w
helm repo add agones https://agones.dev/chart/stable
helm repo update
helm install agones --namespace agones-system --create-namespace agones/agones
This is necessary if you want to build a container locally and deploy it.
To tag the container localhost:5000/$name/$tag
and docker push
it.
More details about this here.
kubectl create -f kube-registry.yaml
minikube ssh && curl localhost:5000
kubectl port-forward --namespace kube-system $(kubectl get po -n kube-system | grep kube-registry-v0 | \awk '{print $1;}') 5000:5000
minikube tunnel
kubectl port-forward -n emissary emissary-ingress-7b9ddb765f-6rmkm 9991:80
Your emissary pod name will be different.
kubectl create -f am-test.yaml
You can now reach Ambassador's edge node via http://127.0.0.1:9991/backend/ It will return something like:
{
"server": "negative-pomegranate-1kz13haz",
"quote": "The light at the end of the tunnel is interdependent on the relatedness of motivation, subcultures, and management.",
"time": "2021-08-15T21:12:09.486270546Z"
}