Commit Graph

116 Commits

Author SHA1 Message Date
Faseela K caf376ef37
fix egress-tls-origination test (#11857)
The test waits for vs resource, that is not even created.
Wait on SE and DR is only needed.

Signed-off-by: Faseela K <faseela.k@est.tech>

Signed-off-by: Faseela K <faseela.k@est.tech>
2022-09-08 06:09:21 -07:00
Faseela K 13da430536
egress tls origination - clarify required RBAC (#11804)
Signed-off-by: Faseela K <faseela.k@est.tech>

Signed-off-by: Faseela K <faseela.k@est.tech>
2022-09-06 07:22:31 -07:00
Tong Li 46eb244468
Replace experimental uninstall command with uninstall command (#11736)
* Replace experimental uninstall command with uninstall command

Signed-off-by: Tong Li <litong01@us.ibm.com>

* Update content/en/docs/setup/upgrade/canary/index.md

Replace experimental uninstall command with uninstall command

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

* Apply suggestions from code review

Replace experimental uninstall command with uninstall command

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

* Replace experimental uninstall command with uninstall command

Signed-off-by: Tong Li <litong01@us.ibm.com>

* Replace experimental uninstall command with uninstall command

Signed-off-by: Tong Li <litong01@us.ibm.com>

* Replace experimental uninstall command with uninstall command

Signed-off-by: Tong Li <litong01@us.ibm.com>

* Replace experimental uninstall command with uninstall command

Signed-off-by: Tong Li <litong01@us.ibm.com>

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

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

* Replace experimental uninstall command with uninstall command

Signed-off-by: Tong Li <litong01@us.ibm.com>

Signed-off-by: Tong Li <litong01@us.ibm.com>
Co-authored-by: Frank Budinsky <frankb@ca.ibm.com>
2022-08-25 08:00:21 -07:00
Jakub Horák a5b270cba4
Improve clarity of Egress Gateway docs (#11458)
* Improve clarity of Egress Gateway docs

Make the step 13 more clear, since it is creating a DestinationRule in the test-egress namespace and not in the default namespace.

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

Co-authored-by: craigbox <craigbox@google.com>

Co-authored-by: craigbox <craigbox@google.com>
2022-06-20 10:36:26 -07:00
John Howard 2525eb5ea5
Wildcard egress: remove arbitrary domain section (#11291)
* Wildcard egress: remove arbitrary domain section

This doc has been a nuisance for many years. It recommends an extremely
complex and dangerous pattern, relying on deploying nginx, extremely
complex EnvoyFilters enabling unsupported, custom, alpha Envoy c++
filters, and a number of other scary practices. IMO this does not belong
in Istio docs at all, and certainly not in our top level taks.

* Add back single wildcard

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

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

Co-authored-by: Frank Budinsky <frankb@ca.ibm.com>
2022-06-06 15:36:31 -07:00
Faseela K 471750a0f1
Egress TLS Origination - fix typos (#11332)
Signed-off-by: Faseela K <faseela.k@est.tech>
2022-05-20 05:59:30 -07:00
Faseela K db2b88790e
Document Egress mTLS origination at sidecar using credentialName in DR (#11301)
* Documentation for egress mTLS origination at sidecar using credentialName in DR

The feature is already merged. So trying to add a documentation for the same.

Signed-off-by: Faseela K <faseela.k@est.tech>

* Remove duplicate code and point to the existing documentation

Signed-off-by: Faseela K <faseela.k@est.tech>

* Fix test failures

Signed-off-by: Faseela K <faseela.k@est.tech>

* Fix test failures

Signed-off-by: Faseela K <faseela.k@est.tech>

* Add tests for mTLS origination at sidecar

Signed-off-by: Faseela K <faseela.k@est.tech>
2022-05-19 08:16:58 -07:00
Frank Budinsky a326daa3e0
Add webhooks to test framework snapshot (#11281)
* Add webhooks to test framework snapshot

* missing return

* fix lint

* some fixes

* more fixes

* final fixes

* one more
2022-05-13 10:12:49 -07:00
Frank Budinsky 616d2afdc4
Possible fix for test flake (#10982) 2022-02-28 11:19:58 -08:00
Frank Budinsky 3d8e81d7d9
Document EnvoyProxy priority problem (#10935)
* Document EnvoyProxy priorty problem

* fix lint

* make more future-proof

* tweak
2022-02-23 21:04:00 -08:00
Istio Automation 3d1ad88e4b
[master] GKE typo fix (#10881)
* Typo fix for GKE

* make gen

Co-authored-by: Noah Nsimbe <37845280+NoahNsimbe@users.noreply.github.com>
Co-authored-by: Eric Van Norman <ericvn@us.ibm.com>
2022-02-08 17:07:55 -08:00
Faseela K ac40646148
Remove unwanted cleanup step in mtls example (#10778)
Signed-off-by: Faseela K <faseela.k@est.tech>
2022-01-12 08:19:07 -08:00
Faseela K d99f954936
Minor fix in egress mtls example cleanup (#10720)
* Minor fix in egress mtls example cleanup

The document mentions some resources for cleanup
which are not actually created as part of this exercise.

Signed-off-by: Faseela K <faseela.k@est.tech>

* Adding make gen output files

Signed-off-by: Faseela K <faseela.k@est.tech>
2022-01-05 15:23:28 -08:00
刘旭 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