Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM from the Hindi localisation team.

Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ <h3>ऐप देखें</h3>
<p>अब हमारे होस्ट (टर्मिनल) और कुबेरनेट्स क्लस्टर के बीच एक कनेक्शन है। प्रॉक्सी इन टर्मिनलों से एपीआई तक सीधी पहुंच सक्षम बनाता है।</p>
<p>आप प्रॉक्सी एंडपॉइंट के माध्यम से होस्ट किए गए सभी एपीआई देख सकते हैं। उदाहरण के लिए, हम <code>curl</code> कमांड का उपयोग करके सीधे API के माध्यम से संस्करण को क्वेरी कर सकते हैं:</p>
<p><b><code>curl http://localhost:8001/version</code></b></p>
<div class="alert alert-info note callout" role="alert"><strong>नोट:</strong> यदि पोर्ट 8001 पहुंच योग्य नहीं है, तो सुनिश्चित करें कि <code>kubectl proxy</code> जिसे आपने ऊपर शुरू किया है दूसरे टर्मिनल में चल रहा है.</div>
<div class="alert alert-info note callout" role="note"><strong>नोट:</strong> यदि पोर्ट 8001 पहुंच योग्य नहीं है, तो सुनिश्चित करें कि <code>kubectl proxy</code> जिसे आपने ऊपर शुरू किया है दूसरे टर्मिनल में चल रहा है.</div>
<p>एपीआई सर्वर स्वचालित रूप से पॉड नाम के आधार पर प्रत्येक पॉड के लिए एक एंडपॉइंट बनाएगा, जिसे प्रॉक्सी के माध्यम से भी एक्सेस किया जा सकता है।</p>
<p>सबसे पहले हमें पॉड नाम प्राप्त करने की आवश्यकता है, और हम पर्यावरण चर <tt>POD_NAME</tt> में संग्रहित करेंगे:</p>
<p><b><code>export POD_NAME=$(kubectl get pods -o go-template --template '{{range .items}}{{.metadata.name}}{{"\n"}}{ {end}}')</code></b><br />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -257,7 +257,7 @@ <h3>Visualize o aplicativo</h3>
<p>
<b><code>curl http://localhost:8001/version</code></b>
</p>
<div class="alert alert-info note callout" role="alert">
<div class="alert alert-info note callout" role="note">
<strong>Nota:</strong> se a porta 8001 não estiver acessível, certifique-se
de que o comando <code>kubectl proxy</code> que você iniciou acima está
rodando no segundo terminal.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ <h3>Просмотр приложения</h3>
<p>Теперь у нас есть соединение между хостом (терминалом) и Kubernetes-кластером. Прокси обеспечивает прямой доступ к API из терминала.</p>
<p>Через эндпоинт от прокси можно увидеть все API. Например, с помощью <code>curl</code> мы можем напрямую через API узнать версию:</p>
<p><b><code>curl http://localhost:8001/version</code></b></p>
<div class="alert alert-info note callout" role="alert"><strong>Примечание:</strong> если порт 8001 недоступен, убедитесь, что выполенная вами ранее команда <code>kubectl proxy</code> была запущена во втором терминале.</div>
<div class="alert alert-info note callout" role="note"><strong>Примечание:</strong> если порт 8001 недоступен, убедитесь, что выполенная вами ранее команда <code>kubectl proxy</code> была запущена во втором терминале.</div>
<p>Сервер API автоматически создаст эндпоинт для каждого пода в соответствии с именем пода, который будет также доступен через прокси.</p>
<p>Для начала узнаем имя пода и сохраним его в переменной окружения <tt>POD_NAME</tt>:</p>
<p><b><code>export POD_NAME=$(kubectl get pods -o go-template --template '{{range .items}}{{.metadata.name}}{{"\n"}}{{end}}')</code></b><br />
Expand Down
2 changes: 1 addition & 1 deletion layouts/shortcodes/caution.html
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<!-- adapted from Docsy alert shortcode -->
{{- $_hugo_config := `{ "version": 1 }` -}}
{{- $color := "caution" -}}
<div class="alert alert-{{- $color -}}" role="alert">
<div class="alert alert-{{- $color -}}" role="note">
{{- with ( T "caution" ) -}}<h4 class="alert-heading">{{- . | safeHTML -}}</h4>{{- end -}}
{{- if eq .Page.File.Ext "md" -}}
{{- .Inner | markdownify -}}
Expand Down
2 changes: 1 addition & 1 deletion layouts/shortcodes/dockershim-removal.html
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
<div class="alert alert-secondary callout note" role="alert">
<div class="alert alert-secondary callout note" role="note">
<strong>{{ T "note" | safeHTML }}</strong> {{ T "dockershim_message" | safeHTML }}
</div>
2 changes: 1 addition & 1 deletion layouts/shortcodes/legacy-repos-deprecation.html
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
<div class="alert alert-secondary callout note" role="alert">
<div class="alert alert-secondary callout note" role="note">
<strong>{{ T "note" | safeHTML }}</strong> {{ T "legacy_repos_message" | markdownify }}
</div>
2 changes: 1 addition & 1 deletion layouts/shortcodes/mermaid.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
</figure>
<!-- Hide content and error if JS is disabled. -->
<noscript>
<div class="alert alert-secondary callout" role="alert">
<div class="alert alert-secondary callout" role="note">
<em class="javascript-required">{{ T "javascript_required" | markdownify }}</em>
</div>
</noscript>
2 changes: 1 addition & 1 deletion layouts/shortcodes/note.html
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<!-- adapted from Docsy alert shortcode -->
{{- $_hugo_config := `{ "version": 1 }` -}}
{{ $color := "info" }}
<div class="alert alert-{{- $color -}}" role="alert">
<div class="alert alert-{{- $color -}}" role="note">
{{- with ( T "note" ) -}}<h4 class="alert-heading">{{- . | safeHTML -}}</h4>{{- end -}}
{{- if eq .Page.File.Ext "md" -}}
{{- .Inner | markdownify -}}
Expand Down
2 changes: 1 addition & 1 deletion layouts/shortcodes/release-binaries.html
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@
{{ $releaseBinarySection = replace $releaseBinarySection "<current-version>" $currentVersion }}
{{ $releaseBinarySection | markdownify }}
</p>
<div class="alert alert-info note callout" role="alert">
<div class="alert alert-info note callout" role="note">
<strong>{{ T "note" }}</strong>
{{ $releaseBinarySectionNote := T "release_binary_section_note" }}
{{ $releaseBinarySectionNote = replace $releaseBinarySectionNote "<current-changelog-url>" (replace $currentVersion "v" "") }}
Expand Down
2 changes: 1 addition & 1 deletion layouts/shortcodes/thirdparty-content.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{{- $single := .Get "single" | default "false" -}}
{{- $vendor_message := .Get "vendor" | default "false" -}}
<div class="alert alert-secondary callout third-party-content" role="alert">
<div class="alert alert-secondary callout third-party-content" role="note">
{{- if not (eq $single "true" ) -}}
<strong>{{ T "note" | safeHTML }}</strong>&puncsp;
{{- if (eq $vendor_message "true" ) -}}
Expand Down
2 changes: 1 addition & 1 deletion layouts/shortcodes/warning.html
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<!-- adapted from Docsy alert shortcode -->
{{- $_hugo_config := `{ "version": 1 }` -}}
{{- $color := "danger" -}}
<div class="alert alert-{{- $color -}}" role="alert">
<div class="alert alert-{{- $color -}}" role="note">
{{- with ( T "warning" ) -}}<h4 class="alert-heading">{{- . | safeHTML -}}</h4>{{- end -}}
{{- if eq .Page.File.Ext "md" -}}
{{- .Inner | markdownify -}}
Expand Down