Commit Graph

22 Commits

Author SHA1 Message Date
Philipp Stehle ba2838f67b
Document rewriting of TCP based probes (see istio 33734) (#10119)
* Document rewriting of TCP based probes (see istio 33734)

https://github.com/istio/istio/pull/33734

Co-authored-by: Philipp Stehle <philipp.stehle@sap.com>

* run make gen

* make it obvious that the same rewrite action is done on both HTTP and TCP probes

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

* fix typo

* apply more review comments

Co-authored-by: Philipp Stehle <philipp.stehle@sap.com>

Co-authored-by: Ralf Pannemans <ralf.pannemans@sap.com>
Co-authored-by: craigbox <craigbox@google.com>
Co-authored-by: Johannes Dillmann <j.dillmann@sap.com>
2021-08-04 09:16:27 -07:00
John Howard 4396197f50
Use consistent quoting in API examples (#9373)
This matches istio/api examples and all Kubernetes best practices. This
quoting sets a bad precedent that is copy and pasted around the web.
2021-03-23 09:33:57 -07:00
Shamsher Ansari d6bd6a15a5
remove tcp health check (#8911) 2021-02-08 07:54:15 -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
Shamsher Ansari 353444de45
Add health check using TCP socket (#8246) 2020-11-09 08:39:42 -08:00
John Howard 84e57a7124
Remove mention of "pilot agent" (#8030)
I have heard 5+ cases of folks thinking this means it going through the
control plane. https://github.com/istio/istio/issues/26737 for example.

We should not call it "pilot agent". We are callnig it istio-agent
internally, not sure if we want to make that in the docs or something
else -- anything but "pilot" agent.
2020-08-26 09:55:53 -07:00
Frank Budinsky 2ed05b13ce
Cleanup health checking doc (#7961)
* Cleanup health checking doc

* regen

* lint

* tweak

* remove DR

* regen
2020-08-14 17:17:25 -07:00
Lin Sun 696200968a
remove how to enable app http probe instruction (#7890)
* remove how to enable app http probe instruction

as this is enabled by default for all profiles now.

* add more texts

* adding disable rewrite probe steps

* update snips

* update test

* fix spellings

* rework based on john's comment

* snip update

* update script

* reorder things
2020-08-14 13:01:55 -04:00
Christian Posta 155950f011
update health check mtls doc to reflect default value (#7801)
* update health check mtls doc to reflect default value

* fix lint, make text more accurate
2020-07-29 14:40:44 -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
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
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
Frank Budinsky e11cf24f0d
Add test: attribute to all md files (#7413) 2020-05-27 09:11:26 -07:00
Frank Budinsky f45bc9e1a8
Remove obsolete '# ' uses from all tests (#7233) 2020-05-06 19:17:11 -04:00
Frank Budinsky 1fe7056ffa
Partial convert mirror test to new model (#7153)
Reverted the actual mirror test script, because mirror test seems to have some subtle failure when running with what seems to be the exact same commands via snips. Will investigate further in followup PR. Merging this one to get the generator changes.
2020-04-25 12:34:24 -04:00
Frank Budinsky a7107678f5
Convert TCP traffic shifting test (#7131)
* Convert TCP traffic shifting test

* lint errors

* regen

* test disable spellcheck

* temporary disable gen-check

* disable inappropriate bash lint errors

* disable gen check

* one more regen

* reenable gen check

* remove -it options

* revert commands

* fix app health check outdated
2020-04-22 18:26:27 -07:00
Frank Budinsky 99d4febb16
Convert health check test to new model (#7126)
* Convert health check test to new model

* fix cleanup
2020-04-22 11:18:58 -07:00
Shamsher Ansari 36cb7aff3e
Update sed to include space before boolen value (#7038)
* Update sed to include space before boolen value

* remove backslash
2020-04-09 06:57:09 -07:00
Shamsher Ansari f198c7bc4e #20068 Update namespace as per the integration test (#6350) 2020-01-20 10:34:22 -08:00
Shamsher Ansari df4aa9f120 6329: Fix Liveness-HTTP for health check deployment (#6330) 2020-01-10 08:43:54 -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