Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ZH-trans: add job.md #15781

Merged
merged 3 commits into from Aug 11, 2019

Conversation

@xichengliudui
Copy link
Contributor

commented Aug 10, 2019

xichengliudui added some commits Aug 10, 2019

@markthink
Copy link
Member

left a comment

/lgtm
/approve

@k8s-ci-robot

This comment has been minimized.

Copy link

commented Aug 11, 2019

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: markthink

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@k8s-ci-robot k8s-ci-robot merged commit 0fe7e02 into kubernetes:release-1.14 Aug 11, 2019

5 of 7 checks passed

tide Not mergeable.
Details
Pages changed 2394 new files uploaded
Details
Header rules 1 header rule processed
Details
Mixed content No mixed content detected
Details
Redirect rules 1 redirect rule processed
Details
cla/linuxfoundation xichengliudui authorized
Details
deploy/netlify Deploy preview ready!
Details
-->
本指南解释了如何在联邦控制平面中使用 job。

联邦控制平面中的 Job(在本指南中称为“联邦 job”)类似于传统的 [Kubernetes job](/docs/concepts/workloads/controllers/job/),并且提供相同的功能。

This comment has been minimized.

Copy link
@chenrui333

chenrui333 Aug 11, 2019

Member

job -> 一次性任务
CronJob -> 定时任务

job; however, for a federated job, you must send the request to
the federation API server instead of sending it to a specific Kubernetes cluster.
-->
可以删除联邦 job,就像删除 Kubernetes job 一样;但是,对于联邦 job,必须将请求发送到联邦 API server,不是发送到指定的 Kubernetes 集群。

This comment has been minimized.

Copy link
@chenrui333

chenrui333 Aug 11, 2019

Member

API server -> API 服务器

updated, it updates the corresponding job in all underlying clusters to
match it.
-->
可以像更新 Kubernetes job 一样更新联邦 job;但是,对于联邦 job,必须将请求发送到联邦 API server,不是发送到指定的 Kubernetes 集群。

This comment has been minimized.

Copy link
@chenrui333

chenrui333 Aug 11, 2019

Member

API server -> API 服务器

request to the federation API server instead of sending it to a Kubernetes
cluster.
-->
`--context=federation-cluster` 参数告诉 kubectl 将请求提交到联邦 API server,而不是发送到 Kubernetes 集群。

This comment has been minimized.

Copy link
@chenrui333

chenrui333 Aug 11, 2019

Member

API server -> API 服务器

You can do that using [kubectl](/docs/user-guide/kubectl/) by running:
-->

用于联邦 job 的 API 与用于传统 Kubernetes job 的 API 完全兼容。您可以通过向联邦 apiserver 发送请求来创建 job。

This comment has been minimized.

Copy link
@chenrui333

chenrui333 Aug 11, 2019

Member

API server -> API 服务器

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
4 participants
You can’t perform that action at this time.