Update this example in the Istio docs as part of writing automated test cases(#7989). The updates
include:
1. Setup a Kubernetes Cluster
- Remove Step-6 since we are installing Istio using the demo profile, access logging is enabled by default
- Step 7 - Updated command for Ingress resource to use Istio's Ingress controller
2. Setup a local computer - fix a small typo
3. Run ratings in docker
- export USER variable
- name the ratings container 'my-ratings' so that we can later stop it easily using this name
4.Run Bookinfo with Kubernetes
- Configure Kubernetes Ingress resources and access your application's webpage (add annotation to use Istio's ingress controller)
- Fixed output of some commands
5. Monitoring with Istio
- Remove link to an old blog that is not working.
6. Fixed output of some commands
* Single network virtual machine instructions
This is a copy and paste from the multi-network instructions with
anything "multi-network" removed.
* Address @frankbu's comments. cannot run linter atm.
* Fix linting error
* Unindent a section
* Update reference docs - remove metrics items
* Fix links
* Actually fix links
* Fix make gen
* Early change from https://github.com/istio/api/pull/1617
* Review comments and rebase
* update wording on bookinfo destination rules differences due to auto mtls
* accept rewording suggesting
Co-authored-by: Frank Budinsky <frankb@ca.ibm.com>
Co-authored-by: Frank Budinsky <frankb@ca.ibm.com>
* 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>
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.
* Add test for Request Timeouts
* Update test to extract snippets
* Apply suggestions from code review
Co-Authored-By: Frank Budinsky <frankb@ca.ibm.com>
* Fix lint error
* Use code snippets from bookinfo snips
Co-Authored-By: Frank Budinsky <frankb@ca.ibm.com>
* Remove sleep pods
* remove deprecated $snippet and use use verify func
Co-Authored-By: Frank Budinsky <frankb@ca.ibm.com>
* Skip test failure
Co-authored-by: Frank Budinsky <frankb@ca.ibm.com>
* Early draft for VM updates
* Update the second doc - instead of duplication we should just link
* Remove some details, we should document ACME certs in 1.6
* update vm doc for 1.5
* Fix lint error
* remove duplication
* fix lint error
* fix lint error
* fix lint error
* fix lint error
* fix broken link
* fix broken link
Co-authored-by: Adam Miller <1402860+adammil2000@users.noreply.github.com>
* wip: setup observability tasks for v2
Signed-off-by: Douglas Reid <dougreid@google.com>
* continue work
Signed-off-by: Douglas Reid <dougreid@google.com>
* lint fix
Signed-off-by: Douglas Reid <dougreid@google.com>
* remove mixer ref from what-is-istio
Signed-off-by: Douglas Reid <dougreid@google.com>
* further cleanup
Signed-off-by: Douglas Reid <dougreid@google.com>
* lint fix
Signed-off-by: Douglas Reid <dougreid@google.com>
* when will the linting stop?
Signed-off-by: Douglas Reid <dougreid@google.com>
* Update content/en/docs/tasks/observability/mixer/_index.md
Co-Authored-By: Frank Budinsky <frankb@ca.ibm.com>
Co-authored-by: Frank Budinsky <frankb@ca.ibm.com>
* remove deprecated platform specific examples
This examples were deprecated in the 1.4 release with
https://github.com/istio/istio.io/pull/5663. They were scheduled to be
removed in the next release (1.5).
* undo zh changes
* remove "on the code" from "note the following elements"
* move "from a different terminal session" to the previous curl command
use terminal window instead of terminal session, since window is more clear
* rewrite the last sentence of the "Run raitings in Docker" module
* rewrite the sentence about the final version in the Bookinfo example
* remove setting NAMESPACE and KUBECONFIG since they were set in "setup local computer"
* environmental variable -> environment variable
see https://en.wikipedia.org/wiki/Environment_variable
* the Bookinfo example page -> the Bookinfo example
* in the page -> on the page
* remove "on the tutorial namespace"
all the operations are performed on the tutorial namespace anyway
* remove "Such clients are known as mesh-external clients"
there is no mesh introduced yet, and this sentence does add much information
* use kubectl patch instead of editing yaml
for GKE, to change productpage's type to LoadBalancer
* sudo is required to edit /etc/hosts, not to run the echo command
* add /static to Kubernetes Ingress Gateway
* no need to "connect to your cluster" in order to create an environment variable
* no need for mutual TLS in Istio installation
* fix the Jaeger port
should be 9411 instead of previous 80
* split the sentence about sending the configuration files to each participant
* you configured the cluster for the tutorial (single)
in this tutorial, the tutorial is used in single. The tutorial is composed of multiple modules.
* when setting local computer, do not export the namespace
the namespace name is selected in the previous steps by the instructors or
by the participant who owns a cluster