Commit Graph

153 Commits

Author SHA1 Message Date
刘旭 87d20b5d3e
fix weak algorithm (#10545) 2021-11-29 20:41:42 -08:00
John Howard a7c63369c4
Remove "file mount" egress gw doc (#10143)
* Remove file mount egress documentation

This is actively leading users down a bad practice. We previously did
the same for Ingress - the results were we got a lot less bugs about
file mount being very hard to use.

As is, users are directed here as the default - only if they happen to
know what "SDS" is (an implementation detail) will they realize the
other doc is better.

* gen snips

* fix test

* Fix inject
2021-08-26 10:16:00 -07:00
John Howard 6df4ad7635
Remove warning about removed limitation (#10030)
* Remove warning about removed limitation

This hasn't been accurate since ~1.8

* fix other occurance
2021-07-09 14:11:47 -07:00
Eric Van Norman 341db5d855
Update istio test refererence for 1.10 (#9680)
* Update istio test ref

* Change test back to previous instructions as regression was reverted
2021-05-04 14:59:29 -07:00
Eric Van Norman 517c0208e3
Update istio test ref - fix timeout failures? (#9325)
* Update istio test ref - fix timeout failures?

* Go back to figure out why ext cp setup is failing (samples not starting)

* Again including #31560

* After 31561

* Past #31410

* test ref sha=688973e58828ffbcff2ccd9eeab41a12527c217a

* test ref 9d5ba69765 #31401

* Update test ref to latest istio and change 504/408 for egress test

* Update to get around quay.io outage
2021-03-23 06:29:04 -07:00
Meng Wang 4ed801d0f8
Wildcard configuration for arbitrary domains with non root user (#9350)
* Wildcard configuration with non root user

* Generate snips.sh for wildcard-egress-hosts
2021-03-22 12:41:07 -07:00
Eric Van Norman 1822198759
Remove content-length from egress test (#9148) 2021-03-08 08:57:32 -08:00
Pengyuan Bian 0546fa1223
Fix egress gateway command line set. (#9082)
fixes https://github.com/istio/istio/issues/31146
2021-03-01 09:18:24 -08:00
Eric Van Norman bea8d187e5
Silence curl command (#8773)
* Silence curl command

* Update more files with -sS (adding S to show errors)

* Over-agressive on the -S and causing some tests to fail.

* Remove more curl -S flags
2021-01-20 09:45:50 -08:00
Eric Van Norman 5d984eb560
Update istio.io/istio ref to 1.9.0-beta.0 (#8562)
* Update istio/istio ref to latest master

* Move to latest before testing.

* Update release in Makefile

* Fix some tests

* Update to latest isti.io/istio again

* Update to latest istio.io/istio

* Update to latest istio.io/istio

* Update ref to latest master

* Fix instioctl-analyze

* Add back @howardjohn commit I inadvertantly deleted

* Fix lint

* Pick up new stio: fix empty iop read from stdin for operator

* go mod tidy without itermediate go gets

* Update to current stats-filter's

* Needed another 'make gen'

* More go.* changes for changes in ref'd istio/istio

* Update istio to 1.9.0-beta.0
2021-01-19 11:57:22 -08:00
Frank Budinsky 4fac23cf3d
Some traffic management doc fixes (#8673) 2020-12-16 08:41:55 -08:00
Frank Budinsky a70e78f25e
Test cleanup (#8564)
* Framework inject set +e at start of cleanup test script

* tabs

* fix typo

* add nl

* fix doc
2020-11-24 16:26:19 -05:00
Nathan Mittler 616f45b1d5
Several test framework improvements (#8524)
Overview of the changes:

- Adding ability to verify that expected output occurs a number of times consecutively. This is needed for https://github.com/istio/istio.io/pull/8402.

- Moving snapshot checking logic to Go code so that it can be separated out into separate test steps, which are timed and contain their own output directories/files. This makes the code cleaner and also makes the snapshot logic more transparent.

- Updating debug.sh to use newer bash syntax that allows it to dynamically select a free file descriptor. Without this, I was seeing all commands echoed to my console in goland.
2020-11-23 09:23:54 -05:00
Frank Budinsky cb14c08f69
remove unused cleanup step (#8370) 2020-10-27 08:53:37 -07:00
Frank Budinsky 7bf89ace1a
Update egress tasks (#8343)
* Update egress tasks

* regen
2020-10-23 09:37:52 -07:00
Roland Kool 0fa3b1b874
Add warning on egress gw instructions (#8214)
* Add warning on egress gw instructions

Documentation is misleading when repeating the steps for multiple
hosts. The example breaks down. Add a warning describing how to
configuration should look like when additional hosts are configured.

* fix typo

* change to tip, make text more compact

* change other warning as well
2020-10-09 06:15:10 -07:00
Eric Van Norman 459c6e56a0
Fix flaky failure (#8204) 2020-09-24 14:00:15 -07:00
Eric Van Norman 4b19932627
Test flake - increase timeout and echo actual wait duration. (#8198) 2020-09-24 14:00:07 -07:00
Eric Van Norman 70d361b30d
Try different timeout for tasks/security/authorization/authz-ingress (#8163)
* Try longer timeout for tasks/security/authorization/authz-ingress/test.sh

* Go back to old 5m timeout and add failure on timeout back in

* Test with individual wait_for_istio call updates

* Revert to simply changing timeout (but keep duration in output)

* Fix call

* Comment out istioctl wait call

* Add TODO remark

* Fix lint error

* Add temporary sleep until _wait_for_istio is re-enabled

* Add wait for sleep deployment to complete
2020-09-22 19:25:13 -07:00
Eric Van Norman d56bada3e6
egress-gateway-tls-origination - Additional secrets need cleaning (#8175)
* Additional secrets need cleaning

* Missed make gen
2020-09-21 10:32:31 -07:00
Frank Budinsky f4cf61ec5d
Simplify startup of egressgateway-with-sni-proxy (#8148)
* Simplify startup of egressgateway-with-sni-proxy

* fix

* set value
2020-09-17 07:39:48 -07:00
Eric Van Norman cc1a34f99c
Update test reference - master (#8103)
* Update test reference

* Test framework changes

* Another required change

* Update Tag to 1.8

* Pick istio/istio commit that actually exists

* Disable ISTIO_META_DNS_CAPTURE

* Add --skip-confirmation to istioctl installl commands

* Increase test timeout. First pass at fixes.

* Update to later istio/istio that fixes DNS and minor fixes

* test fixes

* Pick up go.mod `replace` changes from #8118

* Fix istioctl-analayze and mirror

* Fix mtls-migration test

* Update istio to include commit to fix egress

* Re-enable verify with fix

* Update istio/istio ref for egress fix

* Fix tasks/security/authorization/authz-td-migration - remove ns

* Shorten wait timeout so tests complete in under an hr

* Let tests continue after wait timeout

* Fix --skip-confirmation to -y and use yes | in tests

* revert yes | to echo y |

* Additional echo y fix

* Code review comments

* Change verify from same to contains as k8s 1.19 has extra warning lines.
2020-09-16 11:44:20 -07:00
Frank Budinsky f75e329945
Remove hardcoded cluster-ip-range (#8149) 2020-09-15 17:10:38 -04:00
Frank Budinsky 82ceae7d73
Accessing external services task test and more egress task cleanup (#8064)
* Egress tasks cleanup and final test

* cleanup

* fix lint

* regen

* strip trailing space from output

* lint

* lint

* review comment

* regen

* fixes

* ignore space

* wait for istiod

* restart sleep

* regen

* fix sleep restart

* debug

* fix check

* fix

* more debug

* more debug

* cleanup and disable last check
2020-09-09 14:39:26 -07:00
imgbot[bot] c873a34ebc
[ImgBot] Optimize images (#8035)
*Total -- 2,498.74kb -> 2,393.31kb (4.22%)

/content/en/about/community/partners/meshdynamics.png -- 146.38kb -> 47.51kb (67.54%)
/content/en/blog/2020/new-deployment-model/multiple-clusters-external-Istiod.svg -- 141.86kb -> 140.36kb (1.06%)
/content/en/blog/2020/new-deployment-model/single-cluster.svg -- 73.41kb -> 72.64kb (1.05%)
/content/en/blog/2020/new-deployment-model/multiple-external-Istiods.svg -- 188.85kb -> 187.29kb (0.83%)
/content/en/docs/ops/deployment/deployment-models/single-cluster-external-control-plane.svg -- 97.20kb -> 96.43kb (0.8%)
/content/en/blog/2020/new-deployment-model/single-cluster-external-Istiod.svg -- 108.37kb -> 107.55kb (0.76%)
/content/en/about/community/customers/aihuishou.jpeg -- 22.03kb -> 21.88kb (0.68%)
/content/en/docs/tasks/traffic-management/egress/wildcard-egress-hosts/EgressGatewayWithSNIProxyCP.svg -- 126.40kb -> 126.09kb (0.25%)
/content/en/docs/ops/deployment/performance-and-scalability/latency_p90_fortio_with_jitter.svg -- 348.28kb -> 348.11kb (0.05%)
/content/en/docs/ops/deployment/performance-and-scalability/latency_p99_fortio_with_jitter.svg -- 374.95kb -> 374.79kb (0.04%)
/content/en/docs/ops/deployment/performance-and-scalability/latency_p90_fortio_without_jitter.svg -- 431.32kb -> 431.16kb (0.04%)
/content/en/docs/ops/deployment/performance-and-scalability/latency_p99_fortio_without_jitter.svg -- 439.68kb -> 439.51kb (0.04%)

Signed-off-by: ImgBotApp <ImgBotHelp@gmail.com>

Co-authored-by: ImgBotApp <ImgBotHelp@gmail.com>
2020-09-08 15:54:35 -04:00
Shamsher Ansari 676c6da91c
Remove deprecated Mixer Policies and Telemetry config (#8071) 2020-09-08 09:10:28 -07:00
Frank Budinsky 28d609fc84
Fix and test wildcard egress task (#8050)
* Fix and test wildcard egress task

* change startup

* change startup

* lint

* more lint

* fixes from vadim

* fixes

* fix gateway filter

* add EOF

* regen snips
2020-09-01 06:17:09 -07:00
Suchith J N 4b601f607e
automated test for zipkin dashboard and modify snippet generation to take boilerplate into account (#8003)
* automated test for viewing traces from zipkin dashboard (expectation is that traces are seen correctly)

* fix shellcheck linting errors

* remove verification of traces and just check if zipkin dashboard is accessible through port-forward

* Modify snippet generation logic to take {{< boilerplate >}} into account

* snippets for boilerplate

* fix shellcheck (linting) issues

* snippets generated with new logic

* automated test - check if zipkin dashboard is accessible by port-forwarding (as we cannot verify screenshot and the trace is already verified in istio/istio integration test

* clean up ZIPKIN_URL comment

* Address code review comments
1. Simplify boilerplate snippet filenames (remove .md_snips)
2. Sourced filenames should be in double quote(") instead of single quote(')

* fix gencheck_istio flake

* do not generate or include boilerplate snippets if there is not {{<text>}} in them

* fix linting errors in snip.py

* fix bug - filter out boilerplates without snippets very early
2020-08-26 08:37:50 -07:00
Frank Budinsky ce4cbcf9a8
Deprecated tasks do not need tests + small fwording fix (#7971) 2020-08-18 06:45:39 -07:00
Neeraj Poddar 122ab65b1b
Add warning for network policy enforcement (#7967)
* Add warning for network policy enforcement

* Address review feedback
2020-08-17 11:31:01 -07:00
Frank Budinsky 41d56d97ff
Remove -it from kubectl exec calls (#7916) 2020-08-11 12:40:58 -07:00
Frank Budinsky 4801cd62fa
Verify test cleanup (#7889)
* Verify test cleanup

* disable istio-system checks

* more tolerant checks

* fix lint

* more lint

* limited check cleanup

* always check

* snapshot tweak
2020-08-11 08:19:21 -07:00
Navraj Singh Chhina b76fd3d2f4
Using an External HTTPS Proxy Automated Test (#7886)
* add missing cleanup for vs nginx

* add test

* fix sourcepod

* add ...

* use verify contains

* revert boilerplate

* disable SC2155

* remove waitfordep

* add test

* fix newline

* weird cleanup

* add back test

* oops make gen

* Apply suggestions from code review

Co-authored-by: Frank Budinsky <frankb@ca.ibm.com>

* weird cleanup

Co-authored-by: Frank Budinsky <frankb@ca.ibm.com>
2020-08-10 15:39:55 -04:00
Navraj Singh Chhina 1cb1ce6a51
Egress Kubernetes Services Automated test (#7887)
* add missing cleanup for vs nginx

* add test

* move cleanup
2020-08-07 22:31:55 -07:00
Navraj Singh Chhina e9d63da862
Egress Gateway Automated Doc Test (#7832)
* add missing cleanup for vs nginx

* add test

* fix sourcepod

* add ...

* use verify contains

* revert boilerplate

* disable SC2155

* remove waitfordep
2020-08-04 12:21:30 -04:00
Frank Budinsky e43d0b6ff5
Small doc fixes (#7818) 2020-07-30 07:04:43 -07:00
Vadim Eisenberg f00434d282
fix kubectl patch instructions for meshConfig.outboundTrafficPolicy (#7798)
take into account the case when meshConfig.outboundTrafficPolicy is not defined
2020-07-28 09:33:45 -07:00
Vadim Eisenberg 54113c6864
add warnings about using DNS resolution (#7788)
* add warnings about using DNS resolution

* the gateway perform -> the gateway performs

* Apply comments of @frankbu, part 1

Co-authored-by: Frank Budinsky <frankb@ca.ibm.com>

* remove "the" from "the DNS resolution"

Co-authored-by: Frank Budinsky <frankb@ca.ibm.com>

* remove the from "the DNS resolution", if ... were ... would -> if ... is ... will

Co-authored-by: Frank Budinsky <frankb@ca.ibm.com>

* remove the from

Co-authored-by: Frank Budinsky <frankb@ca.ibm.com>

Co-authored-by: Frank Budinsky <frankb@ca.ibm.com>
2020-07-26 10:42:55 -07:00
Vadim Eisenberg 8e51aad4fa
use Istio Operator to control the policy of accessing external services (#7786)
set spec.meshConfig.outboundTrafficPolicy.mode to ALLOW_ANY or REGISTRY_ONLY

the previous approach does not work
2020-07-24 12:31:05 -07:00
Navraj Singh Chhina 9dd06e5201
Minimum OpenSSL Version Required (#7763)
* add missing cleanup for vs nginx

* add openssl req

* Apply suggestions from code review

Co-authored-by: Frank Budinsky <frankb@ca.ibm.com>

Co-authored-by: Frank Budinsky <frankb@ca.ibm.com>
2020-07-22 08:32:35 -07:00
Navraj Singh Chhina 5e0a9ce847
[Release 1.7] Egress Gateway TLS Origination using SDS (#7719)
* add missing cleanup for vs nginx

* init sds doc

* squash commits

add simple TLS task

address issues

fix lint and secret configuration

add secret format specification

add mutual TLS task

fix lint and rename older task

make gen again

fix name

keep old directory

add warnings

lint

fix cacert issue

lint

* secure

* make gen

* rebase master

* make secret types clearer

* Apply suggestions from code review

Co-authored-by: Frank Budinsky <frankb@ca.ibm.com>

* run make gen

* lint

* Apply suggestions from code review

Co-authored-by: Frank Budinsky <frankb@ca.ibm.com>

* Apply suggestions from code review

Co-authored-by: Frank Budinsky <frankb@ca.ibm.com>

* make gen

* add tls test

* move mesh creation

* suggestions

* add mtls test

* fix typo

* move secret section

Co-authored-by: Frank Budinsky <frankb@ca.ibm.com>
2020-07-21 12:00:40 -07:00
Navraj Singh Chhina d8ea809c56
Simplify TLS Origination with Gateways Task (#7754)
* add missing cleanup for vs nginx

* simplify TLS

* lint the task

* bug fix

* escape heredoc

* fix task

* remove unnecessary cleanup

* remove spaces

* address comments

* fix typo

* remove file func
2020-07-20 15:12:33 -07:00
Gregory Hanson 4811aa23f8
Fix for Egress Gateway TLS Origination Task (#7732)
* one possible fix for egress tls origination fix

* update snips

* re-enable egress gateway mtls origination test
2020-07-20 10:09:29 -04:00
Frank Budinsky e9a89c879f
Add owner attribute to docs (#7737)
* Add owner attribute to docs

* remove @
2020-07-15 15:19:40 -07:00
Navraj Singh Chhina 9bd857e565
Bump istio/istio dep and enable TLS origination tests (#7714)
* add missing cleanup for vs nginx

* bump istio and re enable tls origination tasks

* update istio to master

* bump to stable istio/istio

* make gen
2020-07-13 14:32:28 -04:00
Eric Van Norman 78088360fe
Update istio/istio ref and reenable tests (#7669)
* Update istio/istio ref and reenable tests

* Update istio/istio reference

* Update istioctl build to have version for images

* Fix lint and pull a newer istio/istio

* Disable egress tests
2020-07-09 13:29:32 -07:00
Morven Cao 831950b1c9
fix egressgateway install. (#7674) 2020-07-07 07:44:05 -07:00
Frank Budinsky 412f03105c
Kubernetes Ingress Test + fixes (#7662)
* Kubernetes Ingress Test + fixes

* cleanup

* fix circuit-breaking test

* fix lint

* remove -it
2020-07-06 07:54:35 -07:00
Nicolas Haller 471cdfef12
Add selector on the squid deployment manifest (#7646) 2020-06-30 17:08:56 -04:00
Frank Budinsky 67e181ce34
More test framework doc (#7635)
* More test framework doc

* Update tests/README.md

Co-authored-by: Hongyi Zhang <hongyizhang@google.com>

* Update tests/README.md

Co-authored-by: Hongyi Zhang <hongyizhang@google.com>

* tweak

* tweak

* increase default retry

* increase retries to 8

* fix test failing

* disable istioctl install

* fix lint

Co-authored-by: Hongyi Zhang <hongyizhang@google.com>
2020-06-30 11:06:42 -07:00
Frank Budinsky 01c4cce951
Add proper wait for config calls to tests (#7620)
* Add wait for config calls to tests

* two more
2020-06-24 09:48:29 -07:00
Frank Budinsky 25c3be4772
Some random poor quality doc fixes (#7589)
* Some random poor quality doc fixes

* change profiles
2020-06-19 11:25:02 -07:00
Hongyi Zhang a4f252ff2c
fix bug where *_test.sh doesn't source snips.sh (#7545)
* fix bug where *_test.sh doesn't source snips.sh

* remove 'source snips.sh' from scripts
2020-06-12 11:12:53 -07:00
Navraj Singh Chhina 3f6e0312cf
Egress Gateway TLS Origination Test Suite (#7501)
* add missing cleanup for vs nginx

* Add test for Gateway TLS Origination

* fix copyright

* Add Gateway mTLS origination

* replace <password> with password

* fix lint and autogen yes response

* oops typos

* make gen

* escape SC2154 :)

* apply suggestions and fix lint

* squash commits and cleanup branch

wrong quotes

more typos

make snips again

linter :'(

make linter happy

newline blocks

make gen 2

tab linting

try this

change service deletion

oops was deploying sleep twice

ignore nginx version lines for expected response

add update snips

lint again

make snips 3

redo check

do some magic

do some magic 2

lint tabs

remove incorrect snip matching

hack tls origination sleep deployment

hack 2

* this test is super flaky

* delete virtual service

* move scripts

* move scripts

* move to new testing framework

end file with newline and cleanup

typo

* content length shouldn't be included in snips

* comment out the final HTTP check

* Update content/en/docs/tasks/traffic-management/egress/egress-gateway-tls-origination/mtls_test.sh

Co-authored-by: Frank Budinsky <frankb@ca.ibm.com>

* Update content/en/docs/tasks/traffic-management/egress/egress-gateway-tls-origination/tls_test.sh

Co-authored-by: Frank Budinsky <frankb@ca.ibm.com>

* Update content/en/docs/tasks/traffic-management/egress/egress-gateway-tls-origination/tls_test.sh

Co-authored-by: Frank Budinsky <frankb@ca.ibm.com>

* ignore cleanup errors

* add source back in

Co-authored-by: Frank Budinsky <frankb@ca.ibm.com>
2020-06-12 13:04:06 -04:00
Hongyi Zhang 5fbb14bedc
Convert all old tests to new tests (#7522)
* add an example task to test

* main test function: save progress

* a working example: routing request

* improve log info and error handling

* introduce makefile

* run each test as a subtest; remove common setup from test.sh

* add another test.sh: fault-injection

* improve error handling

* check test environment

* add two more test.sh files

* fix make command for istio setup

* update two test.sh files from upstream

* add comments and update README.md

* update test.sh files from upstream

* support multiple test names

* update README

* update README.md for new framework

* remove documentation of migration steps

* undo format changes

* change separation line to '# @cleanup'

* move go code and makefile from content/ to tests/

* change package name

* make for loop more readable

* change the set of auto-sourced scripts

* add docs for all functions

* approach to deal with folders with the same name

* minor fixes to ensure everything still runs

* fix make gen error

* add a TIMEOUT argument

* make sure util/debug.sh works with new framework

* make lint-go happy

* [BIG CHANGE] allow different istio setup configs

* make linters happy

* make linters happier

* changed wording and function orders

* make error return as the 2nd argument

* add TODOs

* Update content/en/docs/tasks/traffic-management/traffic-shifting/test.sh

Co-authored-by: Frank Budinsky <frankb@ca.ibm.com>

* Update tests/README.md

Co-authored-by: Frank Budinsky <frankb@ca.ibm.com>

* Update tests/README.md

Co-authored-by: Frank Budinsky <frankb@ca.ibm.com>

* Update tests/README.md

Co-authored-by: Frank Budinsky <frankb@ca.ibm.com>

* Update tests/README.md

Co-authored-by: Frank Budinsky <frankb@ca.ibm.com>

* Update tests/README.md

Co-authored-by: Frank Budinsky <frankb@ca.ibm.com>

* Update tests/README.md

Co-authored-by: Frank Budinsky <frankb@ca.ibm.com>

* only test english docs

* Update tests/README.md

Co-authored-by: Frank Budinsky <frankb@ca.ibm.com>

* allow test.sh as suffix

* move adding setup configs to tests/setup

* recommend full paths

* Update tests/README.md

Co-authored-by: Frank Budinsky <frankb@ca.ibm.com>

* require full test paths

* converting old tests to new tests: traffic-management and misc

* converting old tests to new tests: security

* remove old tests

* Update content/en/docs/tasks/security/cert-management/dns-cert/test.sh

Co-authored-by: Frank Budinsky <frankb@ca.ibm.com>

* simplify setup configs

* Update content/en/docs/tasks/security/authentication/authn-policy/test.sh

Co-authored-by: Frank Budinsky <frankb@ca.ibm.com>

* Update content/en/docs/tasks/security/authentication/mtls-migration/test.sh

Co-authored-by: Frank Budinsky <frankb@ca.ibm.com>

* Update content/en/docs/tasks/security/authorization/authz-http/test.sh

Co-authored-by: Frank Budinsky <frankb@ca.ibm.com>

* do not let istioctl prompt y/n

* Update content/en/docs/tasks/traffic-management/ingress/ingress-sni-passthrough/test.sh

Co-authored-by: Frank Budinsky <frankb@ca.ibm.com>

* Update content/en/docs/tasks/traffic-management/ingress/secure-ingress/test.sh

Co-authored-by: Frank Budinsky <frankb@ca.ibm.com>

* Update content/en/docs/tasks/security/cert-management/plugin-ca-cert/test.sh

Co-authored-by: Frank Budinsky <frankb@ca.ibm.com>

* simplify stuff

* rename dns-cert test.sh to test_broken.sh

* fix dns-cert doc and test

* remove egress=disabled

* fix test

* Update content/en/docs/tasks/observability/logs/access-log/test.sh

Co-authored-by: Frank Budinsky <frankb@ca.ibm.com>

* Update content/en/docs/tasks/security/authentication/authn-policy/test.sh

Co-authored-by: Frank Budinsky <frankb@ca.ibm.com>

Co-authored-by: Frank Budinsky <frankb@ca.ibm.com>
2020-06-11 11:15:48 -07:00
Navraj Singh Chhina e7616b2ac0
Disable ShellChecking for SC2164 (#7507)
* add missing cleanup for vs nginx

* disable SC2164 which checks safe cd

* make gen
2020-06-08 13:56:32 -07:00
Shamsher Ansari 9fe272272b
update doc to use istioctl install (#7396) 2020-06-01 11:02:27 -07:00
Frank Budinsky e11cf24f0d
Add test: attribute to all md files (#7413) 2020-05-27 09:11:26 -07:00
John Howard e9e963a617
Add TLS origination doc test (#7367)
* Add TLS origination doc test

* Fix build

* Add header

* lint
2020-05-21 14:10:26 -07:00
Shamsher Ansari 183efe691c
Update http 1.1 to http 2 (#7301) 2020-05-13 07:09:42 -07:00
Shamsher Ansari f58fffb5d1
Update deprecated flags for meshConfig (#7236) 2020-05-07 09:54:26 -07:00
Kenjiro Nakayama c2dcbfb63b
Fix format for warning message (#7193) 2020-04-30 07:00:15 -07:00
Gregory Hanson a83522e819
cleanup a few of of the commands in egress examples (#7189) 2020-04-29 15:08:40 -07:00
Jonh Wendell 30ea242d0d
Use `sniHosts` instead of `sni_hosts` in examples (#7178)
* Use `sniHosts` instead of `sni_hosts` in examples

* Trigger netlify
2020-04-29 07:55:32 -07:00
Istio Automation 8bc4139ee0
Fix doc in 'Egress Gateways with TLS Origination' (#7118)
The code in step 3 of Perform TLS origination with an egress gateway explains how to create egress Gateway for edition.cnn.com. port 80, so the title of this step should follow it.

Co-authored-by: Koki Tomoshige <36136133+tomocy@users.noreply.github.com>
2020-04-21 16:00:46 -04:00
Steven Dake d6e9f4b92b
Retire helm documentation as we use a protobuf (#7106)
* Retire helm documentation as we use a protobuf

The new rendered source of truth is:
https://preliminary.istio.io/docs/reference/config/istio.operator.v1alpha1/

This is rendered from the API repo protobuf which (may) need description fields
set. That protobuf is here:

https://github.com/istio/api/blob/master/operator/v1alpha1/operator.proto

* Follow the flowchart

The flowchart is not quite right and could use some improvement.

* Update content/en/blog/2019/performance-best-practices/index.md

Co-Authored-By: Frank Budinsky <frankb@ca.ibm.com>

Co-authored-by: Frank Budinsky <frankb@ca.ibm.com>
2020-04-21 07:55:44 -07:00
Gregory Hanson 7f6ef186fc
remove mtls destination rules, apply patch instead of redeploy (#6805) 2020-03-09 08:56:02 -07:00
Gregory Hanson 2adfb33c25
Remove MTLS DR from Egress Gateway Task (#6795)
* celan up destination rule differences for auto mtls on by default

* lint fixes
2020-03-06 12:12:56 -08:00
Frank Budinsky 9fbae823c1
[Release-1.5] Remove tasks referring to the deprecated tool (#6587)
* Also remove faq mentioned it

* Also in egress task
2020-03-05 16:39:16 -05:00
Frank Budinsky 9c4f1bbc68
[Release-1.5] remove mixer references from egress tasks and deprecate where needed (#6734)
* remove mixer references from egress tasks and deprecate where needed

* lint fixes

* Update content/en/docs/tasks/traffic-management/egress/egress_sni_monitoring_and_policies/index.md

Co-Authored-By: mandarjog <mandarjog@gmail.com>

* Update content/en/docs/tasks/traffic-management/egress/egress_sni_monitoring_and_policies/index.md

Co-Authored-By: Eric Van Norman <ericvn@us.ibm.com>

Co-authored-by: Francois Pesce <fpesce@google.com>
Co-authored-by: mandarjog <mandarjog@gmail.com>
Co-authored-by: Eric Van Norman <ericvn@us.ibm.com>
2020-03-05 16:37:56 -05:00
Istio Automation 2edbaeaf4b
Remove deep dive mtls taks. (#6706)
* remove deep dive

* update links

* lint fixing egs gw

* more removal

* link 1.0.3 lint
2020-03-04 13:15:26 -08:00
John Howard f7363dea08
Updates to ExternalName doc (#6664)
* Updates to ExternalName doc

* Update content/en/docs/tasks/traffic-management/egress/egress-kubernetes-services/index.md

Co-Authored-By: Frank Budinsky <frankb@ca.ibm.com>

Co-authored-by: Frank Budinsky <frankb@ca.ibm.com>
2020-03-03 17:41:46 -08:00
Vadim Eisenberg b6a786ca93 Fix comments of 5262 (#6206)
* add "for" in description: ... configure Istio for Kubernetes External Services

* add "in the default namespace" to "create a Kubernetes ExternalName Service"

* mention the Kubernetes DNS format for services
2020-01-03 11:32:24 -08:00
Martin Taillefer ae41b8fcdd
Site improvements. (#6003)
- Update common files.

- Switch to latest Hugo version.

- Thanks to the new Hugo, retire the text_hack shortcode.
The hack is no longer needed.
2019-12-06 06:59:22 -08:00
Martin Taillefer c863bea599
Content changes to prepare to switch to the new Hugo. (#5993)
These fix problems encountered when switching to the new Hugo which has
a completely different markdown engine. I went through diffs of the generated
HTML and made required adjustments.
2019-12-05 12:44:01 -08:00
Martin Taillefer 6165cb9821
Replace cookies with local storage. (#5949)
- We don't need cookies for istio.io, the few settings we do have should be
managed with browser-local storage instead. This is a better privacy posture,
and avoids sending needless data to the server for every request.
2019-12-02 13:02:51 -08:00
John Howard 24e35577de Add note about annotations to control traffic (#5896)
* Add note about annotations to control traffic

Fixes https://github.com/istio/istio/issues/19258

* Update content/en/docs/tasks/traffic-management/egress/egress-control/index.md

Co-Authored-By: Martin Taillefer <geeknoid@users.noreply.github.com>
2019-11-27 11:17:41 -08:00
Frank Budinsky 60f73570f0 Another ops guide incremental improvement (#5830)
* Another ops guide incremental improvement

* fix broken links

* more lint errors

* one more lint

* fix aliases
2019-11-25 11:58:39 -08:00
Vadim Eisenberg 66f2d2a02c Use subset in the destination rule of TLS origination (#5795)
* use a subset in the destination rule for TLS origination

this way the TLS origination will only be applied for the traffic directed by the
virtual service for TLS origination. TLS origination will not be applied for the original TLS traffic

* add a check that the original TLS traffic works as before
2019-11-19 09:51:45 -08:00
Martin Taillefer 01747f2349
Fix a bunch of busted links. (#5588) 2019-11-11 07:43:43 -08:00
Frank Budinsky a6a5769f12
Organize security tasks (#5474)
* Organize security tasks

* lint errors

* fixes

* more fixes
2019-11-07 15:54:27 -05:00
Neeraj Poddar db10e052ff Fix directory structure/heading for istioctl install (#5390) 2019-11-05 12:37:19 -08:00
Martin Taillefer 4d4e6ae28e
General cleanup items. (#5325)
- Fix a bunch of heading capitalization.

- Remove words that shouldn't be in the dictionary
and update the text accordingly.

- Added a few @@ sequences to reference content files from text blocks.

- Used a few {{< source_branch_name >}} sequences to refer to the proper
branch in GitHub rather than master.
2019-11-04 06:41:54 -08:00
Vadim Eisenberg 241143bfa9 add port name "tls" to both Service and Endpoints (#5261)
otherwise the service is treated as HTTP, causing an error
2019-10-29 08:00:36 -07:00
Vadim Eisenberg e5cb80badc add a cleanup subsection to set desired outbound traffic policy mode (#5264)
* add a cleanup subsection to set desired outbound traffic policy mode

the title: "Set the `global.outboundTrafficPolicy.mode` to your desired mode"

* remove a redundant empty line

* rename the subsection to be "Set the outbound traffic policy mode to your desired value"

* remove a semicolon at the end of the subsection's title

* add `uniq` so the output of the current outbound traffic policy mode will appear once
2019-10-29 07:10:35 -07:00
Frank Budinsky f220f655a7 Deprecate helm install (#5270)
* Deprecate helm install

* fix lint

* address review comments

* correction
2019-10-29 06:37:34 -07:00
Rigs Caballero 03ca9f6478 Move pages out from the Concepts section (#5256)
* Move Deployment Models from Concepts to Setup

Signed-off-by: rcaballeromx <grca@google.com>

* Move Architecture from Concepts to Ops.

Signed-off-by: rcaballeromx <grca@google.com>

* Move Performance page from Concepts to Ops

Signed-off-by: rcaballeromx <grca@google.com>
2019-10-24 15:40:25 -07:00
Naoki Oketani 92eac8892c Quote jsonpath to support zsh (#5211) 2019-10-21 10:02:37 -07:00
Martin Taillefer d6445fc726
Update reference docs. (#5173)
preliminary.istio.io will now display reference material for the release-1.4 branches
of istio/istio, istio/api, and istio/operator.
2019-10-17 11:09:11 -07:00
imgbot[bot] 6e1825036e [ImgBot] Optimize images (#5167)
*Total -- 2,116.10kb -> 2,113.71kb (0.11%)

/assets/inline_images/landing/routing-and-load-balancing.svg -- 2.02kb -> 1.49kb (26.05%)
/assets/inline_images/landing/telemetry-and-reporting.svg -- 2.26kb -> 1.74kb (22.86%)
/assets/inline_images/landing/policy-enforcement.svg -- 1.41kb -> 1.12kb (21.01%)
/static/img/istio-bluelogo-nobackground-unframed.svg -- 0.32kb -> 0.26kb (18.73%)
/static/img/istio-whitelogo-bluebackground-unframed.svg -- 0.39kb -> 0.32kb (17.75%)
/static/img/istio-bluelogo-whitebackground-unframed.svg -- 0.39kb -> 0.32kb (17.13%)
/static/img/istio-bluelogo-nobackground-framed.svg -- 0.35kb -> 0.29kb (17.13%)
/assets/inline_images/landing/resiliency.svg -- 2.33kb -> 1.94kb (16.83%)
/static/img/istio-bluelogo-whitebackground-framed.svg -- 0.42kb -> 0.35kb (16.47%)
/static/img/istio-whitelogo-bluebackground-framed.svg -- 0.42kb -> 0.35kb (15.89%)
/assets/inline_images/landing/istio-logo.svg -- 0.17kb -> 0.16kb (6.25%)
/assets/inline_images/istio-whitelogo-bluebackground-rounded.svg -- 0.21kb -> 0.21kb (3.21%)
/content/en/blog/2018/egress-https/https_from_the_app.svg -- 16.61kb -> 16.59kb (0.12%)
/content/en/about/contribute/diagrams/diagram-guidelines.svg -- 47.65kb -> 47.63kb (0.05%)
/content/en/blog/2018/egress-monitoring-access-control/https-to-gateway.svg -- 37.47kb -> 37.46kb (0.05%)
/content/en/blog/2018/egress-monitoring-access-control/http-to-gateway.svg -- 37.63kb -> 37.61kb (0.05%)
/content/en/docs/reference/config/policy-and-telemetry/mixer-overview/topology-with-cache.svg -- 81.78kb -> 81.75kb (0.03%)
/content/en/blog/2019/data-plane-setup/arch-2.svg -- 82.76kb -> 82.74kb (0.03%)
/content/en/docs/setup/install/multicluster/shared-gateways/diagram.svg -- 116.08kb -> 116.05kb (0.02%)
/content/en/docs/tasks/traffic-management/egress/wildcard-egress-hosts/EgressGatewayWithSNIProxy.svg -- 71.72kb -> 71.71kb (0.02%)
/content/en/docs/examples/mesh-expansion/bookinfo-expanded/mesh-expansion.svg -- 217.56kb -> 217.53kb (0.01%)
/content/en/blog/2017/mixer-spof-myth/mixer-spof-myth-2.svg -- 91.28kb -> 91.28kb (0.01%)
/content/en/blog/2019/egress-traffic-control-in-istio-part-2/SecurityArchitectureWithL3Firewalls.svg -- 502.86kb -> 502.83kb (0%)
/content/zh/docs/concepts/multicluster-deployments/multicluster-with-gateways.svg -- 249.43kb -> 249.42kb (0%)
/content/en/docs/setup/install/multicluster/gateways/multicluster-with-gateways.svg -- 250.49kb -> 250.48kb (0%)
/content/zh/docs/concepts/multicluster-deployments/multicluster-with-vpn.svg -- 150.61kb -> 150.60kb (0%)
/content/en/docs/setup/install/multicluster/shared-vpn/multicluster-with-vpn.svg -- 151.47kb -> 151.47kb (0%)

Signed-off-by: ImgBotApp <ImgBotHelp@gmail.com>
2019-10-17 10:05:01 -07:00
Naoki Oketani 31d21ffbb4 migrate Deployment apiVersion from extensions/v1beta1 to apps/v1 to support k8s 1.16 (#5159)
* migrate Deployment apiVersion from extensions/v1beta1 to apps/v1 to support k8s 1.16

* migrate Deployment, PodSecurityPolicy apiVersion to support k8s 1.16
2019-10-15 10:56:21 -07:00
Vadim Eisenberg e392d7260a add a task about Kubernetes Services for egress (#4710)
* add the first version of Egress with Kubernetes Services

* add explicit disabling of TLS in destination rules

* rewrite the motivation for Kubernetes service entries

motivation: location transparency

* remove pre-Istio from .spelling

* add "The external services are not part of an Istio service mesh..."

so they cannot perform the mutual TLS of Istio.

* split a long line

* expand the explanations about disabling Istio's mutual TLS

* add explanation about disabling TLS mode in the HTTP case

* add explanation about disabling Istio mutual TLS for HTTPS case

* unencoded -> unencrypted

* fix a link

* fix the location of the task to be in content/en
2019-10-15 01:30:21 -07:00
Frank Budinsky 78ec428817 Improve concepts organization (#5095)
* cleanup unused files

* tweak wording

* merge traffic management architecture material

* reorg top level concept sections

* lint errors

* fix list style
2019-10-04 11:43:31 -07:00
John Howard fbc726c6b7 Remove usages of curl inside istio-proxy (#5073)
* Remove usages of curl inside istio-proxy

Distroless builds of Istio do not contain curl, so we should not tell
users to use it. Pilot-agent handles this functionality for us

* Fix lint error
2019-09-27 16:46:22 -07:00
Martin Taillefer d42dfe94ba
Introduce top-level News section. (#5060) 2019-09-27 07:09:58 -07:00
Ryan Michela 351710d058 Egress TLS origination port 443 must be HTTPS (#5049)
* Port 443 must be HTTPS

* Port 443 must be HTTPS
2019-09-26 12:05:15 -04:00
Vadim Eisenberg 28db342298 Minor egress fixes (#5025)
* fix the protocol in an HTTPS URL

* add "Enable Envoy's Access Logging" step to egress tasks
2019-09-21 23:41:11 -07:00
LisaFC 1ecc6cf6bb Updated traffic management concept guide (#5014)
* New traffic management rewrite

* Updated traffic management guide

* Fix typo

* Update content/en/docs/concepts/traffic-management/index.md

Co-Authored-By: John Howard <howardjohn@google.com>

* Update content/en/docs/concepts/traffic-management/index.md

Co-Authored-By: John Howard <howardjohn@google.com>

* Implementing Frank and John's edits

* Update content/en/docs/concepts/traffic-management/index.md

Co-Authored-By: Frank Budinsky <frankb@ca.ibm.com>

* Update content/en/docs/concepts/traffic-management/index.md

Co-Authored-By: Frank Budinsky <frankb@ca.ibm.com>

* Update content/en/docs/concepts/traffic-management/index.md

Co-Authored-By: Frank Budinsky <frankb@ca.ibm.com>

* Update content/en/docs/concepts/traffic-management/index.md

Co-Authored-By: Frank Budinsky <frankb@ca.ibm.com>

* Update content/en/docs/concepts/traffic-management/index.md

Co-Authored-By: Frank Budinsky <frankb@ca.ibm.com>

* Update content/en/docs/concepts/traffic-management/index.md

Co-Authored-By: Frank Budinsky <frankb@ca.ibm.com>

* Data plane definition

* Added glossary links

* Update content/en/docs/concepts/traffic-management/index.md

Co-Authored-By: Frank Budinsky <frankb@ca.ibm.com>

* Update content/en/docs/concepts/traffic-management/index.md

Co-Authored-By: Frank Budinsky <frankb@ca.ibm.com>

* Update content/en/docs/concepts/traffic-management/index.md

Co-Authored-By: Frank Budinsky <frankb@ca.ibm.com>

* Update content/en/docs/concepts/traffic-management/index.md

Co-Authored-By: Frank Budinsky <frankb@ca.ibm.com>

* Update content/en/docs/concepts/traffic-management/index.md

Co-Authored-By: Frank Budinsky <frankb@ca.ibm.com>

* Update content/en/docs/concepts/traffic-management/index.md

Co-Authored-By: Frank Budinsky <frankb@ca.ibm.com>

* Update content/en/docs/concepts/traffic-management/index.md

Co-Authored-By: Frank Budinsky <frankb@ca.ibm.com>

* Update content/en/docs/concepts/traffic-management/index.md

Co-Authored-By: Frank Budinsky <frankb@ca.ibm.com>

* Update content/en/docs/concepts/traffic-management/index.md

Co-Authored-By: Frank Budinsky <frankb@ca.ibm.com>

* Update content/en/docs/concepts/traffic-management/index.md

Co-Authored-By: Frank Budinsky <frankb@ca.ibm.com>

* Update content/en/docs/concepts/traffic-management/index.md

Co-Authored-By: Frank Budinsky <frankb@ca.ibm.com>

* Implementing Frank's suggestions

* More edits

* Update content/en/docs/concepts/traffic-management/index.md

Co-Authored-By: Frank Budinsky <frankb@ca.ibm.com>

* Update content/en/docs/concepts/traffic-management/index.md

Co-Authored-By: Frank Budinsky <frankb@ca.ibm.com>

* Update content/en/docs/concepts/traffic-management/index.md

Co-Authored-By: Frank Budinsky <frankb@ca.ibm.com>

* More edits from Frank and Srinath

* Update content/en/docs/concepts/traffic-management/index.md

Co-Authored-By: Frank Budinsky <frankb@ca.ibm.com>

* More edits

* Update index.md

* yet more edits

* Lint fixes and CRD glossary entry

* more links

* sdake's edits
2019-09-20 12:51:10 -07:00
Ed Snible 71145ac443 Error in Secure Gateways (SDS) extra <angle brackets> (#4930)
* Fix bash: syntax error near unexpected token

* Use <password> throughout

* Add angle brackets for single-backticked 'password'
2019-09-12 12:02:20 -04:00
Romain Lenglet 78a3473b94 Fix Envoy stats examples in egress docs (#4903) 2019-09-12 06:03:56 -07:00