add vi pages

This commit is contained in:
Karen Bradshaw
2020-06-01 09:20:09 -04:00
parent 8d8d0d59df
commit 21fd0a12f9
8 changed files with 62 additions and 55 deletions
@@ -2,18 +2,18 @@
reviewers:
- huynguyennovem
title: Các biến môi trường của Container
content_template: templates/concept
content_type: concept
weight: 20
---
{{% capture overview %}}
<!-- overview -->
Trang này mô tả các tài nguyên có sẵn cho các Containers trong môi trường Container.
{{% /capture %}}
{{% capture body %}}
<!-- body -->
## Môi trường container
@@ -52,12 +52,13 @@ FOO_SERVICE_PORT=<port mà service đang chạy>
Các services có địa chỉ IP và có sẵn cho Container thông qua DNS
nếu [DNS addon](http://releases.k8s.io/{{< param "githubbranch" >}}/cluster/addons/dns/) được enable. 
{{% /capture %}}
{{% capture whatsnext %}}
## {{% heading "whatsnext" %}}
* Tìm hiểu thêm về [Container lifecycle hooks](/docs/concepts/containers/container-lifecycle-hooks/).
* Trải nhiệm thực tế
[attaching handlers to Container lifecycle events](/docs/tasks/configure-pod-container/attach-handler-lifecycle-event/).
{{% /capture %}}
@@ -2,19 +2,19 @@
reviewers:
- huynguyennovem
title: Container Lifecycle Hooks
content_template: templates/concept
content_type: concept
weight: 30
---
{{% capture overview %}}
<!-- overview -->
Trang này mô tả cách mà kubelet quản lý các Container có thể sử dụng framework Container lifecycle hook để
chạy mã nguồn được kích hoạt bởi các sự kiện trong lifecycle của nó.
{{% /capture %}}
{{% capture body %}}
<!-- body -->
## Tổng quan
@@ -111,13 +111,14 @@ Events:
1m 22s 2 {kubelet gke-test-cluster-default-pool-a07e5d30-siqd} spec.containers{main} Warning FailedPostStartHook
```
{{% /capture %}}
{{% capture whatsnext %}}
## {{% heading "whatsnext" %}}
* Xem thêm về [Container environment](/docs/concepts/containers/container-environment-variables/).
* Kinh nghiệm thực hành
[gắn các trình xử lý vào các sự kiện trong lifecycle của Container](/docs/tasks/configure-pod-container/attach-handler-lifecycle-event/).
{{% /capture %}}