This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Default values for prometheus-operator. | |
| # This is a YAML-formatted file. | |
| # Declare variables to be passed into your templates. | |
| ## Provide a name in place of prometheus-operator for `app:` labels | |
| ## | |
| nameOverride: "" | |
| ## Provide a name to substitute for the full names of resources | |
| ## |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| kubectl create serviceaccount --namespace kube-system tiller | |
| kubectl create clusterrolebinding tiller-cluster-rule --clusterrole=cluster-admin --serviceaccount=kube-system:tiller | |
| kubectl patch deploy --namespace kube-system tiller-deploy -p '{"spec":{"template":{"spec":{"serviceAccount":"tiller"}}}}' | |
| helm init --service-account tiller --upgrade |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #Start httpbin: | |
| docker run -it --rm --name httpbin citizenstig/httpbin | |
| docker run -it --rm --link httpbin tutum/curl curl -X GET http://httpbin:8000/headers | |
| #Start envoy | |
| docker run -it --name proxy --link httpbin -v $(pwd)/envoy_config.json:/etc/envoy_config.json envoyproxy/envoy envoy -c /etc/envoy_config.json | |
| #Headers through envoy | |
| docker run -it --rm --link proxy tutum/curl curl -X GET http://proxy:15001/headers |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "listeners": [ | |
| { | |
| "address": "tcp://0.0.0.0:15001", | |
| "filters": [ | |
| { | |
| "type": "read", | |
| "name": "http_connection_manager", | |
| "config": { |