envoy-nginx-release

module
v0.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 2, 2019 License: Apache-2.0

README

envoy-nginx-release

This is a bosh release for deploying nginx in a sidecar container masquerading as envoy to the outside world. Yes, kinda hacky!

The job/package has to be envoy_windows because that's what diego components look for.

Expected to be consumed via cf-deployment/operations/experimental/enable-routing-integrity-windowsXXXX.yml.

Also see: https://github.com/cloudfoundry/envoy-release

Steps to update nginx in the bosh release

Download nginx

cd /tmp
curl http://nginx.org/download/nginx-1.17.1.zip --output nginx.zip

Rezip nginx directory so its not nested

mkdir nginx-stuff
cd /tmp/nginx-stuff`
mv /tmp/nginx.zip .
unzip nginx.zip
cd nginx-1.17.1
zip ../envoy-nginx.zip *

Add and upload the envoy-nginx blob

cd ~/workspace/envoy-nginx-release
bosh add-blob /tmp/nginx-stuff/envoy-nginx.zip envoy-nginx/envoy-nginx.zip
set_bosh_windows_s3_blobstore
bosh upload-blobs

Directories

Path Synopsis
src
code.cloudfoundry.org/envoy-nginx/fixtures/bad-nginx command
Program to simulate an nginx that always fails
Program to simulate an nginx that always fails
code.cloudfoundry.org/envoy-nginx/fixtures/bad-nginx-reload command
Program to simulate an nginx that always fails
Program to simulate an nginx that always fails

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL