-
Notifications
You must be signed in to change notification settings - Fork 14.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
6 changed files
with
231 additions
and
2 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
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,23 @@ | ||
--- | ||
reviewers: | ||
- raelga | ||
title: Documentação | ||
weight: 10 | ||
content_template: templates/concept | ||
--- | ||
|
||
{{% capture overview %}} | ||
|
||
**Bem-vindo à documentação do Kubernetes em Português** | ||
|
||
Como você pode ver, a maior parte da documentação ainda está disponível apenas em inglês, mas não se preocupe, há uma equipe trabalhando na tradução para o português. | ||
|
||
{{% /capture %}} | ||
|
||
{{% capture body %}} | ||
|
||
Se você quiser participar, você pode entrar no canal Slack [#kubernets-docs-pt](http://slack.kubernetes.io/) e fazer parte da equipe por trás da tradução. | ||
|
||
Você também pode acessar o canal para solicitar a tradução de uma página específica ou relatar qualquer erro que possa ter sido encontrado. Qualquer contribuição será bem recebida! | ||
|
||
Para mais informações sobre como contribuir, dê uma olhada [github.com/kubernetes/website](https://github.com/kubernetes/website/). |
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,4 @@ | ||
--- | ||
layout: search | ||
title: Resultados da pesquisa | ||
--- |
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,58 @@ | ||
--- | ||
approvers: | ||
- chenopis | ||
title: Kubernetes | ||
noedit: true | ||
cid: docsHome | ||
layout: docsportal_home | ||
class: gridPage | ||
linkTitle: "Home" | ||
main_menu: true | ||
weight: 10 | ||
hide_feedback: true | ||
menu: | ||
main: | ||
title: "Documentação" | ||
weight: 20 | ||
post: > | ||
<p>Aprenda a usar o Kubernetes com documentação conceitual, tutorial e de referência. Você também pode <a href="/editdocs/" data-auto-burger-exclude>ajudar a contribuir para a documentação</a>!</p> | ||
overview: > | ||
O Kubernetes é uma engine de orquestração de contêineres Open Source utilizado para automatizar a implantação, dimensionamento e gerenciamento de aplicativos em contêiner. O projeto é hospedado por the Cloud Native Computing Foundation (<a href="https://www.cncf.io/about">CNCF</a>). | ||
cards: | ||
- name: concepts | ||
title: "Entenda o básico" | ||
description: "Aprenda sobre o Kubernetes e seus conceitos fundamentais." | ||
button: "Aprenda Conceitos" | ||
button_path: "/docs/concepts" | ||
- name: tutorials | ||
title: "Experimente o Kubernetes" | ||
description: "Siga os tutoriais para aprender a implantar aplicativos no Kubernetes." | ||
button: "Veja os Tutoriais" | ||
button_path: "/docs/tutorials" | ||
- name: setup | ||
title: "Configurar um cluster" | ||
description: "Obtenha um Kubernetes em execução com base em seus recursos e necessidades." | ||
button: "Configurando um Kubernetes" | ||
button_path: "/docs/setup" | ||
- name: tasks | ||
title: "Aprenda a usar o Kubernetes" | ||
description: "Procure tarefas comuns e como realizá-las usando uma pequena seqüência de etapas." | ||
button: "Visualizar tarefas" | ||
button_path: "/docs/tasks" | ||
- name: reference | ||
title: Procurar informações de referência | ||
description: Navegue pela terminologia, pela sintaxe da linha de comando, pelos tipos de recursos da API e pela documentação da ferramenta de configuração. | ||
button: Visualizar referência | ||
button_path: /docs/reference | ||
- name: contribute | ||
title: Contribua para a documentação | ||
description: Qualquer um pode contribuir, quer você seja novo no projeto ou esteja há um bom tempo. | ||
button: Contribua para a Documentação | ||
button_path: /docs/contribute | ||
- name: download | ||
title: Download Kubernetes | ||
description: Se você estiver instalando o Kubernetes ou atualizando para a versão mais recente, consulte as notas de versão atuais. | ||
- name: about | ||
title: Sobre a documentação | ||
description: Este site contém documentação para a versão atual e as 4 versões anteriores do Kubernetes. | ||
--- |
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,30 @@ | ||
--- | ||
title: Versões Suportadas da Documentação do Kubernetes | ||
content_template: templates/concept | ||
card: | ||
name: about | ||
weight: 10 | ||
title: Versões Suportadas da Documentação | ||
--- | ||
|
||
{{% capture overview %}} | ||
|
||
Este site contém documentação para a versão atual do Kubernetes | ||
e as quatro versões anteriores do Kubernetes. | ||
|
||
{{% /capture %}} | ||
|
||
{{% capture body %}} | ||
|
||
## Versão Atual | ||
|
||
A versão atual é | ||
[{{< param "version" >}}](/). | ||
|
||
## Versões anteriores | ||
|
||
{{< versions-other >}} | ||
|
||
{{% /capture %}} | ||
|
||
|
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 @@ | ||
--- | ||
--- | ||
<script language="JavaScript"> | ||
var dropDownsPopulated = false; | ||
$( document ).ready(function() { | ||
// When the document loads, get the metadata JSON, and kick off tbl render | ||
$.get("/metadata.txt", function(data, status) { | ||
metadata = $.parseJSON(data); | ||
metadata.pages.sort(dynamicSort("t")); | ||
mainLogic() | ||
$(window).bind( 'hashchange', function(e) { | ||
mainLogic(); | ||
}); | ||
}); | ||
}); | ||
function mainLogic() | ||
{ | ||
// If there's a tag filter, change the table/drop down output | ||
if (!dropDownsPopulated) populateDropdowns(); | ||
var tag=window.location.hash.replace("#",""); | ||
if(tag) { | ||
tag = $.trim(tag); | ||
for (i=0;i<tagName.length;i++) { | ||
querystringTag = tagName[i] + "="; | ||
if (tag.indexOf(querystringTag) > -1) | ||
{ | ||
console.log("in mainLog: querystringTag of " + querystringTag + " matches tag of " + tag); | ||
tag = tag.replace(querystringTag,""); | ||
selectDropDown(tagName[i],tag); | ||
topicsFilter(tagName[i],tag,"output"); | ||
} | ||
} | ||
} else { | ||
currentTopics = metadata.pages; | ||
} | ||
renderTable(currentTopics,"output"); | ||
|
||
} | ||
function populateDropdowns() | ||
{ | ||
// Keeping mainLogic() brief by functionalizing the initialization of the | ||
// drop-down filter boxes | ||
|
||
for(i=0;i<metadata.pages.length;i++) | ||
{ | ||
var metadataArrays = [metadata.pages[i].cr,metadata.pages[i].or,metadata.pages[i].mr]; | ||
for(j=0;j<metadataArrays.length;j++) | ||
{ | ||
if (metadataArrays[j]) { | ||
for (k=0;k<metadataArrays[j].length;k++) { | ||
if (typeof storedTagsArrays[j] == 'undefined') storedTagsArrays[j] = new Array(); | ||
storedTagsArrays[j][metadataArrays[j][k][tagName[j]]] = true; | ||
// ^ conceptList[metadata.pages[i].cr[k].concept] = true; (if rolling through concepts) | ||
// ^ conceptList['container'] = true; (ultimate result) | ||
// ^ objectList[metadata.pages[i].or[k].object] = true; (if rolling through objects) | ||
// ^ objectList['restartPolicy'] = true; (ultimate result) | ||
} | ||
} | ||
} | ||
} | ||
var output = new Array(); | ||
for(i=0;i<tagName.length;i++) | ||
{ | ||
// Phew! All tags in conceptList, objectList, and commandList! | ||
// Loop through them and populate those drop-downs through html() injection | ||
output = []; | ||
output.push("<select id='" + tagName[i] + "' onchange='dropFilter(this)'>"); | ||
output.push("<option>---</option>"); | ||
Object.keys(storedTagsArrays[i]).sort().forEach(function (key) { | ||
output.push("<option>" + key + "</option>"); | ||
}); | ||
output.push("</select>") | ||
$(dropDowns[i]).html(output.join("")); | ||
} | ||
dropDownsPopulated = true; | ||
} | ||
function dropFilter(srcobj) | ||
{ | ||
// process the change of a drop-down value | ||
// the ID of the drop down is either command, object, or concept | ||
// these exact values are what topicsFilter() expects, plus a filter val | ||
// which we get from .text() of :selected | ||
console.log("dropFilter:" + $(srcobj).attr('id') + ":" + $(srcobj).find(":selected").text()); | ||
topicsFilter($(srcobj).attr('id').replace("#",""),$(srcobj).find(":selected").text(),"output"); | ||
for(i=0;i<tagName.length;i++) | ||
{ | ||
if($(srcobj).attr('id')!=tagName[i]) selectDropDown(tagName[i],"---"); | ||
} | ||
} | ||
function selectDropDown(type,tag) | ||
{ | ||
// change drop-down selection w/o filtering | ||
$("#" + type).val(tag); | ||
} | ||
</script> | ||
<style> | ||
#filters select{ | ||
font-size: 14px; | ||
border: 1px #000 solid; | ||
} | ||
#filters { | ||
padding-top: 20px; | ||
} | ||
</style> | ||
|
||
Clique nas tags ou use as listas suspensas para filtrar. Clique nos cabeçalhos das tabelas para classificar ou inverter a classificação. | ||
|
||
<p id="filters"> | ||
Filtrar por Conceito: <span id="conceptFilter" /><br/> | ||
Filtrar por objeto: <span id="objectFilter" /><br/> | ||
Filtrar por Comando: <span id="commandFilter" /> | ||
</p> | ||
|
||
<div id="output" /> |