Commit Graph

41 Commits

Author SHA1 Message Date
Whitney Griffith be4221a2d9
Update CEL documentation to capture type checking errors. (#14107)
* Update CEL documentation to capture type checking errors.

Signed-off-by: Whitney Griffith <whgriffi@microsoft.com>

* address comments

Signed-off-by: Whitney Griffith <whgriffi@microsoft.com>

* address comments

Signed-off-by: Whitney Griffith <whgriffi@microsoft.com>

* fix lint issues

Signed-off-by: Whitney Griffith <whgriffi@microsoft.com>

* fix lint issues

Signed-off-by: Whitney Griffith <whgriffi@microsoft.com>

---------

Signed-off-by: Whitney Griffith <whgriffi@microsoft.com>
2023-11-15 15:36:04 -08:00
zirain 58c4822de4
add tests for `tasks/observability/logs/telemetry-api` (#13045)
* add tests

* update test

* wait for telemetry

* fix cleanup

* enable istio injection

* wait longer

* rollout restart pod

* fix after_snapshot

* update link

* user none profile

* fix cleanup
2023-04-17 11:55:55 -07:00
zirain 11b8802edf
teleletry: fix format (#12915) 2023-03-20 06:09:44 -07:00
Eric Van Norman abf5268f8a
Update test reference to latest istio commit (#12895)
* Update test reference to latest istio commit

* make clean g&& go mod tidy

* Use tests/utils to delete sample

* Move some test script to use snippets

* Add _wait

* Remove extraneous source
2023-03-15 14:17:18 -07:00
Carl Eastman 8e562ca875
accesslog: example of Telemetry API with cluster_name (#12804)
* accesslog: work with Telemetry API cluster_name

Add telemetry api example with xds.cluster_name

* removed default namespace install and fixed some linting

* Fix "spelling" error

* Update envoy filter name
2023-03-02 22:56:06 -08:00
zirain 5d3a05f78d
accesslog: work with Telemetry API (#12743)
* accesslog: work with Telemetry API

* address review comments
2023-02-27 01:06:13 -08:00
Eric Van Norman 510f278525
Update lint checker configuration. (#12602)
* Update lint checker configuration.

* Uses mdl.rb in the root

* Fix trailing lines

* Reset mdl.rb

* Fix for adding an empty line
2023-02-07 13:18:34 -08:00
Eric Van Norman 93ea5bb3ae
Update values so istioctl x wait works (#12508)
* Update values so istioctl x wait works

* Remove extra values

* Update all snippet instances of `istio install` for wait_for_istio

* Fix value
2023-01-24 15:46:18 -08:00
zirain 4830422f75
fix open telemetry doc (#11732)
* fix OpenTelemetry doc

* replace istio.io/istio for test

* fix cleanup_otel_sample

* update test reference

Signed-off-by: hejianpeng <hejianpeng2@huawei.com>

* fix gen

Signed-off-by: hejianpeng <hejianpeng2@huawei.com>

* fix otel-provider

* remove extra changes in the go.*

Signed-off-by: hejianpeng <hejianpeng2@huawei.com>
2022-08-30 07:00:38 -07:00
zirain 7a90100810
add otel telemetry doc (#10977)
* add otel telemetry doc

* fix nit

* fix gen

* update content

* remove patch meshconfig

* fix test.sh

* fix probability of failure
2022-03-15 11:45:41 -07:00
Pengyuan Bian ec2d933288
Fix envoy access log telemetry API to specify envoy as provider. (#10830)
* Fix envoy access log telemetry API to specify envoy as provider.

* word.

* gen
2022-01-24 13:17:47 -08:00
John Howard ad49bf308d
Initial Telemetry API docs (#10496)
* Initial Telemetry API docs

Currently, the docs only have Telemetry for tracing. This adds a common
Telemetry API doc for high level info, shared for all 3 types. It also
adds some info about access logging via Telemetry.

We should likely add a similar page for Metrics, but I did not do it
here.

* fix gen

* fix dead links

* fix typo

* dead link

* one more

* 1 more?

* I hope this is it...

* again???
2021-11-17 17:20:09 -08:00
Douglas Reid d862ba0978
Filter mixer docs from related content sections (#9563)
* wip

* update keywords for observability pages

* switch to front-matter based approach
2021-04-28 11:24:02 -07: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
Yangmin Zhu fa3f2d9790
add default access log format (#8584) 2020-11-26 10:43:59 -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
Eric Van Norman 9f6a0aa9a2
Update test reference to 1.8.0-alpha.2 (#8399)
* Update test reference to 1.8.0-alpha.2

* Fix access-log test for new behavior

* Update to remove deprecated parameter

* More updates for deprecated (already removed) values

* Enable test, disable failing tests (#8405) open for fix.

* Review comment

* Remove extraneous old-td
2020-10-30 09:36:38 -07: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
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
Shamsher Ansari fa94077d95
Update output for disable envoy access logging (#7899) 2020-08-10 06:14:57 -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 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
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
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
Frank Budinsky 669e35b3ea
Cleanup access log test (#7513) 2020-06-09 13:39:59 -07:00
Iris 2bb1952f32
add test for Access log (#7423)
* add test for access log

* fix k8s test

* fix k8s test
2020-06-09 06:59:09 -07:00
Shamsher Ansari 9fe272272b
update doc to use istioctl install (#7396) 2020-06-01 11:02:27 -07:00
Frank Budinsky e11cf24f0d
Add test: attribute to all md files (#7413) 2020-05-27 09:11:26 -07:00
Shamsher Ansari f58fffb5d1
Update deprecated flags for meshConfig (#7236) 2020-05-07 09:54:26 -07:00
Guy Templeton 9397d21b55
Correct Envoy Access Log links (#7226) 2020-05-05 16:47:09 -04:00
Steven Dake d6e9f4b92b
Retire helm documentation as we use a protobuf (#7106)
* Retire helm documentation as we use a protobuf

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

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

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

* Follow the flowchart

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

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

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

Co-authored-by: Frank Budinsky <frankb@ca.ibm.com>
2020-04-21 07:55:44 -07:00
Eric Van Norman 10914ff01e
access log updates for command output, variable names (#6685) 2020-03-03 16:27:37 -08:00
Eric Van Norman b8ef610695
Spelling update (#6665) 2020-03-02 13:29:04 -08:00
Douglas Reid 6ba9f2c86e
fix(observability docs): restructure docs for v2 telemetry (and remove problematic Mixer refs) (#6533)
* 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>
2020-02-26 14:55:17 -08:00
Adam Miller 43609130ea
Add tutorial modules for enabling Istio, mTLS, versioning, gateway, logging (#6372)
* Added new modules

* Add more modules

* Grammar tweaks

* Tutorial fixes

* Fixed pathing errors and desc.

* Fixed broken steps and typos

* Restore download section

* fixed broken links

* Fixed more broken links

* Fixed linter issue

* PR review fixes

* Remove unwanted json file

* Lots of review fixes
2020-02-11 13:50:44 -08:00
Ed Snible b419fcbfab Use 'istioctl dashboard' instead of port-forward (#5296)
* Use 'istioctl dashboard' instead of port-forward

* bold references to UI elements

* Cleanup dashboards

* Address comments

* Mention control-c, which is easier way to stop dashboard
2019-11-12 07:28:54 -08:00
Martin Taillefer 4d4e6ae28e
General cleanup items. (#5325)
- Fix a bunch of heading capitalization.

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

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

- Used a few {{< source_branch_name >}} sequences to refer to the proper
branch in GitHub rather than master.
2019-11-04 06:41:54 -08:00
Frank Budinsky f220f655a7 Deprecate helm install (#5270)
* Deprecate helm install

* fix lint

* address review comments

* correction
2019-10-29 06:37:34 -07:00
Istio Automation 7b3a0a8591 update logging-stack.yaml in Logging with Fluentd (#5194)
Use apps/v1 Deployment rather than extensions/v1beta1
2019-10-18 15:48:59 -04:00
Naoki Oketani 31d21ffbb4 migrate Deployment apiVersion from extensions/v1beta1 to apps/v1 to support k8s 1.16 (#5159)
* migrate Deployment apiVersion from extensions/v1beta1 to apps/v1 to support k8s 1.16

* migrate Deployment, PodSecurityPolicy apiVersion to support k8s 1.16
2019-10-15 10:56:21 -07:00
Greg Taylor c0284014fb Rename Tasks/Telemetry to Tasks/Observability (#4968)
Matches a similar effort started in #4448. Fixes #4730.
2019-09-17 07:57:06 -07:00