- Remove some leftover toc:false front matter from a few pages. The site now generally
figures out automatically that a TOC is not necessary.

- Enable a Hugo feature that queries Git for a last modified date on files. As a result,
instead of having the site build date in the footer, we now have a "this page was last modified"
date.

- Move the landing page's content out of the layouts directory and into the content directory
where it belongs.

- Use Hugo shortcodes for our embedded icon imagery. And make those icons scale with the
font size rather than being fixed sizes.

- Enable support for emojis in our content. Just use 
and you'll get a sailboat for example.
This commit is contained in:
Martin Taillefer 2018-05-26 08:28:14 -07:00 committed by GitHub
parent 068424fcba
commit d0f8fddfbf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
24 changed files with 134 additions and 131 deletions

View File

@ -55,6 +55,7 @@ Datawire
DestinationRule
EgressRule
Elasticsearch
emojis
ExecAction
Exfiltrating
ExternalName

View File

@ -9,6 +9,8 @@ pluralizeListTitles = false
canonifyURLs = false
disableKinds = ["taxonomy", "taxonomyTerm"]
anchor = "smart"
enableGitInfo = true
enableEmoji = true
# MARKDOWN
## Configuration for BlackFriday markdown parser: https://github.com/russross/blackfriday

View File

@ -1,3 +1,106 @@
---
title: Istio
---
<main class="landing">
<div class="hero">
<div class="container">
<h1 class="hero-label">Istio{{< site_suffix >}} {{< istio_version >}}</h1>
<img class="hero-logo" alt="Istio Logo" src="/img/istio-logo.svg" />
<h1 class="hero-lead">An open platform to connect, manage, and secure microservices</h1>
<span onclick="getElementById('SCROLLME').scrollIntoView({block: 'start', inline: 'nearest', behavior: 'smooth'})" class="hero-down-arrow fa fa-2 fa-caret-down"></span>
<span id="SCROLLME"></span>
</div>
</div>
<div class="container-fluid traffic color1">
<div class="row align-items-center justify-content-center">
<div class="col-12 col-md-5">
{{< inline_image "landing/routing-and-load-balancing.svg" >}}
</div>
<div class="col-12 col-md-5 landing-text">
<h2>Intelligent Routing and Load Balancing</h2>
<p>
Control traffic between services with dynamic route configuration,
conduct A/B tests, release canaries, and gradually upgrade versions using red/black deployments.
<a href="/docs/concepts/traffic-management/overview/">Learn more...</a>
</p>
</div>
</div>
</div>
<div class="container-fluid resilience color2">
<div class="row align-items-center justify-content-center">
<div class="col-12 col-md-5">
{{< inline_image "landing/resiliency.svg" >}}
</div>
<div class="col-12 col-md-5 order-md-first landing-text">
<h2>Resilience Across Languages and Platforms</h2>
<p>
Increase reliability by shielding applications from flaky networks and cascading failures in adverse conditions.
<a href="/docs/concepts/traffic-management/handling-failures/">Learn more...</a>
</p>
</div>
</div>
</div>
<div class="container-fluid policy color1">
<div class="row align-items-center justify-content-center">
<div class="col-12 col-md-5">
{{< inline_image "landing/policy-enforcement.svg" >}}
</div>
<div class="col-12 col-md-5 landing-text">
<h2>Fleet-Wide Policy Enforcement</h2>
<p>
Apply organizational policies to the interaction between services, ensure access policies are enforced and resources are fairly distributed
among consumers.
<a href="/docs/concepts/policies-and-telemetry/overview/">Learn more...</a>
</p>
</div>
</div>
</div>
<div class="container-fluid reporting color2">
<div class="row align-items-center justify-content-center">
<div class="col-12 col-md-5">
{{< inline_image "landing/telemetry-and-reporting.svg" >}}
</div>
<div class="col-12 col-md-5 order-md-first landing-text">
<h2>In-Depth Telemetry</h2>
<p>
Understand the dependencies between services, the nature and flow of traffic between them, and quickly identify issues with distributed tracing.
<a href="/docs/concepts/what-is-istio/overview/">Learn more...</a>
</p>
</div>
</div>
</div>
<div class="container-fluid call color1">
<div class="row no-gutters">
<div class="col-12 col-md-6">
<h2>Want to learn more?</h2>
<p>Get started by learning Istio concepts and running through our BookInfo sample.</p>
<a class="btn btn-istio" href="/docs/">GET STARTED</a>
</div>
<div class="col-12 col-md-6">
<h2>Ready to get started?</h2>
<p>Download the latest bits.</p>
<a class="btn btn-istio" href="https://github.com/istio/istio/releases/">DOWNLOAD</a>
</div>
</div>
</div>
<style>
header .navbar {
box-shadow: none;
}
body {
padding-top: 2.8rem;
}
.navbar-brand {
visibility: hidden;
}
</style>
</main>

View File

@ -1,10 +1,7 @@
---
title: About Istio
description: All about Istio.
weight: 15
toc: false
---
Get a bit more in-depth info about the Istio project.

View File

@ -148,6 +148,20 @@ default to `title` or if that's not defined, to `caption`.
`width` represents the percentage of space used by the image
relative to the surrounding text. `ratio` (image height / image width) * 100.
## Adding icons & emojis
You can embed some common icons in your content using:
```markdown
{{</* warning_icon */>}}
{{</* idea_icon */>}}
```
which look like {{< warning_icon >}} and {{< idea_icon >}}
In addition, you can embed an emoji in your content using a sequence such as <code>:</code><code>sailboat</code><code>:</code>
which looks like :sailboat:. Here's a handy [cheat sheet of the supported emojis](https://www.webpagefx.com/tools/emoji-cheat-sheet/).
## Linking to other pages
There are three types of links that can be included in documentation. Each uses a different

View File

@ -98,5 +98,5 @@ Below is our list of existing features and their current phases. This informatio
| [Helm](/docs/setup/kubernetes/helm-install/) | Alpha
| [Multicluster Mesh](/docs/setup/kubernetes/multicluster-install/) | Alpha
> <img src="/img/bulb.svg" alt="Bulb" title="Help" style="width: 32px; display:inline" />
> {{< idea_icon >}}
Please get in touch by joining our [community](/community/) if there are features you'd like to see in our future releases!

View File

@ -1,7 +1,6 @@
---
title: Istio 0.1
weight: 100
toc: false
aliases:
- /docs/welcome/notes/0.1.html
---

View File

@ -1,7 +1,6 @@
---
title: Istio 0.4
weight: 97
toc: false
aliases:
- /docs/welcome/notes/0.4.html
---

View File

@ -8,7 +8,6 @@ aliases:
- /release-notes
- /docs/welcome/notes/index.html
- /docs/references/notes
toc: false
---
The latest Istio snapshot release is {{< istio_version >}} ([release notes](/about/notes/{{< istio_version >}}/)). You can

View File

@ -5,7 +5,6 @@ publishdate: 2017-10-10
subtitle: Improved mesh and support for multiple environments
attribution: The Istio Team
weight: 96
toc: false
aliases:
- /blog/istio-0.2-announcement.html
---

View File

@ -9,13 +9,13 @@ weight: 89
This post provides instructions to use and configure ingress Istio with [AWS Network Load Balancer](https://docs.aws.amazon.com/elasticloadbalancing/latest/network/introduction.html).
Network load balancer (NLB) could be used instead of classical load balancer. You can find [comparison](https://aws.amazon.com/elasticloadbalancing/details/#compare) between different AWS `loadbalancer` for more explanation.
Network load balancer (NLB) could be used instead of classical load balancer. You can see the [comparison](https://aws.amazon.com/elasticloadbalancing/details/#compare) between different AWS `loadbalancer` for more explanation.
## Prerequisites
The following instructions require a Kubernetes **1.9.0 or newer** cluster.
<img src="/img/exclamation-mark.svg" alt="Warning" title="Warning" style="width: 32px; display:inline" /> Usage of AWS `nlb` on kubernetes is an alpha feature and not recommended for production clusters.
{{< warning_icon >}} Usage of AWS `nlb` on kubernetes is an alpha feature and not recommended for production clusters.
## IAM Policy

View File

@ -2,7 +2,6 @@
title: Pilot
description: Introduces Pilot, the component responsible for managing a distributed deployment of Envoy proxies in the service mesh.
weight: 10
toc: false
aliases:
- /docs/concepts/traffic-management/manager.html
---

View File

@ -6,5 +6,4 @@ type: section-index
aliases:
- /docs/tasks/installing-istio.html
- /docs/setup/install-kubernetes.html
toc: false
---

View File

@ -12,7 +12,7 @@ This is the recommended install method for installing Istio to your
production environment as it offers rich customization to the Istio control
plane and the sidecars for the Istio data plane.
<img src="/img/exclamation-mark.svg" alt="Warning" title="Warning" style="width: 32px; display:inline" />
{{< warning_icon >}}
Installation of Istio prior to version 0.8.0 with Helm is unstable and not
recommended.
@ -53,8 +53,7 @@ This option allows Helm and
[Tiller](https://github.com/kubernetes/helm/blob/master/docs/architecture.md#components)
to manage the lifecycle of Istio.
<img src="/img/exclamation-mark.svg" alt="Warning" title="Warning" style="width: 32px; display:inline" />
Upgrading Istio using Helm is not validated.
{{< warning_icon >}} Upgrading Istio using Helm has not been fully tested.
1. If a service account has not already been installed for Tiller, install one:

View File

@ -30,7 +30,7 @@ has been validated with multicluster.
## Caveats and known problems
<img src="/img/exclamation-mark.svg" alt="Warning" title="Warning" style="width: 32px; display:inline" />
{{< warning_icon >}}
All known caveats and known problems with multicluster for the 0.8 release are [tracked here](https://github.com/istio/istio/issues/4822).
## Overview

View File

@ -17,7 +17,7 @@ application. It uses Deployment Manager to automate the steps detailed in the [
- You must install and configure the [gcloud command line tool](https://cloud.google.com/sdk/docs/) and include the `kubectl` component (`gcloud components install kubectl`). If you don't want to install the `gcloud` client on your own machine, you can use `gcloud` via [Google Cloud Shell](https://cloud.google.com/shell/docs/) to perform the same tasks.
- <img src="/img/exclamation-mark.svg" alt="Warning" title="Warning" style="width: 32px; display:inline" /> You must set your default compute service account to include:
- {{< warning_icon >}} You must set your default compute service account to include:
- ```roles/container.admin``` (Kubernetes Engine Admin)
- ```Editor``` (on by default)

View File

@ -1,5 +1,5 @@
---
title: Collecting Metrics for TCP services\
title: Collecting Metrics for TCP services
description: This task shows you how to configure Istio to collect metrics for TCP services.
weight: 25
---

View File

@ -3,8 +3,6 @@ title: FAQ
overview: Frequently Asked Questions about Istio.
weight: 20
type: faqlanding
toc: false
aliases:
- /faq
- /docs/welcome/faq.html

View File

@ -1,112 +1,3 @@
{{ define "main" }}
<main class="landing">
<div class="hero">
<div class="container">
{{ if .Site.Data.args.archive }}
<h1 class="hero-label">Istio Archive {{ .Site.Data.args.version }}</h1>
{{ else if .Site.Data.args.preliminary }}
<h1 class="hero-label">Istio Preliminary {{ .Site.Data.args.version }}</h1>
{{ else }}
<h1 class="hero-label">Istio</h1>
{{ end }}
<img class="hero-logo" alt="Istio Logo" src="/img/istio-logo.svg" />
<h1 class="hero-lead">An open platform to connect, manage, and secure microservices</h1>
<span onclick="getElementById('SCROLLME').scrollIntoView({block: 'start', inline: 'nearest', behavior: 'smooth'})" class="hero-down-arrow fa fa-2 fa-caret-down"></span>
<span id="SCROLLME"></span>
</div>
</div>
<div class="container-fluid traffic color1">
<div class="row align-items-center justify-content-center">
<div class="col-12 col-md-5">
{{ partial "landing/routing-and-load-balancing.svg" }}
</div>
<div class="col-12 col-md-5 landing-text">
<h2>Intelligent Routing and Load Balancing</h2>
<p>
Control traffic between services with dynamic route configuration,
conduct A/B tests, release canaries, and gradually upgrade versions using red/black deployments.
<a href="/docs/concepts/traffic-management/overview/">Learn more...</a>
</p>
</div>
</div>
</div>
<div class="container-fluid resilience color2">
<div class="row align-items-center justify-content-center">
<div class="col-12 col-md-5">
{{ partial "landing/resiliency.svg" }}
</div>
<div class="col-12 col-md-5 order-md-first landing-text">
<h2>Resilience Across Languages and Platforms</h2>
<p>
Increase reliability by shielding applications from flaky networks and cascading failures in adverse conditions.
<a href="/docs/concepts/traffic-management/handling-failures/">Learn more...</a>
</p>
</div>
</div>
</div>
<div class="container-fluid policy color1">
<div class="row align-items-center justify-content-center">
<div class="col-12 col-md-5">
{{ partial "landing/policy-enforcement.svg" }}
</div>
<div class="col-12 col-md-5 landing-text">
<h2>Fleet-Wide Policy Enforcement</h2>
<p>
Apply organizational policies to the interaction between services, ensure access policies are enforced and resources are fairly distributed
among consumers.
<a href="/docs/concepts/policies-and-telemetry/overview/">Learn more...</a>
</p>
</div>
</div>
</div>
<div class="container-fluid reporting color2">
<div class="row align-items-center justify-content-center">
<div class="col-12 col-md-5">
{{ partial "landing/telemetry-and-reporting.svg" }}
</div>
<div class="col-12 col-md-5 order-md-first landing-text">
<h2>In-Depth Telemetry</h2>
<p>
Understand the dependencies between services, the nature and flow of traffic between them, and quickly identify issues with distributed tracing.
<a href="/docs/concepts/what-is-istio/overview/">Learn more...</a>
</p>
</div>
</div>
</div>
<div class="container-fluid call color1">
<div class="row no-gutters">
<div class="col-12 col-md-6">
<h2>Want to learn more?</h2>
<p>Get started by learning Istio concepts and running through our BookInfo sample.</p>
<a class="btn btn-istio" href="/docs/">GET STARTED</a>
</div>
<div class="col-12 col-md-6">
<h2>Ready to get started?</h2>
<p>Download the latest bits.</p>
<a class="btn btn-istio" href="https://github.com/istio/istio/releases/">DOWNLOAD</a>
</div>
</div>
</div>
<style>
header .navbar {
box-shadow: none;
}
body {
padding-top: 2.8rem;
}
.navbar-brand {
visibility: hidden;
}
</style>
</main>
{{ .Content }}
{{ end }}

View File

@ -54,7 +54,7 @@
{{ if .Site.Data.args.archive }}
Archived on {{ .Site.Data.args.archive_date.Format "January 2, 2006"}}
{{ else }}
Built on {{ now.Format "January 2, 2006" }}
This page was last modified on {{ .Page.Lastmod.Format "January 2, 2006" }}
{{ end }}
</p>
</div>

View File

@ -0,0 +1 @@
<img src="/img/bulb.svg" alt="Bulb" title="Idea" style="width: 2rem; display:inline" />

View File

@ -0,0 +1 @@
{{ partial (.Get 0) }}

View File

@ -0,0 +1 @@
{{ if .Site.Data.args.archive }} Archive{{ else if .Site.Data.args.preliminary }} Preliminary{{ end }}

View File

@ -0,0 +1 @@
<img src="/img/exclamation-mark.svg" alt="Warning" title="Warning" style="width: 2rem; display:inline" />