Commit Graph

331 Commits

Author SHA1 Message Date
Frank Budinsky 285d3d99aa
Temporary fix for mirroring test flakiness (#12222) 2022-11-11 20:21:11 -08:00
Frank Budinsky 1bffb35b1c
gateway-api: add instructions to mirroring task (#12218) 2022-11-11 16:29:36 -05:00
Frank Budinsky 69981b01b1
gateway-api: add gateway api instruction to request routing task (#12204)
* gateway-api: add gateway api instruction to request routing task

* lint

* regen

* improve gamma tip/warning

* lint

* add port

* fix samples.sh

* fixes
2022-11-10 14:32:57 -05:00
Caleb Olson 9b7c5f41b2
Update ingress task to use networking.k8s.io/v1 apiVersion (#12013) (#12200) 2022-11-08 12:26:13 -08:00
Frank Budinsky 4be5cd157a
gateway-api: update for gep-1426 (#12197)
* gateway-api: update for gep-1426

* regen

* lint
2022-11-07 08:13:12 -08:00
Frank Budinsky d9970beaa3
gateway-api: enable mutual tls test (#12156)
* gateway-api: enable mutual tls test

* verify_failure should retry

* fix
2022-10-31 13:27:43 -07:00
Frank Budinsky 554dc8e39c
gateway-api: more gateway api documentation (#12163)
* gateway-api: more gateway doc

* tweak

* Update content/en/docs/setup/additional-setup/gateway/index.md

Co-authored-by: John Howard <howardjohn@google.com>

Co-authored-by: John Howard <howardjohn@google.com>
2022-10-31 09:48:00 -07:00
Faseela K 76389902ed
Document Sidecar Ingress TLS Termination Feature (#12140)
* Document Sidecar Ingress TLS Termination Feature

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

* Fix lint failures

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

* Fix test failure

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

* Fix test failure

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

* Fix the negative test for TLS

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

* fix test

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

* Fix the verification issue with multiline command output

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

* Replace _verify_contains with _verify_first_line

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

* Add exact result string for _verify_first_line

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

* Fix after-snapshot test error

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

* incorporate review comments

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

* Incorporate review comments

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

* Additional review comments

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

* Small fix

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

* Additional review comments

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

Signed-off-by: Faseela K <faseela.k@est.tech>
2022-10-31 06:34:59 -07:00
Frank Budinsky 3a2d27a49b
A few doc layout and clarity improvements (#12115) 2022-10-18 09:45:23 -07:00
Frank Budinsky f31d54066f
Fix broken sni-passthrough doc test (#12109)
* Fix broken sni-passthrough doc test

* remove exit
2022-10-18 00:24:38 -07:00
Frank Budinsky dd6b1c09cc
gateway-api doc: ingress-sni-passthrough (#12087)
* gateway-api doc: ingress-sni-passthrough

* use kustomize for crds

* debug

* more debug

* use standard crd install

* try profile=none

* uninstall

* confirm install

* disable test for now

* regen
2022-10-17 10:39:10 -07:00
Frank Budinsky d0fadfed00
Add gateway-api instructions: secure-ingress (#12051)
* Add gateway-api instructions: secure-ingress

* fix lint and test

* fixes

* mtls problem

* not work

* update option key

* regen

* mtls support

* wait

* improvements

* longer timeout

* lint
2022-10-07 12:37:15 -07:00
Eric Van Norman 20491e3165
use short_codes for gateway api version (#12042)
* use short_codes for gateway api version and tpye

* Update function name. Forcing name doesn't work for boilerplates?

* Fix lint

* Remove k8s_gateway_api_type

* Add update-gateway-version mkaefile target

* Fix version in test string

* Simplify id
2022-10-04 12:07:49 -07:00
Frank Budinsky 5cdaef58be
Update gateway-api version v1alpha2 -> v1beta1 (#12041) 2022-10-03 14:20:48 -07:00
Frank Budinsky 5e89d73d81
Add gateway-api instructions to getting-started and bookinfo docs (#12021)
* Add gateway-api instructions to getting-started and bookinfo docs

* fix lint

* fix cleanup

* regen

* fix lint

* fix setup

* fix include path

* v1alpha2 -> v1beta1

* regen

* install k8s crds

* fix lint

* fix cleanup

* lint

* workaround duplicate crd problem

* fix cmd

* fixes

* lint

* more fixes

* typo

* regen

* uncomment failing snip

* no choice in getting-started

* lint

* typo

* remove duplicate section title
2022-10-03 12:11:48 -07:00
Eric Van Norman afd153c961
Fix ingress control doc related to other providers and numbering (#11969)
* Fix ingress control doc related to other providers and numbering

* Run make gen

* Add back TCP_INGRESS_PORT

* Revert to dash seperator for consistency
2022-09-20 10:37:38 -07:00
Rodrey 7f608e925a
Update index.md (#11886)
* Update index.md

Added a quick tip for Kind users to get LoadBalancers to work.

* Added more context on Kind-related tip.

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

Co-authored-by: Frank Budinsky <frankb@ca.ibm.com>
2022-09-14 17:58:14 -07:00
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
Frank Budinsky 8394e0de04
Add httproute to cleanup instructions (#11786) 2022-09-01 13:06:40 -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
Frank Budinsky 0aaff36061
Gateway API doc improvements (#11737)
* Gateway API doc improvements

* add header

* grammar tweak

* fix lint

* one more
2022-08-23 16:03:43 -07:00
Istio Automation d39873ede8
[master] Add minikube in the instructions per Kubernetes environment (#11613)
* Add minikube in the instructions per Kubernetes environment

I was coming from https://istio.io/latest/docs/examples/bookinfo/ "Follow these instructions to set the INGRESS_HOST and INGRESS_PORT ..." and did not realize I would have to setup the minikube tunnel as explained in the [Getting Started Guide](https://istio.io/latest/docs/setup/getting-started/#determining-the-ingress-ip-and-ports)

For this reason I suggest to add it here as well.

* incorporated reviewers suggestions

* snips and tests for the new code snippet in docu

* ran make snips
* updated test.sh with the new functin names
* also the functions
  snip_determining_the_ingress_ip_and_ports_{3,5,6,7,8,9} have changed
  but they seem not to be used in test.sh

* followed reviewer suggestion to revert sip numbers

- used the annotation snip_id=none to skip the snippet, see https://github.com/istio/istio.io/blob/master/tests/README.md
- took back the snip renumbering
- checked that generating snips does not bring them back again: make
  snips

* used custom name for generated snip

- now using minikube_tunnel as snip_id, resulting in a generated snip id snip_minikube_tunnel
- apparently still the remaining snips get renumbered
- updated test.sh with the 2 changed snip calls

Co-authored-by: Martin Knechtel <martin.knechtel@sap.com>
2022-07-20 08:35:39 -07:00
CharliePu 5312777dcc
Fix document omissions. (#11393)
* Fix document omissions.

* Fix document omissions.
2022-06-21 12:12:23 -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
Eric Van Norman 9689696934
Update minikube instructions related to ingress host and port (#11326)
* Update minikube instructiuons related to ingress host and port

* Rune make gen

* Update test script with new snippet names (renumbered)
2022-05-24 07:48:10 -07:00
Eric Van Norman 3a18e15028
Update multicluster test kind image (#11337)
* Update multicluster test kind image

* Fix linting errors

* Restore make gen temporarily until reall common-files update can happen
2022-05-20 23:45:15 -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 db62971c31
Expand the gateway-api docs for 1.12 (#10481)
* Expand the gateway-api docs for 1.12

This introduces a lot more details, highlights changes in 1.12, and
discusses the differences between Istio and Gateway-API.

* erics comments

* clarify

* gen
2021-11-12 13:34:44 -08:00
Eric Van Norman df10dca654
Update test ref (#10423)
* Update to latest istio/istio commit for istio.io tests

* Update to latest istio commit

* Additional istioctl analyze output

* Fix istioctl-analyze test

* Fix gateway doc

* Fix setting of INGRESS_HOST and more cleanup

* Fixes for unbound INGRESS_HOST

* lint fix

Co-authored-by: John Howard <howardjohn@google.com>
2021-10-20 09:07:12 -07:00
Yangmin Zhu 3053d41089
add task for JWT claim based routing (#10332)
* add task for JWT claim based routing

* move to security

* update

* update

* update
2021-10-12 19:08:05 -07:00
Eric Van Norman 3b2cd03943
Update test reference to latest istio (#10336)
* Update test reference to latest istio

* Update helm output

* Update install/operator test to allow <pending> IP for running locally.

* fix lint

* Gateway changes

* Fix gateway

* Remove remaining webhook to make tests pass

* Change to use istioctl tag remove
2021-09-16 11:53:40 -07: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
Istio Automation c01da14edd
[master] Add the information that you can concatenate CA certs (#10057)
* Add the information that you can concatenate CA certs

Add the information that you can concatenate CA certs if you want to accept MTLS from client providing certificate signed by different CAs

* english review comments

* adding back key and also adding "value"

Co-authored-by: Laurent Demailly <ldemailly@gmail.com>
2021-07-11 13:26:54 -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
Brian Avery 8f9f335365
Add table of contents test status (#10010) 2021-06-29 09:55:49 -07:00
danielmenezesbr be57c3bbf2
missing a space after "kubectl get pods -l" (#9901) 2021-06-29 08:12:38 -07:00
Frank Budinsky cc6c3ec406
Improve traffic shifting task overview (#9992)
* Improve traffic shifting task overview

* rm blank line
2021-06-25 15:21:49 -07:00
刘旭 7dbf1b0d1f
use sha256 (#9981) 2021-06-25 07:26:16 -07:00
Kenjiro Nakayama 4c52540083
Update Gateway API doc (#9889)
* Update Gateway API doc

This patch updates Gateway API doc to use:

- Gateway CRD v0.3.0
- Remove `PILOT_ENABLED_SERVICE_APIS` as it is enabled by default.

* Run make gen
2021-06-07 09:13:05 -07:00
Eric Van Norman 22c1956465
Fix image used by sleep sample (doesn't use istio/istio sleep) (#9830) 2021-05-21 14:01:12 -07:00
craigbox f4ee46bc96
Remove page icons (#9767) 2021-05-17 07:53:20 -07:00
Taction 38b55913f3
fix example content `mirrorPercent` to `mirrorPercentage` (#9764)
* fix example content `mirrorPercentage`

* commit generated file
2021-05-16 08:57:40 -07:00
Frank Budinsky ff6edbb5bb
Fix recently changed doc aliases with temporary /latest hack (#9740) 2021-05-13 12:43:53 -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 f127816dc7
Update istio reference, update circuit braker test (#9454) 2021-04-06 08:35:48 -07:00
Eric Van Norman d9658dae3d
Restore istioctl experimental wait in _wait_for_istio() (#9426) 2021-04-05 13:02:04 -07:00
Xiaopeng Han dd2e10ff00
Adding destination rules part to the tip section in "bookinfo" page (#9230)
* revise author info to pass google cla

* revise the tip content in bookinfo page

* run make gen

* Update content/en/docs/examples/bookinfo/index.md

Co-authored-by: Eric Van Norman <ericvn@us.ibm.com>

Co-authored-by: Eric Van Norman <ericvn@us.ibm.com>
2021-03-25 06:59:51 -07:00
John Howard 984dbf0e01
Add info about SNI routing (#9276)
* Add info about SNI routing

* Apply suggestions from code review

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

* add to common problems

* address comments

* fix lint

Co-authored-by: Frank Budinsky <frankb@ca.ibm.com>
2021-03-24 16:19: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
Shamsher Ansari f23fcb5fb0
Rename Service APIs to Gateway API (#9347)
* Rename Service APIs to Gateway API

* update alias

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

* fix missing url

Co-authored-by: craigbox <craigbox@google.com>
2021-03-22 07:29:35 -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
masquee cd0d07d02b
fix circuit breaker task (#9022)
* fix circuit breaker task

* gen
2021-02-23 06:43:33 -08:00
craigbox 6b0fde5d3e
s/service-apis/gateway-api/ (#8988)
* Update index.md

* Update index.md
2021-02-16 13:14:39 -08:00
jacob-delgado 5c1db367d0
1.9.0 announcement (#8910) 2021-02-09 10:01:18 -08:00
Zhonghu Xu 56e128d8df
change baseEjectionTime < 300s (#8895) 2021-02-04 07:06:41 -08:00
John Howard 81a017eea5
Fix incorrect YAML casing (#8811)
Technically both work. Camel case is preferred
2021-01-20 14:41:37 -08:00
Xinnan Wen 06913341a3
fix mirror task doc (#8802)
* fix mirror task doc

* make gen
2021-01-20 11:12:29 -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
Sam Naser 6abdcec827
Service API task doc test (#8796)
* mark as tested

* generate snips

* test progress

* add -I to curl output in command

* regenerate snips

* doc test fixes

* Add HTTP/1.1 to expected output

* change to use verify_elided
2021-01-20 08:38:48 -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
John Howard aa8a33a823
Fix gateway example (#8787)
Fixes https://github.com/istio/istio.io/issues/8786
2021-01-15 16:01:06 -08:00
John Howard 92600cee30
Use correct CRD version (#8724)
Forgot to update after the official release
2021-01-05 06:31:55 -08:00
carolynhu 40e39adde9
Fix wrong link for Control Ingress Traffic task (#8679) 2020-12-17 06:33:03 -08:00
Frank Budinsky 4fac23cf3d
Some traffic management doc fixes (#8673) 2020-12-16 08:41:55 -08:00
Frank Budinsky 66b9b52f04
Reorder ingress tasks (#8617) 2020-12-03 09:03:26 -08:00
John Howard eee75c78d7
Add documentation for experimental service APIs integration (#8497)
* Add documentation for experimental service APIs integration

The intent of this doc is to show users that Istio supports
service-apis, and the few steps needed to use them with Istio. It is NOT
intended as a source of truth for documentation for the APIs, deferring
to the upstream for all details
(https://kubernetes-sigs.github.io/service-apis/).

* apply suggestions

* Apply suggestions from code review

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

Co-authored-by: Frank Budinsky <frankb@ca.ibm.com>
2020-12-03 05:58:24 -08:00
sudeepbatra 8221b2adc6
Small update to clarify the mirror flow (#8509)
* Small update to clarify the mirror flow

Small clarification - This route rule sends 100% of the traffic from `v1` to `v2`

* Update index.md

ok updated, hope this clarifies further.

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

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

Co-authored-by: Frank Budinsky <frankb@ca.ibm.com>
2020-12-01 08:33:38 -08:00
Frank Budinsky f1be3d55d4
Minor improvements to locality LB tasks (#8570) 2020-11-25 09:32:55 -08:00
imgbot[bot] 7981c54490
[ImgBot] Optimize images (#8579)
*Total -- 16,698.64kb -> 15,132.55kb (9.38%)

/archive/v1.7/zh/about/community/partners/meshdynamics.png -- 146.38kb -> 47.51kb (67.54%)
/archive/v1.7/about/community/partners/meshdynamics.png -- 146.38kb -> 47.51kb (67.54%)
/archive/v1.7/blog/2020/mosn-proxy/mosn-arch.png -- 29.12kb -> 14.35kb (50.71%)
/archive/v1.7/zh/blog/2020/mosn-proxy/mosn-arch.png -- 29.12kb -> 14.35kb (50.71%)
/archive/v1.7/zh/about/community/customers/deepdesk.png -- 19.63kb -> 10.47kb (46.66%)
/archive/v1.7/about/community/customers/deepdesk.png -- 19.63kb -> 10.47kb (46.66%)
/archive/v1.7/docs/tasks/observability/metrics/querying-metrics/prometheus_query_result.png -- 191.94kb -> 117.14kb (38.97%)
/archive/v1.7/docs/tasks/observability/kiali/kiali-wiz2-ratings-service-action-menu.png -- 114.91kb -> 77.47kb (32.58%)
/archive/v1.7/docs/setup/getting-started/kiali-example2.png -- 262.82kb -> 177.91kb (32.31%)
/archive/v1.7/zh/docs/setup/getting-started/kiali-example2.png -- 262.82kb -> 177.91kb (32.31%)
/archive/v1.7/docs/ops/diagnostic-tools/controlz/ctrlz.png -- 105.71kb -> 71.86kb (32.03%)
/archive/v1.7/blog/2020/deploy-wasm-declarative/how-it-works.png -- 117.95kb -> 81.33kb (31.04%)
/archive/v1.7/zh/blog/2020/deploy-wasm-declarative/how-it-works.png -- 117.95kb -> 81.33kb (31.04%)
/archive/v1.7/zh/about/community/customers/tuya.png -- 15.99kb -> 11.10kb (30.57%)
/archive/v1.7/about/community/customers/tuya.png -- 15.99kb -> 11.10kb (30.57%)
/archive/v1.7/docs/tasks/observability/kiali/kiali-wiz1-graph-ratings-percent.png -- 69.02kb -> 48.90kb (29.15%)
/archive/v1.7/docs/tasks/observability/distributed-tracing/lightstep/istio-explorer.png -- 598.16kb -> 434.01kb (27.44%)
/archive/v1.7/zh/docs/tasks/observability/distributed-tracing/lightstep/istio-explorer.png -- 598.16kb -> 434.01kb (27.44%)
/archive/v1.7/zh/docs/tasks/observability/distributed-tracing/lightstep/istio-services.png -- 372.11kb -> 273.16kb (26.59%)
/archive/v1.7/docs/tasks/observability/distributed-tracing/lightstep/istio-services.png -- 372.11kb -> 273.16kb (26.59%)
/archive/v1.7/zh/about/community/customers/coyote.png -- 10.35kb -> 7.70kb (25.63%)
/archive/v1.7/about/community/customers/coyote.png -- 10.35kb -> 7.70kb (25.63%)
/archive/v1.7/zh/about/community/partners/tetrate.png -- 97.29kb -> 74.58kb (23.34%)
/archive/v1.7/about/community/partners/tetrate.png -- 97.29kb -> 74.58kb (23.34%)
/archive/v1.7/docs/tasks/observability/distributed-tracing/zipkin/istio-tracing-details-zipkin.png -- 175.83kb -> 134.82kb (23.32%)
/archive/v1.7/docs/tasks/observability/kiali/kiali-istioconfig1-tooltip.png -- 76.28kb -> 58.54kb (23.26%)
/archive/v1.7/docs/tasks/observability/kiali/kiali-istioconfig3-details-yaml1.png -- 85.27kb -> 65.82kb (22.82%)
/archive/v1.7/docs/tasks/observability/distributed-tracing/zipkin/istio-tracing-list-zipkin.png -- 49.86kb -> 38.62kb (22.55%)
/archive/v1.7/zh/about/community/customers/hotels-com.svg -- 12.99kb -> 10.11kb (22.15%)
/archive/v1.7/about/community/customers/hotels-com.svg -- 12.99kb -> 10.11kb (22.15%)
/archive/v1.7/zh/about/community/partners/portshift.png -- 3.16kb -> 2.46kb (22.12%)
/archive/v1.7/about/community/partners/portshift.png -- 3.16kb -> 2.46kb (22.12%)
/archive/v1.7/docs/tasks/observability/kiali/kiali-validate1-list.png -- 77.38kb -> 60.43kb (21.9%)
/archive/v1.7/docs/tasks/observability/kiali/kiali-istioconfig0-errormsgs.png -- 101.91kb -> 79.96kb (21.54%)
/archive/v1.7/docs/tasks/observability/kiali/kiali-istioconfig3-details-yaml2.png -- 90.03kb -> 70.81kb (21.35%)
/archive/v1.7/docs/tasks/observability/kiali/kiali-istioconfig3-details-yaml3.png -- 89.28kb -> 70.36kb (21.19%)
/archive/v1.7/docs/tasks/observability/kiali/kiali-overview.png -- 55.41kb -> 43.76kb (21.03%)
/archive/v1.7/docs/tasks/observability/kiali/kiali-wiz0-graph-options.png -- 82.54kb -> 65.34kb (20.83%)
/archive/v1.7/docs/tasks/observability/kiali/kiali-validate3-ok.png -- 86.71kb -> 68.68kb (20.8%)
/archive/v1.7/docs/tasks/observability/kiali/kiali-validate2-errormsg.png -- 53.18kb -> 42.43kb (20.22%)
/archive/v1.7/docs/tasks/observability/kiali/kiali-istioconfig2-details-errormsgs.png -- 85.37kb -> 68.63kb (19.61%)
/archive/v1.7/docs/tasks/observability/kiali/kiali-graph.png -- 119.75kb -> 98.10kb (18.08%)
/archive/v1.7/zh/about/community/customers/rapido.png -- 42.78kb -> 35.06kb (18.04%)
/archive/v1.7/about/community/customers/rapido.png -- 42.78kb -> 35.06kb (18.04%)
/archive/v1.7/zh/about/community/customers/chiper.png -- 16.80kb -> 14.02kb (16.55%)
/archive/v1.7/about/community/customers/chiper.png -- 16.80kb -> 14.02kb (16.55%)
/archive/v1.7/blog/2020/workload-entry/workload-entry-final.svg -- 3.61kb -> 3.27kb (9.34%)
/archive/v1.7/about/community/customers/delphi-tech.png -- 23.34kb -> 21.28kb (8.85%)
/archive/v1.7/zh/about/community/customers/delphi-tech.png -- 23.34kb -> 21.28kb (8.85%)
/archive/v1.7/blog/2020/workload-entry/workload-entry-first-example.svg -- 3.86kb -> 3.53kb (8.46%)
/archive/v1.7/about/community/join/governance.svg -- 1.01kb -> 0.96kb (5.77%)
/archive/v1.7/zh/about/community/join/governance.svg -- 1.01kb -> 0.96kb (5.77%)
/content/en/about/community/join/governance.svg -- 1.01kb -> 0.96kb (5.77%)
/archive/v1.7/zh/about/community/customers/nearpod.svg -- 11.77kb -> 11.44kb (2.8%)
/archive/v1.7/about/community/customers/nearpod.svg -- 11.77kb -> 11.44kb (2.8%)
/archive/v1.7/about/community/partners/signalsciences.svg -- 9.81kb -> 9.58kb (2.37%)
/archive/v1.7/zh/about/community/partners/signalsciences.svg -- 9.81kb -> 9.58kb (2.37%)
/archive/v1.7/docs/ops/configuration/telemetry/monitoring-multicluster-prometheus/in-mesh-production-prometheus.svg -- 141.09kb -> 138.61kb (1.76%)
/archive/v1.7/docs/ops/configuration/telemetry/monitoring-multicluster-prometheus/external-production-prometheus.svg -- 161.00kb -> 158.40kb (1.62%)
/content/en/docs/tasks/traffic-management/locality-load-balancing/before-you-begin/setup.svg -- 134.30kb -> 132.76kb (1.15%)
/content/en/docs/tasks/traffic-management/locality-load-balancing/failover/sequence.svg -- 140.70kb -> 139.09kb (1.14%)
/archive/v1.7/docs/ops/best-practices/observability/production-prometheus.svg -- 132.91kb -> 131.50kb (1.06%)
/archive/v1.7/blog/2020/new-deployment-model/multiple-clusters-external-Istiod.svg -- 141.86kb -> 140.36kb (1.06%)
/archive/v1.7/blog/2020/new-deployment-model/single-cluster.svg -- 73.41kb -> 72.64kb (1.05%)
/content/en/docs/setup/install/multicluster/primary-remote/arch.svg -- 86.51kb -> 85.72kb (0.91%)
/content/en/docs/setup/install/multicluster/multi-primary/arch.svg -- 94.20kb -> 93.39kb (0.86%)
/archive/v1.7/blog/2020/new-deployment-model/multiple-external-Istiods.svg -- 188.85kb -> 187.29kb (0.83%)
/content/en/docs/setup/install/multicluster/primary-remote_multi-network/arch.svg -- 100.69kb -> 99.87kb (0.82%)
/archive/v1.7/zh/docs/ops/deployment/deployment-models/single-cluster-external-control-plane.svg -- 97.20kb -> 96.43kb (0.8%)
/archive/v1.7/docs/ops/deployment/deployment-models/single-cluster-external-control-plane.svg -- 97.20kb -> 96.43kb (0.8%)
/archive/v1.7/blog/2020/new-deployment-model/single-cluster-external-Istiod.svg -- 108.37kb -> 107.55kb (0.76%)
/content/en/docs/setup/install/multicluster/multi-primary_multi-network/arch.svg -- 114.25kb -> 113.39kb (0.75%)
/archive/v1.7/blog/2020/large-scale-security-policy-performance-tests/istio_setup.svg -- 25.85kb -> 25.68kb (0.65%)
/content/en/docs/setup/additional-setup/external-controlplane/external-controlplane.svg -- 75.23kb -> 74.76kb (0.62%)
/archive/v1.7/zh/blog/2020/tradewinds-2020/architecture-post-istiod.svg -- 169.81kb -> 169.00kb (0.48%)
/content/en/docs/ops/configuration/traffic-management/tls-configuration/sidecar-connections.svg -- 75.19kb -> 74.98kb (0.28%)
/content/en/docs/ops/configuration/traffic-management/tls-configuration/gateway-connections.svg -- 62.80kb -> 62.65kb (0.25%)
/archive/v1.7/zh/docs/tasks/traffic-management/egress/wildcard-egress-hosts/EgressGatewayWithSNIProxyCP.svg -- 126.40kb -> 126.09kb (0.25%)
/archive/v1.7/docs/tasks/traffic-management/egress/wildcard-egress-hosts/EgressGatewayWithSNIProxyCP.svg -- 126.40kb -> 126.09kb (0.25%)
/archive/v1.7/zh/about/community/customers/avito.svg -- 1.77kb -> 1.76kb (0.22%)
/archive/v1.7/about/community/customers/avito.svg -- 1.77kb -> 1.76kb (0.22%)
/archive/v1.7/zh/blog/2020/tradewinds-2020/architecture-pre-istiod.svg -- 607.59kb -> 606.27kb (0.22%)
/archive/v1.7/docs/ops/deployment/architecture/arch.svg -- 11.68kb -> 11.65kb (0.22%)
/archive/v1.7/zh/docs/ops/deployment/architecture/arch.svg -- 11.68kb -> 11.65kb (0.22%)
/archive/v1.7/blog/2020/alb-ingress-gateway-iks/alb-ingress-gateway.svg -- 364.92kb -> 364.35kb (0.15%)
/archive/v1.7/img/icons.svg -- 96.09kb -> 95.95kb (0.15%)
/archive/v1.7/about/contribute/remove-content/remove-documentation.svg -- 149.34kb -> 149.13kb (0.15%)
/archive/v1.7/zh/about/community/customers/cash-app.svg -- 4.78kb -> 4.78kb (0.12%)
/archive/v1.7/about/community/customers/cash-app.svg -- 4.78kb -> 4.78kb (0.12%)
/archive/v1.7/docs/concepts/wasm/extending.svg -- 175.72kb -> 175.52kb (0.11%)
/archive/v1.7/zh/docs/concepts/wasm/extending.svg -- 175.72kb -> 175.52kb (0.11%)
/archive/v1.7/zh/about/community/customers/iherb.svg -- 3.64kb -> 3.63kb (0.08%)
/archive/v1.7/blog/2020/large-scale-security-policy-performance-tests/mtls_plaintext.svg -- 216.38kb -> 216.21kb (0.08%)
/archive/v1.7/blog/2020/large-scale-security-policy-performance-tests/AuthZ_var_paths.svg -- 273.61kb -> 273.44kb (0.06%)
/archive/v1.7/blog/2020/large-scale-security-policy-performance-tests/RequestAuthN_jwks.svg -- 275.79kb -> 275.63kb (0.06%)
/archive/v1.7/blog/2020/large-scale-security-policy-performance-tests/AuthZ_var_policies_paths.svg -- 279.11kb -> 278.94kb (0.06%)
/archive/v1.7/blog/2020/large-scale-security-policy-performance-tests/AuthZ_var_principals.svg -- 286.37kb -> 286.21kb (0.06%)
/archive/v1.7/blog/2020/large-scale-security-policy-performance-tests/AuthZ_var_policies_sourceIP.svg -- 296.11kb -> 295.95kb (0.06%)
/archive/v1.7/blog/2020/large-scale-security-policy-performance-tests/AuthZ_var_requestPrincipals.svg -- 297.02kb -> 296.85kb (0.06%)
/archive/v1.7/blog/2020/large-scale-security-policy-performance-tests/AuthZ_var_sourceIP.svg -- 298.21kb -> 298.04kb (0.06%)
/archive/v1.7/blog/2020/large-scale-security-policy-performance-tests/AuthZ_paths_vs_sourceIP.svg -- 317.29kb -> 317.12kb (0.05%)
/content/en/docs/ops/deployment/performance-and-scalability/latency_p90_fortio_with_jitter.svg -- 333.49kb -> 333.33kb (0.05%)
/archive/v1.7/docs/ops/deployment/performance-and-scalability/latency_p90_fortio_with_jitter.svg -- 348.28kb -> 348.11kb (0.05%)
/archive/v1.7/zh/docs/ops/deployment/performance-and-scalability/latency_p90_fortio_with_jitter.svg -- 348.28kb -> 348.11kb (0.05%)
/archive/v1.7/docs/ops/deployment/performance-and-scalability/latency_p99_fortio_with_jitter.svg -- 374.95kb -> 374.79kb (0.04%)
/archive/v1.7/zh/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 -- 398.86kb -> 398.69kb (0.04%)
/content/en/docs/ops/deployment/performance-and-scalability/latency_p99_fortio_without_jitter.svg -- 418.98kb -> 418.81kb (0.04%)
/content/en/docs/ops/deployment/performance-and-scalability/latency_p99_fortio_with_jitter.svg -- 428.26kb -> 428.09kb (0.04%)
/archive/v1.7/docs/ops/deployment/performance-and-scalability/latency_p90_fortio_without_jitter.svg -- 431.32kb -> 431.16kb (0.04%)
/archive/v1.7/zh/docs/ops/deployment/performance-and-scalability/latency_p90_fortio_without_jitter.svg -- 431.32kb -> 431.16kb (0.04%)
/archive/v1.7/docs/ops/deployment/performance-and-scalability/latency_p99_fortio_without_jitter.svg -- 439.68kb -> 439.51kb (0.04%)
/archive/v1.7/zh/docs/ops/deployment/performance-and-scalability/latency_p99_fortio_without_jitter.svg -- 439.68kb -> 439.51kb (0.04%)
/archive/v1.7/zh/about/community/customers/giffgaff.svg -- 2.62kb -> 2.62kb (0.04%)
/archive/v1.7/about/community/customers/giffgaff.svg -- 2.62kb -> 2.62kb (0.04%)

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

Co-authored-by: ImgBotApp <ImgBotHelp@gmail.com>
2020-11-25 11:25:21 -05:00
Nathan Mittler 6dacfe64a0
Various cleanup for locality LB tasks (#8571) 2020-11-25 09:50:28 -05: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 c5e8a9adc5
Rework locality LB docs into tasks (#8402)
Removing the old locality docs entirely and replacing with tested tasks.
2020-11-24 09:31:15 -08: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
Nathan Mittler 132c2375bc
Add wait for gateway to multicluster tests (#8346)
This required some other changes WRT verification:

- Change __cmp_like to allow for not accepting <pending> for an IP address.

- Change __verify_with_retry to use a timeout rathan than number of retries. This is a more intuitive interface and aligns with the way we do retries in istio/istio. I also got rid of exponential backoff and allow both the timeout and delay between retries to be configured.
2020-10-26 06:45:38 -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
Lin Sun fbb263e6de
clarify request timeout default (#7983)
* clarify request timeout default

* fix lint

* update timeout

* upper case http

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

Co-authored-by: Frank Budinsky <frankb@ca.ibm.com>
2020-08-21 14:08:42 -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
Frank Budinsky c84690b958
Fix broken circuit-breaking test (#7866)
* Fix broken circuit-breaking test

* supress stderr

* curl -quiet

* tweak
2020-08-04 16:42:23 -04: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
Ram Vennam 1ea2db035e
typo (#7744) 2020-07-17 14:07:27 -07: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
Albert Sun 2f1ba00487
Add IBM Cloud Kubernetes Service specific instructions for node port Ingress Host (#7663)
* Add IBM Cloud Kubernetes Service specific instructions for Ingress Host

The previous instruction put IBM cloud under other environments, and the command set the Ingress Host to the wrong address.

* Update content/en/docs/setup/getting-started/index.md

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

* Moved IBM Cloud instructions above Docker

* Add IBM Cloud Node port Ingress host instructions to same documentation

* Update Ingress Control Tests

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

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

* update snips.sh

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

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

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

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

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

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

Co-authored-by: Frank Budinsky <frankb@ca.ibm.com>
2020-07-07 13:18:01 -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
Hongyi Zhang 420a54447b
Migration to a new framework for doc testing (#7465)
* 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

Co-authored-by: Frank Budinsky <frankb@ca.ibm.com>
2020-06-09 14:11:53 -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
Frank Budinsky 1d5fa543ef
Fix circuit-breaker snips (#7475) 2020-06-04 19:23:44 -07:00
Shamsher Ansari 9fe272272b
update doc to use istioctl install (#7396) 2020-06-01 11:02:27 -07:00
Lin Sun a5fceca006
add a test for ingress SNI passthrough (#7380)
* add a test

* fix path

* fix lint 1

* fix lint 2

* hope to get lint pass now

* Update content/en/docs/tasks/traffic-management/ingress/ingress-sni-passthrough/index.md

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

* Update content/en/docs/tasks/traffic-management/ingress/ingress-sni-passthrough/index.md

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

* Update tests/trafficmanagement/ingress/scripts/ingress_sni_passthrough.sh

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

* Update tests/trafficmanagement/ingress/scripts/ingress_sni_passthrough.sh

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

* Update tests/trafficmanagement/ingress/scripts/ingress_sni_passthrough.sh

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

* Update tests/trafficmanagement/ingress/scripts/ingress_sni_passthrough.sh

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

* Update tests/trafficmanagement/ingress/scripts/ingress_sni_passthrough.sh

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

* add fix from frank

* fix name

* update output

* mark test: yes

Co-authored-by: Frank Budinsky <frankb@ca.ibm.com>
2020-05-27 11:38:07 -07:00
Frank Budinsky e11cf24f0d
Add test: attribute to all md files (#7413) 2020-05-27 09:11:26 -07:00
Frank Budinsky 77d3dc6bf1
Fix mirroring test (#7399)
* Fix mirroring test

* fix typo

* fixes

* export vars

* lint
2020-05-26 12:57:19 -07:00
Frank Budinsky 4e0103110d
Cleanup mirroring test (#7387)
* Cleanup mirroring test

* sleep

* fix mtls-migr cleanup

* debug

* debug2

* debug3

* debug4
2020-05-24 14:35:09 -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
Frank Budinsky e0e8648fe5
Clean up traffic shifting test (#7369)
* Clean up traffic shifting test

* add var

* v1beta1
2020-05-21 06:31:45 -07:00
Frank Budinsky 90103ae557
Cleanup circuit breaking test (#7335)
* Cleanup circuit breaking test

* remove old files

* updated expected
2020-05-15 16:59:58 -07:00
John Howard 0f7c1cc467
Update circuit breaker docs (#7272)
* Update circuit breaker docs

* snips
2020-05-13 07:56:48 -07:00
Shamsher Ansari 183efe691c
Update http 1.1 to http 2 (#7301) 2020-05-13 07:09:42 -07:00
John Howard 7038ff4a6d
Trivial grammar error fix (#7276) 2020-05-12 18:38:26 -07:00
Frank Budinsky 4f7622e3aa
More doc testing (#7253)
* Ingress control test

* Ingress control test

* fix lint

* fix package

* fix path

* improve _verify_like

* curl -s

* debug

* fix compare

* remove flaky verify call

* fix path

* regen
2020-05-12 05:58:07 -07:00
Frank Budinsky 80443a4b6c
Cleanup and fix TCP traffic routing test (#7265)
* Cleanup and fix TCP traffic routing test

* use ingress IP

* cleanup doc

* curl 20 times
2020-05-11 17:39:55 -07:00
Shamsher Ansari 648ebcb1c5
Add default timeout (#7255)
Force merge because netlify flake
2020-05-11 13:09:47 -04:00
Frank Budinsky affe99f97a
More traffic management task tests (#7250)
* More traffic management task tests

* lint errors

* fix kubectl output

* fix arg check

* login to bookinfo

* curl --user

* temporary kludge for login not working

* fault injection test

* rename test

* fix cleanup

* timeouts tests

* regen

* make sure sleep pods are gone
2020-05-10 15:05:22 -07:00