Skip to content

spectriclabs/nginx_sidecar_proxy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 

Repository files navigation

nginx sidecar proxy

This repo provides a minimal example of an nginx sidecar that can proxy an external service on localhost within the pod.

Installation

kubectl apply -n some_namespace -f configmap.yaml
kubectl apply -n some_namespace -f deployment.yaml

Testing

You can test out the proxy from within the pod by exec'ing in.

kubectl exec -n some_namespace -it deploy/nginx -- sh

Once inside, you can install and usee wget.

apt update
apt install wget
wget -O - http://localhost:5678/

After running this, you should see the contents of neverssl.com on stdout.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published