Commit Graph

167 Commits

Author SHA1 Message Date
Vadim Eisenberg bb22b22308 Use kubectl with EOF instead of cat with pipe (#2620)
* handle kubectl create/apply -f - <<EOF

in the same way as "cat <<EOF | kubectl apply -f -"

* replace cat <<EOF | kubectl apply/create -f - with kubectl apply/create -f - <<EOF
2018-09-15 14:37:23 -07:00
Jonh Wendell 75e2e44777 Clarify a little bit the Fault Injection task (#2543)
By stating what's the initial state and fixing a wrong result
in the abort test.
2018-09-10 10:28:43 -07:00
Frank Budinsky fb54fb0268
Correct request routing intro (#2516)
* Correct request routing intro

* fix linter error
2018-09-05 13:17:21 -04:00
Frank Budinsky 14b531801e
Text clarifications and improvements (#2518)
* Text clarifications and improvements

* address review comments
2018-09-05 11:30:46 -04:00
Matthieu Maquevice 3c86f88de4 wording (#2519) 2018-09-04 21:09:46 -07:00
Jonh Wendell 81151731b1 Add a note about mTLS in the Circuit Breaking task (#2444)
If mTLS is enabled we need an additional instruction in the
DestinationRule object, otherwise we break traffic to httpbin
service.

While on that, also change the Mirroring task note to be the same.
2018-08-30 14:24:58 -07:00
Tiago M. Vieira 303f9651c5 update error message for fault injection task (#2324) 2018-08-22 04:36:53 -07:00
Frank Budinsky 955dfc9700 remove -H flag no longer needed (#2320) 2018-08-20 09:39:50 -07:00
Vadim Eisenberg b2bb9c5f2d add 'location: MESH_EXTERNAL' to the service entries (#2226)
it is currently not required, however for the sake of proper configuration
it should be added
2018-08-16 11:52:30 -04:00
Vadim Eisenberg d5cb694285 Extend the secure ingress task with multiple ingress certificates/hosts (#2238)
* generate certificates in httpbin.example.com directory

* add initial section for ingress for multiple hosts

* add a cleanup step for the directories related to certificates

* fix formatting

* add subsection: Redeploy istio-ingressgateway with the new certificates

* rename httpbin-gateway into mygateway

* add redeployment of Gateway for two hosts

* add -o /dev/null -s -w "%{http_code}\n" to the bookinfo's curl

* fix italics in sending a request to bookinfo

* add verify that httpbin.example.com is accessible as previously

* add -v to curl to bookinfo, show certificates printed

* remove -n istio-system from virtualservice bookinfo

* add Host header to curl requests

* put empty lines around the code blocks

* fix spell checker errors
2018-08-16 11:52:04 -04:00
Vincent 1b8ac1877b fixed: outdated reference to the field `httpReqTimeout` (#2242)
removed index.html from the list.
2018-08-15 10:15:33 -07:00
Christoph Held 4da4ded184 Added host header to curl command (#2181) 2018-08-13 09:25:34 -07:00
Martin Taillefer fd290dc73e
Improve linting (#2148)
- We now detect text blocks that are incorrectly indented.

- We now detect image captions that end in a period.

- We now detect page descriptions that don't end in a period.

- CircleCi now runs linting without minifying HTML first, improving perf and
improving error output.

- In CircleCi, we now have a per-build cache for HTML proofer output. This
helps reduce the frequency of link timeout errors.

- Fix errors flagged by the above new lint checks.
2018-08-04 08:44:06 -07:00
Vadim Eisenberg b8dc845108 remove unnecessary mesh gateway specification (#2090) 2018-08-01 06:36:41 -07:00
Vadim Eisenberg 8e1b9fc557 Move egress tasks to examples (#2106)
* add Advanced Egress Control section in Examples

* move egress gateway and egress tls origination tasks to advanced egress examples

* fix the links and replace task with example
2018-08-01 06:30:41 -07:00
Diem Vu 0662e413f1 Change "Testing mutual TLS" tutorial to "Mutual TLS deep dive" (#1972) 2018-07-31 16:12:33 -07:00
Vadim Eisenberg 81baa2e939 egress gateway: use subsets for cnn in destination rules and virtual services (#1942)
* use subsets for cnn in destination rules and virtual services

* remove trailing spaces

* separate virtual services for traffic to and from egress gateway

to egress gateway: TLS match
from egress gateway: TCP match

* put back tls match for HTTPS egress for Istio without Auth

combine defining the Gateway and the VirtualServices

* use ISTIO_MUTUAL with sni in destination rules

* update the log message to print HTTP/2 as the protocol

* make two VirtualServices into one

* remove redundant explanation about SNI setting in a destination rule

* use different virtual service matches for Istio with and without SNI

* fix the case of HTTP traffic for Istio without Auth
2018-07-31 09:14:48 -04:00
Vadim Eisenberg 9e57d4a5b7 add a VirtualService for external HTTPS ServiceEntry (#2080)
* add a VirtualService for external HTTPS ServiceEntry

* a VirtualService -> the VirtualService
2018-07-31 09:11:05 -04:00
Oliver Liu 682db1e3e3 Update Security Concepts (#1912) 2018-07-30 20:46:36 -07:00
Frank Budinsky 06e0a51125
Fix indent (#2076) 2018-07-30 19:49:41 -04:00
Frank Budinsky 092b06e7b1 Add missing apiVersion (#2074)
* Remove old header

* add resolution field

* add missing apiVersion
2018-07-30 16:28:40 -07:00
Frank Budinsky 1a902a69c6 Remove old header and add resolution field (#2072)
* Remove old header

* add resolution field
2018-07-30 18:38:10 -04:00
Martin Taillefer 1c300c99bd
Spelling improvements (#2037)
Remove a bunch of entries that shouldn't have been in the spelling dictionary
and correct content aoocrdingly.

I'm disabling the Chinese spell checking for now, since I'm not able to fix the
spelling errors that emerged there. Once this PR is in, I'll file an issue to get
those spelling errors addressed and checking reenabled.
2018-07-29 14:27:06 -07:00
Andra Cismaru bf4b81f398 Correct the pod and svc spec requirements (#1971)
* Correct the pod and svc spec requirements

* Fix links

* Fix links

* Address code review comments

* Code review comments

* Consistent naming

* Keep the broken order
2018-07-27 17:19:40 -07:00
Vadim Eisenberg 57a2fe4c12 add missing keywords to egress tls origination task (#2019) 2018-07-27 11:01:46 -07:00
Jason Young c27351268b use kubectl for managing Istio API resources (#2002)
* use kubectl consistently throughout for Istio API resource C.R.U.D operations

xref: https://github.com/istio/istio.github.io/issues/1843

* fix typo

* review comments

* remove unnecessary instructions to use `replace` instead of `create`

* fix linter in `zh` content
2018-07-27 10:57:41 -07:00
Gregory Hanson 59e10c2495 bug with new certs getting picked up (#1987) 2018-07-26 11:45:22 -04:00
Diem Vu 483aad2b98 Correct authn policy for health check demo (#1949) 2018-07-25 06:32:33 -07:00
mtail 613ffd6cc3 A few editorial fixes. 2018-07-24 13:13:15 -07:00
Kent Rancourt 217c78af01 bookinfo doc fixes (#1817) 2018-07-23 20:36:23 -07:00
Vadim Eisenberg 2bf4b91b73 Fix lint errors for egress gateway (#1922) 2018-07-23 13:14:49 -07:00
Vadim Eisenberg 55a4a3361b Add egress gateway task to master, extended for mTLS and HTTPS (#1687)
* initial version of Egress Gateway for 1.0

* use HTTPS protocol for the egress gateway ports

* change troubleshouting section regarding mutual TLS

just direct users to read the mutual TLS page regarding troubleshooting

* add egressgateway to .spelling

* remove "let's" prevent the "we language"

* fix lint errors

* rename Cleanup section names to more detailed names, to prevent lint errors

* add a section about directing HTTPS traffic thru egress gateway

* remove istio-system namespace from the HTTPS-related artifacts

* add a section for mutual TLS over HTTPS

* disable mTLS on Istio with mTLS between a sidecar and the egress gateway

* use * as a host in the gateway's definition

* clarify the fact that in HTTPS the original traffic is already encrypted

* use mTLS between sidecar and egress gateway

* use explicit host in gateways instead of *

* add subjectAltNames to the upstream of the sidecar proxy

* unite creating a gateway for mTLS and a destination to set SNI

* add a missing dot

* add destination rule for setting SNI for mTLS to all cases

* add deleting the destination rule for mTLS

* split a long line

* Rewrite the steps to create a service entry in a separate step

* use port 80 in the destionation rule for direct HTTP traffic without TLS origination

* remove redundant ServiceEntry definition

* mention DestinationRule for TLS origination

* rename port tls to tls-cnn

for future definition of multiple servers on the same port

* describe getting Envoy's stastics of istio-egressgateway
2018-07-23 10:47:52 -04:00
Frank Budinsky 8f7a1d1b2f Clarify use of istioctl vs kubectl (#1893) 2018-07-20 11:53:35 -07:00
Frank Budinsky 7e66c3f40a Remove v1alpha3 notice (#1890) 2018-07-20 07:24:35 -07:00
Frank Budinsky 466360e562 Create destination rules when running bookinfo (#1885)
* create destination rules when running bookinfo

* Update index.md
2018-07-20 06:14:35 -07:00
Limin Wang 8973981880 Update authentication concept doc (#1886)
* Update authentication concept doc.

* Fix lint errors.

* Address comments and fixed some links.

* Remove feature stages change from this PR.

I will make a separate PR for it.
2018-07-19 19:10:37 -07:00
Frank Budinsky 3434e2bafc
Clarify timeout task (#1884)
* clarify response time

* corrections
2018-07-19 16:13:20 -04:00
Vincent 68a964c7d3 fixed: link to k8s documents, #type-nodeport => #nodeport (#1881)
* fixed: link to k8s documents, #type-nodeport => #nodeport

* fixed: link to k8s documents, #type-nodeport => #nodeport
2018-07-19 04:23:36 -07:00
Vadim Eisenberg 9de471a035 add a check of Envoy's certificates to the troubleshooting section (#1845)
* add a check of Envoy's certificates to the troubleshooting section

based on https://github.com/istio/istio/issues/7009#issuecomment-405195183

* fix tabs for lint checker
2018-07-17 04:56:36 -07:00
Vadim Eisenberg be5c87b2da add a sentence: When prompted, select `y` for all the questions. (#1844) 2018-07-17 04:54:36 -07:00
Yossi Mesika 0ea541d13f Move Helm customization section to the references category (#1699) 2018-07-16 21:46:52 -07:00
Frank Budinsky 50107fdccc
clarify ingress host instructions (#1835)
* clarify ingress host instructions

* fix missing $

* fix syntax
2018-07-16 15:58:49 -04:00
Will Witman 3ae844ede2 Edit minor issue in fault-injection document. (#1826) 2018-07-15 20:49:49 -07:00
Martin Taillefer 597f7ce3b4
Enable more linting rules (#1824)
Fix feported linting errors.
2018-07-15 07:49:11 -07:00
Will Witman 6c4cb8c3a1 Edit for consistency, clarity, grammar, style (#1784) 2018-07-13 16:00:08 -07:00
Will Witman f205017b12 Refactor About section in traffic-shifting document. (#1811) 2018-07-13 14:52:57 -07:00
Will Witman 2d41f5f069 Edit for style, clarity, grammar. (#1785) 2018-07-13 13:39:36 -07:00
Stephen Gilson 2361e374d0 Add link to new TLS Origination glossary entry. (#1796)
Signed-off-by: Stephen Gilson <gilsonsm@google.com>
2018-07-13 06:18:35 -07:00
mtail 2a686432dc Fix small grammar error 2018-07-12 11:10:05 -07:00
Will Witman e1449b76ad Edit file for readability, style, grammar. (#1763) 2018-07-12 10:23:55 -07:00
Will Witman d5a724dfd6 Edit file for readability, style, grammar. (#1764) 2018-07-12 10:21:10 -07:00
Will Witman 803ec1da0a Edit file for consitency, grammar, style (#1777) 2018-07-12 10:16:49 -07:00
Vadim Eisenberg 818e23232d Extend secure ingress troubleshooting (#1774)
* add ./ to the script to generate certificates

* add a step to verify the subject of the ingress gateway certificate

* add a step to verify the subject of the CA certificate

put the mutual TLS troubleshooting into a separate subsection

* fix the level of the mutual TLS troubleshooting

* remove redundant empty lines

* verify the subject is correct -> verify that the subject is correct

* another case: verify the subject is correct -> verify that the subject is correct
2018-07-12 08:00:37 -07:00
Vincent 044c20358e fixed: references to sleep.yaml (#1770) 2018-07-12 07:37:47 -07:00
Stephen Gilson 983b12589d Copy edits for Health Checking of Istio Services. (#1758) 2018-07-11 07:08:52 -07:00
Stephen Gilson 70f3a4144c Copy edit for the TLS Origination for Egress Traffic topic. (#1756) 2018-07-11 07:04:48 -07:00
Stephen Gilson b55dae17d6 Copy edit for Control Egress Traffic. (#1754) 2018-07-11 06:57:28 -07:00
Yangmin 6c54c67d9c Update basic-access-control and request-routing. (#1743) 2018-07-11 06:50:17 -07:00
Andra Cismaru 4e2b9233bc Create service subsets and move routing/route-rule* to networking/virtual-service* (#1715) 2018-07-10 11:52:29 -07:00
Stephen Gilson 98b999cdf7 Copy edit of Securing Gateways with HTTPS. (#1733) 2018-07-10 11:00:28 -07:00
Martin Taillefer 181605b27e
Consolidate the security concept pages into a single page. (#1721)
* Consolidate the security concept pages into a single page.

- This updates the security concept material to be on a single page, which matches the
change done last week for the rest of the concept material. This ends up being a less clicky
more directed introduction for newcomers to the platform.

- While I was there, I moved the redundant What is Istio page from our about section and stuck
the content at the top of the What is Istio page in the Concepts section.
2018-07-10 10:26:19 -07:00
Stephen Gilson 0fca91c7c0 Copy edit for Control Ingress Traffic. (#1732)
Signed-off-by: Stephen Gilson <gilsonsm@google.com>
2018-07-10 07:08:20 -07:00
Gary Brown 451c76ca22 Fix spec port name on ingress gateway (#1728) 2018-07-10 09:46:05 -04:00
Stephen Gilson a2836ab2b7 Copy edit for Setting Request Timeouts. (#1730)
Signed-off-by: Stephen Gilson <gilsonsm@google.com>
2018-07-10 05:29:33 -07:00
Steven Dake 4ebbb12505 Change all references to istio-demo-*.yaml (#1696)
Remove demo from all documentation references
2018-07-06 11:46:23 -07:00
Martin Taillefer 69c04f6401
Create hidden links for the special @@ references. (#1686)
This gives us link checking for the @@ code block references.
2018-07-06 07:31:31 -07:00
Yossi Mesika 26113b3b5b Remove link annotations from command paths (#1690) 2018-07-06 05:18:17 -07:00
Arshdeep Singh Chimni c0c4bec6f8 edit reviews virtualservice yaml output (#1661) 2018-07-05 14:04:18 -04:00
Martin Taillefer 07ed229051
Simplify linking to GitHub content. (#1669)
- Add <github_file> <github_blob> and <github_tree> to make it simpler to link to the right
place on GitHub.

- Use these new sequences throughout the docs.

- Also, fix bad HTML generated for the TOC in certain cirsumstances.

- Fix extra blank line inserted at the bottom of indented code blocks.
2018-07-04 04:16:49 -07:00
Martin Taillefer 1d355094cf Simplify the Concepts section. (#1649) 2018-07-02 06:32:04 -07:00
mtail 0f8724351f Content fixes.
- Remove What's next sections since we now have auto-generated See also sections

- Fix a few incorrectly capitalized headers, "istio", "kubernetes", "sidecar"
2018-06-30 21:42:52 -07:00
Martin Taillefer 0541000be8
Switch from ``` to {{< text >}} to indicate text blocks. (#1644)
This fixes a number of cases of incorrect formatting of code blocks
throughout the site.
2018-06-30 07:11:21 -07:00
Vadim Eisenberg 580c9e0dec Finalize secure gateways task (#1625)
* change title to Securing Gateways with HTTPS

* rephrase the reference to the ingress task
2018-06-28 09:31:28 -07:00
Vadim Eisenberg 201cbd5928 Add secure ingress task (#1590) 2018-06-28 06:50:03 -07:00
mtail e3c1f36859 Guides -> Examples
As agreed, in prep for the 1.0 launch.
2018-06-27 16:03:53 -07:00
Frank Budinsky 527ae646fc Remove http: from command (#1609) 2018-06-27 11:31:09 -07:00
Frank Budinsky 051dd01f32 Mention kube service restrictions for routing (#1608) 2018-06-27 10:40:46 -07:00
mtail 77da9cccea Next batch of file refactorings. 2018-06-27 00:19:09 -07:00
Shriram Rajagopalan 9cc2d38eb7 fix cluster names in circuit breaker docs (#1587)
cc @frankbu
2018-06-26 06:13:29 -07:00
Tao Li 1057bd6387 Add health check task (#1571)
* Add health check task

* Fix format

* Address comments

* Fix spell

* Fix lint

* Fix lint

* Fix lint
2018-06-25 16:48:28 -07:00
Frank Budinsky 792648db6a Ingress task clarifications (#1569) 2018-06-22 09:21:33 -07:00
Cesar Botti 2dc1327437 Fix issue #6399 (#1553) 2018-06-19 09:37:33 -07:00
Vadim Eisenberg 5cbb89414e Remove egress tcp task (#1548)
* remove egress TCP task

the example can be implemented by HTTPS Service Entries

* remove a reference to Egress TCP Task in Egress TCP blog

* replace a reference to the Egress TCP task by the Egress TCP blog post

in About -> Feature Status -> Istio features/Traffic management

* add an alias from the removed task to Egress/TCP blog post
2018-06-19 06:58:17 -07:00
Guang Ya Liu fd812e6a59 Remove the limitation of accessing service mesh via browser. (#1530)
* Remove the limitation of accessing service mesh via browser.

* Do not need to mention lb when accessing via browser.
2018-06-18 13:18:34 -04:00
Kent Hua 7874083f2b Update for installations with mTLS auth enabled (#1503)
* Update for installations with mTLS auth enabled

The docs do not provide reference to installations with mTLS auth enabled.  If mTLS auth is enabled and the user goes through the instructions, they will encounter `upstream connect error or disconnect/reset before headers` when the DestinationRule is applied.

istio/issues#375 (comment) helped lead to the resolution.
2018-06-14 06:27:39 -07:00
mtail 9a2e0a3276 Merge branch 'release-0.8' 2018-06-13 15:17:30 -07:00
Vadim Eisenberg 257cfdd280 add egress-tls-origination task (#1492)
* add egress-tls-origination task

* add cnn.com, edition.cnn.com an "programmatically" to .spelling

* lint fixes

* remove a page alias

* add What's next section

* HTTP2 -> HTTP in port definition

* put the output of commands as part of the "command" block

* rewrote the cleaning after HTTP ServiceEntry without TLS origination

* clarify the configuration items for TLS origination

* when talking to edition.cnn.com -> when accessing edition.cnn.com

* wild card -> wildcard

* an Service Entry -> a Service Entry

* use curl -s -o /dev/null -D - instead of curl -I

* Perform TLS Origination for Egress Traffic -> TLS Origination for Egress Traffic
2018-06-13 10:06:48 -04:00
mtail 5bfc6bafea Update reference docs 2018-06-11 22:29:34 -07:00
Martin Taillefer 9f3e980147
Add support for an auto-generated See Also section on every page. (#1364)
- We now automatically generate a See Also section on pages when possible.
The links are determined by a reverse index based on the keywords
assigned to each page in its front-matter.

- Do a pass to assign keywords to all our pages to populate the See Also
links.

- Leverage the keywords in the front-matter to generate a keyword metadata entry for each
generated page.
2018-06-11 15:07:32 -07:00
Vadim Eisenberg 04495c556d plain -> command for helm template commands (#1489) 2018-06-09 06:12:38 -07:00
Frank Budinsky 3e887a155e Fix TOC indent (#1483) 2018-06-08 08:02:00 -07:00
salrashid123 98bd4c9ef1 Update route rules for mtls (#1459)
* update route rules for mtls

* minor rework

(cherry picked from commit d946409)
2018-06-08 07:15:56 -07:00
Guang Ya Liu 51e3d4a57f Add sidecar auto injection for circuit break example. (#1469) 2018-06-07 15:38:36 -07:00
Guang Ya Liu 352273d238 Updated maxConnections to 1. (#1471) 2018-06-07 08:39:38 -07:00
Guang Ya Liu 31ab3dece9 Format the output of curl to json. (#1468) 2018-06-07 05:28:49 -07:00
mtail 22bb982ebc Add some missing links that got missed during a merge. 2018-06-06 16:26:51 -07:00
Tao Li c7ac01761e Remove the deprecated --debug in istioctl (#1457)
(cherry picked from commit ff690be)
2018-06-06 11:58:28 -07:00
Martin Taillefer 6962982274 Introduce better linking support to github.com/istio/istio (#1443)
- Within a code block, you can now surround a relative file path with @@. This will
cause the path to be rendered as a link to raw.githubusercontent.com/istio/istio/<path>.
This lets the user click on the link to see the content of the file, which is mighty
handy.

- Updated all code blocks to take advantage of the above.

- Introduce support for {{< branch_name >}} which returns the source code branch
name associated with the current doc site.

- Use {{< branch_name >}} in all our references to content in istio/istio on GitHub. This thus
pins our references to the correct version of the content in GitHub. This prevents errors from
gradually appearing in our doc set as content in GitHub starts to diverge from the expectation
in the site content.

(cherry picked from commit 1dcd301)
2018-06-06 08:38:23 -07:00
Vadim Eisenberg 1249004d05 Add setting host in requests to ingress and explanation about the browser access (#1454) 2018-06-06 06:51:56 -07:00
mtail f291bf42a5 Add a few missing redirects, as reported by the google search console. 2018-06-06 06:40:05 -07:00