forked from kubernetes/website
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request kubernetes#1 from lucperkins/lperkins/new-website
New website
- Loading branch information
Showing
147 changed files
with
30,235 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
root = true | ||
|
||
[*] | ||
end_of_line = lf | ||
insert_final_newline = true | ||
|
||
[Makefile] | ||
indent_style = tab | ||
|
||
[*.{html,js,json,md,sass,yaml}] | ||
indent_style = space | ||
indent_size = 2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
# npm assets | ||
node_modules/ | ||
|
||
# Hugo-generated assets | ||
public/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
serve: | ||
hugo server \ | ||
--buildDrafts \ | ||
--buildFuture \ | ||
--disableFastRender | ||
|
||
production-build: | ||
hugo --minify | ||
|
||
preview-build: | ||
hugo \ | ||
--baseURL $(DEPLOY_PRIME_URL) \ | ||
--buildDrafts \ | ||
--buildFuture \ | ||
--minify |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,68 @@ | ||
{{- $fonts := .Site.Params.fonts }} | ||
{{- $fontSlice := (slice) }} | ||
{{- range $fonts }} | ||
{{- $fontSlice = $fontSlice | append (printf "%s:%s" (replace .name " " "+") (delimit .sizes ",")) }} | ||
{{- end }} | ||
{{- $fontsUrl := printf "https://fonts.googleapis.com/css?family=%s" (delimit $fontSlice "|") }} | ||
{{- $sansSerifFont := .Site.Params.sansSerifFont }} | ||
{{- $monospaceFont := .Site.Params.monospaceFont }} | ||
//{{- $fontAwesomeVersion := .Site.Params.fontAwesomeVersion }} | ||
//{{- $fontAwesomeUrl := printf "https://use.fontawesome.com/releases/v%s/css/all.css" $fontAwesomeVersion }} | ||
@charset "utf-8" | ||
@import url({{ $fontsUrl }}) | ||
//@import url({{ $fontAwesomeUrl }}) | ||
// Project-specific colors and variables | ||
$etcd-blue: #419eda | ||
$etcd-light-blue: lighten($etcd-blue, 10%) | ||
$etcd-dark-blue: darken($etcd-blue, 10%) | ||
|
||
@import "bulma/sass/utilities/initial-variables" | ||
@import "bulma/sass/utilities/functions" | ||
|
||
// Bulma variable overrides | ||
$primary: $etcd-blue | ||
$link: $primary | ||
$family-sans-serif: "{{ $sansSerifFont }}", BlinkMacSystemFont, -apple-system, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", "Helvetica", "Arial", sans-serif | ||
$family-code: "{{ $monospaceFont }}", monospace | ||
$toc-item-font-size: 1.5rem | ||
$dashboard-panel-padding: 2rem 2rem 5rem 2rem | ||
$dashboard-panel-header-bottom-margin: 3rem | ||
$dashboard-panel-footer-top-margin: 3rem | ||
|
||
@import "bulma/sass/utilities/derived-variables" | ||
@import "bulma/bulma" | ||
@import "bulma-dashboard/src/bulma-dashboard" | ||
@import "bulma-squeezebox/bulma-squeezebox" | ||
|
||
=logo($touch, $desktop) | ||
+touch | ||
width: $touch | ||
|
||
+desktop | ||
width: $desktop | ||
|
||
.is-hero-logo | ||
+logo(60%, 30%) | ||
margin-bottom: 1.75rem | ||
|
||
.is-cncf-logo | ||
+logo(70%, 40%) | ||
margin-top: 1.5rem | ||
|
||
.is-footer-logo | ||
+logo(10%, 5%) | ||
margin-bottom: 1rem | ||
|
||
.is-panel-logo | ||
width: 40% | ||
|
||
// Ensure sticky footer | ||
.page | ||
display: flex | ||
flex-direction: column | ||
min-height: 100vh | ||
|
||
.main | ||
flex: 1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
title = "etcd" | ||
disableKinds = ["taxonomy", "taxonomyTerm"] | ||
languageCode = "en-us" | ||
|
||
[params] | ||
description = "A distributed, reliable key-value store for the most critical data of a distributed system" | ||
fontAwesomeVersion = "5.6.1" | ||
sansSerifFont = "Source Sans Pro" | ||
monospaceFont = "Fira Mono" | ||
favicon = "https://raw.githubusercontent.com/cncf/artwork/master/etcd/icon/color/etcd-icon-color.png" | ||
project = """ | ||
**etcd** is a distributed key-value store that provides a reliable way to store data across a cluster of machines. It’s open source and available [on GitHub](https://github.com/etcd-io/etcd). etcd gracefully handles leader elections during network partitions and will tolerate machine failure, including the leader. | ||
Your applications can read and write data into etcd. A simple use case is storing database connection details or feature flags in etcd as key-value pairs. These values can be watched, allowing your app to reconfigure itself when they change. Advanced uses take advantage of etcd's consistency guarantees to implement database leader elections or perform distributed locking across a cluster of workers. | ||
etcd is written in [Go](https://golang.org), which has excellent cross-platform support, small binaries and a great community behind it. Communication between etcd machines is handled via the Raft consensus algorithm. | ||
""" | ||
|
||
[params.logos] | ||
hero = "https://raw.githubusercontent.com/cncf/artwork/master/etcd/horizontal/white/etcd-horizontal-white.png" | ||
cncf = "https://raw.githubusercontent.com/cncf/artwork/master/cncf/horizontal/color/cncf-color.png" | ||
footer = "https://raw.githubusercontent.com/cncf/artwork/master/etcd/icon/color/etcd-icon-color.png" | ||
panel = "https://raw.githubusercontent.com/cncf/artwork/master/etcd/icon/color/etcd-icon-color.png" | ||
|
||
[[params.features]] | ||
title = "Simple interface" | ||
description = "Read and write values with curl and other HTTP libraries" | ||
|
||
[[params.features]] | ||
title = "Key-value storage" | ||
description = "Store data in directories, similar to a filesystem" | ||
|
||
[[params.features]] | ||
title = "Watch for changes" | ||
description = "Watch a key or directory for changes and react to the new values" | ||
|
||
[[params.fonts]] | ||
name = "Source Sans Pro" | ||
sizes = [300,400,600,700] | ||
|
||
[[params.fonts]] | ||
name = "Fira Mono" | ||
sizes = [300,400,600,700] |
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,114 @@ | ||
# Documentation | ||
|
||
etcd is a distributed key-value store designed to reliably and quickly preserve and provide access to critical data. It enables reliable distributed coordination through distributed locking, leader elections, and write barriers. An etcd cluster is intended for high availability and permanent data storage and retrieval. | ||
|
||
## Getting started | ||
|
||
New etcd users and developers should get started by [downloading and building][download_build] etcd. After getting etcd, follow this [quick demo][demo] to see the basics of creating and working with an etcd cluster. | ||
|
||
## Developing with etcd | ||
|
||
The easiest way to get started using etcd as a distributed key-value store is to [set up a local cluster][local_cluster]. | ||
|
||
- [Setting up local clusters][local_cluster] | ||
- [Interacting with etcd][interacting] | ||
- gRPC [etcd core][api_ref] and [etcd concurrency][api_concurrency_ref] API references | ||
- [HTTP JSON API through the gRPC gateway][api_grpc_gateway] | ||
- [gRPC naming and discovery][grpc_naming] | ||
- [Client][namespace_client] and [proxy][namespace_proxy] namespacing | ||
- [Embedding etcd][embed_etcd] | ||
- [Experimental features and APIs][experimental] | ||
- [System limits][system-limit] | ||
|
||
## Operating etcd clusters | ||
|
||
Administrators who need a fault-tolerant etcd cluster for either development or production should begin with a [cluster on multiple machines][clustering]. | ||
|
||
### Setting up etcd | ||
|
||
- [Configuration flags][conf] | ||
- [Multi-member cluster][clustering] | ||
- [gRPC proxy][grpc_proxy] | ||
- [L4 gateway][gateway] | ||
|
||
### System configuration | ||
|
||
- [Supported systems][supported_platforms] | ||
- [Hardware recommendations][hardware] | ||
- [Performance benchmarking][performance] | ||
- [Tuning][tuning] | ||
|
||
### Platform guides | ||
|
||
- [Amazon Web Services][aws_platform] | ||
- [Container Linux, systemd][container_linux_platform] | ||
- [FreeBSD][freebsd_platform] | ||
- [Docker container][container_docker] | ||
- [rkt container][container_rkt] | ||
|
||
### Security | ||
|
||
- [TLS][security] | ||
- [Role-based access control][authentication] | ||
|
||
### Maintenance and troubleshooting | ||
|
||
- [Frequently asked questions][faq] | ||
- [Monitoring][monitoring] | ||
- [Maintenance][maintenance] | ||
- [Failure modes][failures] | ||
- [Disaster recovery][recovery] | ||
- [Upgrading][upgrading] | ||
|
||
## Learning | ||
|
||
To learn more about the concepts and internals behind etcd, read the following pages: | ||
|
||
- [Why etcd?][why] | ||
- [Understand data model][data_model] | ||
- [Understand APIs][understand_apis] | ||
- [Glossary][glossary] | ||
- Internals | ||
- [Auth subsystem][auth_design] | ||
|
||
[api_ref]: dev-guide/api_reference_v3.md | ||
[api_concurrency_ref]: dev-guide/api_concurrency_reference_v3.md | ||
[api_grpc_gateway]: dev-guide/api_grpc_gateway.md | ||
[clustering]: op-guide/clustering.md | ||
[conf]: op-guide/configuration.md | ||
[system-limit]: dev-guide/limit.md | ||
[faq]: faq.md | ||
[why]: learning/why.md | ||
[data_model]: learning/data_model.md | ||
[demo]: demo.md | ||
[download_build]: dl_build.md | ||
[embed_etcd]: https://godoc.org/github.com/etcd-io/etcd/embed | ||
[grpc_naming]: dev-guide/grpc_naming.md | ||
[failures]: op-guide/failures.md | ||
[gateway]: op-guide/gateway.md | ||
[glossary]: learning/glossary.md | ||
[namespace_client]: https://godoc.org/github.com/etcd-io/etcd/clientv3/namespace | ||
[namespace_proxy]: op-guide/grpc_proxy.md#namespacing | ||
[grpc_proxy]: op-guide/grpc_proxy.md | ||
[hardware]: op-guide/hardware.md | ||
[interacting]: dev-guide/interacting_v3.md | ||
[local_cluster]: dev-guide/local_cluster.md | ||
[performance]: op-guide/performance.md | ||
[recovery]: op-guide/recovery.md | ||
[maintenance]: op-guide/maintenance.md | ||
[security]: op-guide/security.md | ||
[monitoring]: op-guide/monitoring.md | ||
[v2_migration]: op-guide/v2-migration.md | ||
[container_rkt]: op-guide/container.md#rkt | ||
[container_docker]: op-guide/container.md#docker | ||
[understand_apis]: learning/api.md | ||
[versioning]: op-guide/versioning.md | ||
[supported_platforms]: op-guide/supported-platform.md | ||
[container_linux_platform]: platforms/container-linux-systemd.md | ||
[freebsd_platform]: platforms/freebsd.md | ||
[aws_platform]: platforms/aws.md | ||
[experimental]: dev-guide/experimental_apis.md | ||
[authentication]: op-guide/authentication.md | ||
[auth_design]: learning/auth_design.md | ||
[tuning]: tuning.md | ||
[upgrading]: upgrades/upgrading-etcd.md |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,116 @@ | ||
--- | ||
title: The etcd documentation | ||
--- | ||
|
||
[**etcd**](/) is a distributed key-value store designed to reliably and quickly preserve and provide access to critical data. It enables reliable distributed coordination through distributed locking, leader elections, and write barriers. An etcd cluster is intended for high availability and permanent data storage and retrieval. | ||
|
||
## Getting started | ||
|
||
New etcd users and developers should get started by [downloading and building][download_build] etcd. After getting etcd, follow this [quick demo][demo] to see the basics of creating and working with an etcd cluster. | ||
|
||
## Developing with etcd | ||
|
||
The easiest way to get started using etcd as a distributed key-value store is to [set up a local cluster][local_cluster]. | ||
|
||
- [Setting up local clusters][local_cluster] | ||
- [Interacting with etcd][interacting] | ||
- gRPC [etcd core][api_ref] and [etcd concurrency][api_concurrency_ref] API references | ||
- [HTTP JSON API through the gRPC gateway][api_grpc_gateway] | ||
- [gRPC naming and discovery][grpc_naming] | ||
- [Client][namespace_client] and [proxy][namespace_proxy] namespacing | ||
- [Embedding etcd][embed_etcd] | ||
- [Experimental features and APIs][experimental] | ||
- [System limits][system-limit] | ||
|
||
## Operating etcd clusters | ||
|
||
Administrators who need a fault-tolerant etcd cluster for either development or production should begin with a [cluster on multiple machines][clustering]. | ||
|
||
### Setting up etcd | ||
|
||
- [Configuration flags][conf] | ||
- [Multi-member cluster][clustering] | ||
- [gRPC proxy][grpc_proxy] | ||
- [L4 gateway][gateway] | ||
|
||
### System configuration | ||
|
||
- [Supported systems][supported_platforms] | ||
- [Hardware recommendations][hardware] | ||
- [Performance benchmarking][performance] | ||
- [Tuning][tuning] | ||
|
||
### Platform guides | ||
|
||
- [Amazon Web Services][aws_platform] | ||
- [Container Linux, systemd][container_linux_platform] | ||
- [FreeBSD][freebsd_platform] | ||
- [Docker container][container_docker] | ||
- [rkt container][container_rkt] | ||
|
||
### Security | ||
|
||
- [TLS][security] | ||
- [Role-based access control][authentication] | ||
|
||
### Maintenance and troubleshooting | ||
|
||
- [Frequently asked questions][faq] | ||
- [Monitoring][monitoring] | ||
- [Maintenance][maintenance] | ||
- [Failure modes][failures] | ||
- [Disaster recovery][recovery] | ||
- [Upgrading][upgrading] | ||
|
||
## Learning | ||
|
||
To learn more about the concepts and internals behind etcd, read the following pages: | ||
|
||
- [Why etcd?][why] | ||
- [Understand data model][data_model] | ||
- [Understand APIs][understand_apis] | ||
- [Glossary][glossary] | ||
- Internals | ||
- [Auth subsystem][auth_design] | ||
|
||
[api_ref]: dev-guide/api_reference_v3.md | ||
[api_concurrency_ref]: dev-guide/api_concurrency_reference_v3.md | ||
[api_grpc_gateway]: dev-guide/api_grpc_gateway.md | ||
[clustering]: op-guide/clustering.md | ||
[conf]: op-guide/configuration.md | ||
[system-limit]: dev-guide/limit.md | ||
[faq]: faq.md | ||
[why]: learning/why.md | ||
[data_model]: learning/data_model.md | ||
[demo]: demo.md | ||
[download_build]: dl_build.md | ||
[embed_etcd]: https://godoc.org/github.com/etcd-io/etcd/embed | ||
[grpc_naming]: dev-guide/grpc_naming.md | ||
[failures]: op-guide/failures.md | ||
[gateway]: op-guide/gateway.md | ||
[glossary]: learning/glossary.md | ||
[namespace_client]: https://godoc.org/github.com/etcd-io/etcd/clientv3/namespace | ||
[namespace_proxy]: op-guide/grpc_proxy.md#namespacing | ||
[grpc_proxy]: op-guide/grpc_proxy.md | ||
[hardware]: op-guide/hardware.md | ||
[interacting]: dev-guide/interacting_v3.md | ||
[local_cluster]: dev-guide/local_cluster.md | ||
[performance]: op-guide/performance.md | ||
[recovery]: op-guide/recovery.md | ||
[maintenance]: op-guide/maintenance.md | ||
[security]: op-guide/security.md | ||
[monitoring]: op-guide/monitoring.md | ||
[v2_migration]: op-guide/v2-migration.md | ||
[container_rkt]: op-guide/container.md#rkt | ||
[container_docker]: op-guide/container.md#docker | ||
[understand_apis]: learning/api.md | ||
[versioning]: op-guide/versioning.md | ||
[supported_platforms]: op-guide/supported-platform.md | ||
[container_linux_platform]: platforms/container-linux-systemd.md | ||
[freebsd_platform]: platforms/freebsd.md | ||
[aws_platform]: platforms/aws.md | ||
[experimental]: dev-guide/experimental_apis.md | ||
[authentication]: op-guide/authentication.md | ||
[auth_design]: learning/auth_design.md | ||
[tuning]: tuning.md | ||
[upgrading]: upgrades/upgrading-etcd.md |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
# Benchmarks | ||
|
||
etcd benchmarks will be published regularly and tracked for each release below: | ||
|
||
- [etcd v2.1.0-alpha][2.1] | ||
- [etcd v2.2.0-rc][2.2] | ||
- [etcd v3 demo][3.0] | ||
|
||
# Memory Usage Benchmarks | ||
|
||
It records expected memory usage in different scenarios. | ||
|
||
- [etcd v2.2.0-rc][2.2-mem] | ||
|
||
[2.1]: etcd-2-1-0-alpha-benchmarks.md | ||
[2.2]: etcd-2-2-0-rc-benchmarks.md | ||
[2.2-mem]: etcd-2-2-0-rc-memory-benchmarks.md | ||
[3.0]: etcd-3-demo-benchmarks.md |
Oops, something went wrong.